Module Name: src Committed By: rmind Date: Wed May 14 21:46:50 UTC 2014
Modified Files: src/usr.sbin/npf/npftest: README Log Message: npftest: fix the example in the README file. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/npf/npftest/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/npf/npftest/README diff -u src/usr.sbin/npf/npftest/README:1.4 src/usr.sbin/npf/npftest/README:1.5 --- src/usr.sbin/npf/npftest/README:1.4 Sat Feb 9 03:35:33 2013 +++ src/usr.sbin/npf/npftest/README Wed May 14 21:46:50 2014 @@ -1,4 +1,4 @@ -$NetBSD: README,v 1.4 2013/02/09 03:35:33 rmind Exp $ +$NetBSD: README,v 1.5 2014/05/14 21:46:50 rmind Exp $ npftest - a tool for regression testing and debugging NPF. It uses RUMP framework to run NPF kernel module in the userspace. @@ -13,8 +13,8 @@ npftest -c /tmp/npf.plist -t Stream: tcpdump -w stream.pcap -i $INTERFACE "host $HOST and tcp" -npfctl debug -npftest -c /tmp/npf.plist -s stream.pcap -o stream_npf_data.txt +npfctl debug npftest.conf /tmp/npf.plist +npftest -c /tmp/npf.plist -s stream.pcap > stream_npf_data.txt Preferably, use MALLOC_OPTIONS="AJ" and/or other facilities.