summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/monitor.c
AgeCommit message (Collapse)Author
2006-01-02clean up error paths using "goto", part 1. From Andrey Matveev <evol atHans-Joerg Hoexer
online dot ptt dot ru>. Thanks!
2005-12-20let isakmpd(8) remove it's pid/fifo file on exit.Moritz Jodeit
rework signal handling in the monitor process to let this work. testing and ok hshoexer@
2005-11-26get rid of some leftovers from a cleanup during c2k5. From Andrey MatveevHans-Joerg Hoexer
<evol at online dot ptt dot ru>, thanks!
2005-06-13Allow isakmpd to write a pid file when /var is a subdir (e.g. /usr/var)Todd C. Miller
and not a mount point.
2005-05-28Remove current state code, it's bogus. We'll redo this.Hans-Joerg Hoexer
suggested by and ok moritz
2005-05-28do sanity checking on directoy entries. ok hshoexer@Moritz Jodeit
2005-05-28introduce new readdir implementation for the monitor.Moritz Jodeit
testing and ok hshoexer@
2005-05-28make path checking in the monitor a lot easier. ok hshoexer@Moritz Jodeit
2005-05-27Make monitor.c use unsigned lengths in messages. Makes this compileChad Loder
with -Wsign-compare. OK and a little testing by hshoexer, OK moritz Now it's anil's turn to do some of this somewhere else
2005-05-27Additional paranoia. OK hshoexerChad Loder
2005-05-27o only pass signals from monitor to slave when pid is validMoritz Jodeit
o remove some unused monitor command with and ok hshoexer
2005-05-27move m_state.s directly into must_{read,write} instead of passingMoritz Jodeit
it every time as an argument. ok cloder@ hshoexer@
2005-05-27guarantee nul-termination in the monitor, we must. ok cloder@ hshoexer@Moritz Jodeit
2005-05-26simplify read/write between child and monitorHans-Joerg Hoexer
help and ok cloder moritz
2005-05-24kill unneeded exit(). log_fatal() already does it. ok hshoexer@Moritz Jodeit
2005-05-24typoMoritz Jodeit
2005-05-23endpwent() not needed here, pointed out by theo.Hakan Olsson
2005-05-23endpwent() after last use. hshoexer@ okHakan Olsson
2005-05-10no need to use select()Hans-Joerg Hoexer
ok moritz cloder
2005-05-05remove a LOG_DBG, suggested by moritzHans-Joerg Hoexer
2005-05-05more cleanup: use log_fatalx(), nicer handling of the socketpair, useHans-Joerg Hoexer
setre[sg]id. ok moritz djm
2005-05-03Remove SIGUSR2-related stuff as suggested by ho@.Moritz Jodeit
SA rehashing won't happen anytime soon. ok hshoexer@
2005-05-03fix signal race, when child dies before the monitorMoritz Jodeit
sets it's signal handlers. ok hshoexer@ ho@
2005-04-19missing endpwent(), change more carefully to _isakmpd privsep userHans-Joerg Hoexer
ok moritz@
2005-04-08get rid of sysdep_sa_lenHans-Joerg Hoexer
ok cloder@
2005-04-08keynote and policy always compiled inTheo de Raadt
2005-04-04spacing; ok cloderTheo de Raadt
2005-03-11simplify monitor main loopHans-Joerg Hoexer
ok ho@
2005-03-03fix typo in log msg.Moritz Jodeit
ok hshoexer@
2005-02-27where possible, use bzero instead of memsetHans-Joerg Hoexer
ok cloder henning
2004-11-08rename char array realpath to pathreal to avoid naming conflict withHans-Joerg Hoexer
realpath(3); makes lint a bit happier ok ho@
2004-11-08more monitor cleanup:Hans-Joerg Hoexer
remove dead code, some debug messages, prototype monitor_close() to void. ok ho@
2004-11-08no const for sysdep_sa_len (not yet), slipped in during previous commit...Hans-Joerg Hoexer
2004-11-08monitor cleanup: honor const, added missing inlcude, missing typecast (makesHans-Joerg Hoexer
lint happy) ok ho@
2004-08-12Fix compiler warning on alpha.Hans-Joerg Hoexer
Noted by and ok ho@
2004-08-08spacingTheo de Raadt
2004-06-26Narrow down privsep interface. Move pf_key_v2_open() to monitor.Hans-Joerg Hoexer
Work in progress. ok ho@
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-24Remove some unused code.Hans-Joerg Hoexer
Fix handling of sigchild. Now it's possible to sigstop/sigcont isakmpd correclty. ok ho@
2004-06-21Strip away umask bits in monitor_fopen(). hshoexer@ ok.Hakan Olsson
2004-06-20To make debugging the unprivileged child process easier, make 'isakmpd -dd'Hakan Olsson
pause just after privsep; print the PIDs and wait for SIGCONT. hshoexer@ ok
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-05-1064bit gcc saw missing castTheo de Raadt
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-31Use sysdep_sa_len() instead of sa->sa_len, also correct a log_fatal() ↵Hakan Olsson
message. hshoexer@ ok.
2004-03-29use malloc (oops)Theo de Raadt
2004-03-29wrong FD_ZERO(); from ho, hshoexer, markusTheo de Raadt
2004-03-23Remove erroneous null termination.Hans-Joerg Hoexer
ok ho@ deraadt@