summaryrefslogtreecommitdiffstats
path: root/sbin/pflogd
AgeCommit message (Expand)AuthorFilesLines
2019-11-27use _PATH_ names for unveil if possiblederaadt1-4/+6
2019-08-30mop up for the pcap.3 rename;jmc1-3/+3
2019-07-25Fix copy pasto, re-add missing goto in error path.brynet1-1/+2
2019-07-25Yet another workaround for crappy libpcap API designbrynet1-2/+88
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-5/+5
2018-08-26Unveil pflogd(8). Similiar to florian@'s recent changes to ifconfig(8),brynet1-1/+14
2018-08-26pflogd(8): don't try to rename(2) broken/invalid pflog files, instead,brynet3-104/+17
2017-09-09Rework pflogd(8)'s fork+exec model; re-exec the unpriv child, not thebrynet3-75/+55
2017-09-08Bring back the "Exiting" log message in pflogd(8), but do not setbluhm1-2/+3
2017-09-06pflogd(8) currently spams the console on shutdown if syslogd(8) wins thebrynet2-15/+3
2017-09-05fork+exec model for pflogd(8); move pcap init to the re-exec'd privsepbrynet3-39/+133
2017-08-12Make not yet implemented pledges more visible in grep output.florian1-3/+3
2017-07-23Don't hit pledge(2) restrictions on interface departurejca1-18/+2
2017-07-04Revert back previous, pledge cannot be enabled on the privsep'd proc yet, atmestre1-1/+4
2017-06-12pledge(2) bpf has been in use for some time now on tcpdump(8), this will enablemestre1-5/+2
2017-05-30Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"schwarze1-3/+3
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyderaadt1-2/+2
2017-01-23pflogd will need pledge(proc), still disabled because of bfdbenno1-2/+2
2016-01-16Interface status printing (at exit and USR1) was broken for a while.canacar3-72/+5
2015-10-10pflogd contained the same "privsep error" as tcpdump -- assuming thatderaadt3-12/+61
2015-04-28Someone went to the trouble of vertically aligning a set of parameters butmlarkin1-2/+2
2015-02-15Use "In" to mark up include files, instead of wrongly wrapping with Aq.bentley1-3/+3
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++deraadt1-2/+2
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.tedu1-2/+1
2014-11-18Nuke some obvious #include duplications.krw1-2/+1
2014-06-26Create temporary file with mkstemp and unlink if rename operation fails.tobias1-6/+5
2014-01-21obvious .Pa fixes; found with mandocdb(8)schwarze1-3/+3
2013-09-13errx() provides its own newline, so remove it from the string hereblambert1-2/+2
2013-07-16Add missing .Mt macros for AUTHORS email addresses.schwarze1-3/+3
2013-06-19Do not install pcap-int.h to /usr/include as it is an internal librarylteo1-1/+5
2012-12-04remove some unnecessary sys/param.h inclusionsderaadt1-2/+3
2012-11-06Ensure that if_exists() always closes its socket before returning.lteo1-5/+5
2012-06-25log all, not log-all; ok henningjmc1-4/+6
2012-04-04Return an error much earlier if recvmsg failsderaadt1-2/+4
2012-03-05fix format string:henning1-2/+2
2011-10-12default snaplen is 160 these dayshenning1-4/+4
2011-05-06put the tcpdump-specific stuff in a sane place (that is, not EXAMPLES);jmc1-36/+35
2010-09-21bump default snaplen so that pfloghdr + ip hdr + prot hdr usually fithenning1-2/+2
2010-05-14nowadays, .Dx is callable, so we need to quote it;schwarze1-3/+3
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hsobrado1-2/+2
2009-12-03Adjust pflog BPF descriptions, problem pointed out by jmc@sthen1-5/+5
2009-11-16pflogd no longer needs libutil; ok deraadt@otto1-3/+3
2009-11-04tweak previous;jmc1-3/+2
2009-11-03Get rid of pflogd.pid because the privsep child cannot delete the pidfile;deraadt2-21/+6
2008-10-22log pcap stats upon SIGUSR1; ok canacarhenning2-12/+38
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forderaadt1-3/+3
2008-03-15Repair the simple cases for msg_controllen where it should just bederaadt1-3/+3
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toderaadt1-7/+13
2008-01-14clear up pidfile(-p) option formokan1-8/+7
2007-06-06fix oups, mlist@scapa.dnsalias.nethenning1-2/+2