summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/log.c
AgeCommit message (Collapse)Author
2004-03-19Add missing bits to make already present privsep code work. Enable privsep.Hans-Joerg Hoexer
ok ho@ deraadt@ markus@
2004-02-25Add and document configuration options Logverbose and Loglevel. As log.c nowHans-Joerg Hoexer
depends on conf.c and some regression tests use log.c, add conf.c to Makefiles where necessary. ok ho@
2004-02-19With -d, SIGINT should do a clean shutdown.Hakan Olsson
Without -d, logs should be sent to syslog, level LOG_INFO.
2004-01-16Added -v option. Enables logging of successful exchange completion.Hans-Joerg Hoexer
ok ho@
2003-12-14Log the actual port for src and dst, don't assume it's always 500.Hakan Olsson
2003-11-06Style nits.Hakan Olsson
2003-06-10boring cleanupsTheo de Raadt
2003-06-03Remove clauses 3 and 4. With approval from Niklas Hallqvist andHakan Olsson
Niels Provos.
2003-06-03Cleanup. Use 'sizeof variable' instead of magic constants.Hakan Olsson
2003-05-18More isakmpd privsep work. X509 private keys are now kept in the privilegedHakan Olsson
process only. Various cleanup and bugfixes. markus@ ok
2003-05-15Start of privilege separation for isakmpd.Hakan Olsson
There are some kinks left, so keep it default disabled for now. markus@ says ok to commit.
2002-08-08Append to the packet log file, don't overwrite. Requested by pb@.Hakan Olsson
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-10Use DLT_LOOP instead of DLT_NULL for pcap, to keep track of changes inHakan Olsson
tcpdump(8). This repairs the '-L' (cleartext packet capture) option.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-01-23the last few sprintf -> snprintfHakan Olsson
2002-01-03str[n]{cpy,cat} -> strl{cpy,cat}, sprintf -> snprintfHakan Olsson
2001-10-05Extend the FIFO ui with the 'D A <level>' (to set all debug levels) andHakan Olsson
'D T' (to toggle all logging on and off) commands. niklas@ ok.
2001-10-02change timeval to bpf_timeval; 32 bit in size, permitting much greater ↵Theo de Raadt
portability
2001-08-18careful with snprintf() == -1; ho, provosTheo de Raadt
2001-07-10(c)-2001Hakan Olsson
2001-07-10Rewrite packet capture to handle IPv6 addresses.Hakan Olsson
2001-07-10htonl() for null.null_family, ok niels@, ho@Markus Friedl
2001-04-15Style.Hakan Olsson
2001-04-09isakmpd can now capture un-encrypted IKE negotiation packets to aHakan Olsson
file. In pcap(3) format, so tcpdump(8) can read it. Idea by Tim Newsham <newsham@lava.net>, work by him and me. Ok angelos@, niklas@
2001-01-27(c) 2001Niklas Hallqvist
2001-01-26Pedantic style policeNiklas Hallqvist
2000-12-12pids are useful in syslog; ok angelos@Todd T. Fries
2000-10-07Merge with EOM 1.30Niklas Hallqvist
author: niklas no need for sysdep.h in here. This promotes reuse of the log module in other environments author: ho (c)-2000
2000-08-03Merge with EOM 1.28Niklas Hallqvist
author: niklas From OpenBSD: be paranoid about the syslog format parameter
2000-06-29use %s when calling syslogTheo de Raadt
2000-04-07Merge with EOM 1.27Niklas Hallqvist
author: ho Add log_init() to properly initialize log_output variable.
2000-02-25regress/crypto/Makefile: Merge with EOM 1.5Niklas Hallqvist
regress/dh/Makefile: Merge with EOM 1.7 regress/group/Makefile: Merge with EOM 1.9 regress/prf/Makefile: Merge with EOM 1.4 regress/rsakeygen/Makefile: Merge with EOM 1.8 regress/x509/Makefile: Merge with EOM 1.10 Makefile: Merge with EOM 1.62 attribute.c: Merge with EOM 1.10 sa.c: Merge with EOM 1.99 conf.c: Merge with EOM 1.20 crypto.c: Merge with EOM 1.28 isakmpd.c: Merge with EOM 1.45 connection.c: Merge with EOM 1.19 doi.h: Merge with EOM 1.28 field.c: Merge with EOM 1.11 exchange.c: Merge with EOM 1.116 ike_auth.c: Merge with EOM 1.44 pf_key_v2.c: Merge with EOM 1.37 ike_phase_1.c: Merge with EOM 1.22 ipsec.c: Merge with EOM 1.118 isakmp_doi.c: Merge with EOM 1.40 log.c: Merge with EOM 1.26 log.h: Merge with EOM 1.18 math_group.c: Merge with EOM 1.23 message.c: Merge with EOM 1.144 pf_encap.c: Merge with EOM 1.70 policy.c: Merge with EOM 1.18 timer.c: Merge with EOM 1.13 transport.c: Merge with EOM 1.41 udp.c: Merge with EOM 1.47 ui.c: Merge with EOM 1.37 x509.c: Merge with EOM 1.36 author: niklas Made debug logging a compile time selectable feature
1999-08-26Merge with EOM 1.25Niklas Hallqvist
author: niklas Ouch ho, that was ugly, make code portable
1999-07-07Merge with EOM 1.24Niklas Hallqvist
author: ho Release lock(s) on logfile when write fails.
1999-04-19./log.c: Merge with EOM 1.23Niklas Hallqvist
Style Make an attempt to handle failures in logging; disk full, etc. We fallback to syslog(), which in turn has a fallback to /dev/console. Move LOG_SIZE to log.h Add LOG_REPORT to always go to logchannel regardless of level; misc small fixes I did not need to do this but... style nits Add class and level to debug messages log time on -d mode 1999 copyrights
1999-02-26Merge from the Ericsson repositoryNiklas Hallqvist
| revision 1.15 | date: 1999/02/25 11:39:10; author: niklas; state: Exp; lines: +3 -1 | include sysdep.h everywhere | ----------------------------
1998-12-21Last months worth of work on isakmpd, lots doneNiklas Hallqvist
1998-11-17Add RCS Ids from the EOM repositoryNiklas Hallqvist
1998-11-15openBSD RCS IDsNiklas Hallqvist
1998-11-15Initial import of isakmpd, an IKE (ISAKMP/Oakley) implementation for theNiklas Hallqvist
OpenBSD IPSEC stack by me, Niklas Hallqvist and Niels Provos, funded by Ericsson Radio Systems. It is not yet complete or usable in a real scenario but the missing pieces will soon be there. The early commit is for people who wants early access and who are not afraid of looking at source. isakmpd interops with Cisco, Timestep, SSH & Pluto (Linux FreeS/WAN) so far, so it is not that incomplete. It is really mostly configuration that is lacking.