summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/log.c
AgeCommit message (Collapse)Author
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which leads to surprising results. Spotted by/partly from Paul Stoeber, more to come. ok ho@ miod@ hshoexer@
2005-05-26add log_errorx() which doesn't print the errno value. ok hshoexer@Moritz Jodeit
2005-05-03provide log_fatalx() function, that does not print an error string (like errHans-Joerg Hoexer
vs. errx). Not used yet. ok moritz@
2005-04-08USE_DEBUG is bye byeTheo de Raadt
2005-04-08nat-traversal alwaysTheo de Raadt
2005-04-08privsep alwaysTheo de Raadt
2005-04-08kill HAVE_PCAPTheo de Raadt
2005-04-04spacing; ok cloderTheo de Raadt
2005-02-27where possible, use bzero instead of memsetHans-Joerg Hoexer
ok cloder henning
2004-11-08make lint happy and honor const.Hans-Joerg Hoexer
ok ho@
2004-08-08spacingTheo de Raadt
2004-06-25Narrow down privsep interface. Remove ui_init to monitor. So we can get rid ofHans-Joerg Hoexer
monitor_mkfifo. Work in progress. ok ho@
2004-06-21Don't write too much IKE data in packet captureHakan Olsson
2004-06-21Packet capture should add the ESP-marker when NAT-T is active.Hakan Olsson
2004-06-14KNF, style, 80c, etc. hshoexer@ okHakan Olsson
2004-05-23More KNF. Mainly spaces and line-wraps, no binary change.Hans-Joerg Hoexer
ok ho@
2004-04-15partial move to KNF. More to come. This has happened because thereTheo de Raadt
are a raft of source code auditors who are willing to help improve this code only if this is done, and hey, isakmpd does need our standard auditing process. ok ho hshoexer
2004-04-07-Wsign-compare nits. hshoexer@ ok.Hakan Olsson
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.