summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-pflog.c
AgeCommit message (Collapse)Author
2005-11-23Replace a C++ comment with a C comment. No code changes.Chad Loder
2005-05-27log two pairs of uid/pid through pflog: the uid/pid of the process thatDaniel Hartmeier
inserted the rule which causes the logging. secondly, the uid/pid of the process in case the logged packet is delivered to/from a local socket. a lookup of the local socket can be forced for logged packets with a new option, 'log (user)'. make tcpdump print the additional information when -e and -v is used. note: this changes the pflog header struct, rebuild all dependancies. ok bob@, henning@.
2005-03-11clean up printing of rule numbers. omit ruleset name and sub-rule numberDaniel Hartmeier
when irrelevant. print 'def' for default rule. omit numerical reason if description is printed. ok henning@, deraadt@
2003-06-21#ifdef INET6Daniel Hartmeier
2003-05-14libpcap and tcpdump now understand the new pflog datalink type.Can Erkin Acar
old datalink type is still recognized. ok henning@ dhartmei@ frantzen@
2003-01-28a lost ntohs() caused tcpdump not to print the action.Henning Brauer
debugging session with and ok'd by dhartmei@
2003-01-01Support all possible rule types ("scrub" rules can log packets beingRyan Thomas McBride
dropped, others may as well in the future). ok dhartmei@ henning@
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2001-09-18handle ipv6; mcbride@countersiege.comJakob Schlyter
2001-09-03only print pf rules when using -e flag; <canacar@eee.metu.edu.tr>Jakob Schlyter
2001-07-17make it compileNiels Provos
2001-06-26fix PFRES_MAX handlingTheo de Raadt
2001-06-26array of counters indexed by reason codesTheo de Raadt
2001-06-26print reason sub codes.Niels Provos
2001-06-26print reason nr and text.Niels Provos
2001-06-26print out reason code, unless it is just a matchNiels Provos
2001-06-25interpret DLT_PFLOGNiels Provos