summaryrefslogtreecommitdiff
path: root/sbin/pflogd/pflogd.c
AgeCommit message (Expand)Author
2023-11-17Do not log errors form pcap_dispatch() caused by signals.Claudio Jeker
2023-11-12fix the signal numbers passed to siginterrupt.David Gwynne
2023-11-09avoid restartable syscalls with siginterrupt() against all our handlers.David Gwynne
2023-05-09switch pflogd from using a bpf read timeout to a wait timeout.David Gwynne
2019-07-25Fix copy pasto, re-add missing goto in error path.Bryan Steele
2019-07-25Yet another workaround for crappy libpcap API designBryan Steele
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-08-26pflogd(8): don't try to rename(2) broken/invalid pflog files, instead,Bryan Steele
2017-09-09Rework pflogd(8)'s fork+exec model; re-exec the unpriv child, not theBryan Steele
2017-09-08Bring back the "Exiting" log message in pflogd(8), but do not setAlexander Bluhm
2017-09-06pflogd(8) currently spams the console on shutdown if syslogd(8) wins theBryan Steele
2017-09-05fork+exec model for pflogd(8); move pcap init to the re-exec'd privsepBryan Steele
2017-07-23Don't hit pledge(2) restrictions on interface departureJeremie Courreges-Anglas
2016-01-16Interface status printing (at exit and USR1) was broken for a while.Can Erkin Acar
2015-10-10pflogd contained the same "privsep error" as tcpdump -- assuming thatTheo de Raadt
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo de Raadt
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
2012-11-06Ensure that if_exists() always closes its socket before returning.Lawrence Teo
2012-03-05fix format string:Henning Brauer
2009-11-03Get rid of pflogd.pid because the privsep child cannot delete the pidfile;Theo de Raadt
2008-10-22log pcap stats upon SIGUSR1; ok canacarHenning Brauer
2007-06-06fix oups, mlist@scapa.dnsalias.netHenning Brauer
2007-06-06reverse logic of if_exists so that if_exists(interface) is true ifHenning Brauer
2007-06-04use warn() where warn() is intended, not err()Henning Brauer
2007-06-02do not shadow globals (in if_exists)Henning Brauer
2007-06-02on pcap error, check wether the interface went away and exit if it did.Henning Brauer
2007-05-27Complain to stderr if cloned pflog interface doesn't exist. Previously only ...Jason Dixon
2007-04-07- use .Bk/.Ek to avoid SYNOPSIS splittingJason McIntyre
2007-04-06Adds a pidfile argument to pflogd so that individualCan Erkin Acar
2006-10-26- sort optionsJason McIntyre
2006-10-25allow pflogd to listen on alternate pflog interfacesHenning Brauer
2006-01-15If the log file is invalid/incompatible, try to rename the bad log fileCan Erkin Acar
2005-07-04do not whack errno before using it; Andrey MatveevTheo de Raadt
2005-02-09missing tzset(), noticed by Chris Kuethe <chris.kuethe@gmail.com>Henning Brauer
2005-01-08Use the handler specified in phandler instead of always usingCan Erkin Acar
2004-09-17ugly spacingTheo de Raadt
2004-08-08spacingTheo de Raadt
2004-05-23use strtonum instead of atoi; dhartmei okTheo de Raadt
2004-04-28fd leaks; henning okTheo de Raadt
2004-02-13cleanup signal handling; close descriptors.Otto Moerbeek
2004-01-16- standard option orderJason McIntyre
2004-01-15Try to preserve the integrity of the log file in case of errors/unexpectedCan Erkin Acar
2003-10-22spacingTheo de Raadt
2003-10-22privilege seperated pflogdCan Erkin Acar
2003-09-26Walking up to a firewall box which had the console logged in, to seeTheo de Raadt
2003-08-22pf spelling policeDavid Krause
2003-05-14pflogd now uses the new pflog link type. Trying to append to an existingCan Erkin Acar
2003-04-23most programs do not syslog at startup. especially this oneTheo de Raadt
2003-03-11always compile and set pcap filters even when filters are not specified.Kenjiro Cho
2003-03-01Add ANSI prototypes. Get rid of shadow warnings. Use correctChad Loder