#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
187935 |
|
30-Jan-2009 |
keramida |
Sometimes, depending on the bpf filter rules used in $PATTERN, the example script of the manpage feeds awk(1) with values larger than UINT32_MAX. Then awk prints a negative value, and this messes up $BPFPROG. Trying to load the resulting bpf byte codes with ngctl then fails.
For example, the output for PATTERN="udp and dst net 255.255.0.0/16" should be (all in one line):
bpf_prog_len=10 bpf_prog=[ { code=40 jt=0 jf=0 k=12 } { code=21 jt=7 jf=0 k=34525 } { code=21 jt=0 jf=6 k=2048 } { code=48 jt=0 jf=0 k=23 } { code=21 jt=0 jf=4 k=17 } { code=32 jt=0 jf=0 k=30 } { code=84 jt=0 jf=0 k=4294901760 } { code=21 jt=0 jf=1 k=4294901760 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ]
The two k=4294901760 values are displayed as k=-2147483648 by awk.
Replace the awk script of the manpage example with a slower but safer version, that doesn't really attempt to convert the byte code printed by tcpdump from string to number and back.
PR: docs/123255 Submitted by: Eugenio Maffione, eugenio.maffione at telecomitalia.it MFC after: 3 days
|
#
170129 |
|
30-May-2007 |
glebius |
- Sync with ng_bpf.h, rev. 1.7 - Remove extra brace.
Submitted by: Anton Yuzhaninov <citrin rambler-co.ru>
|
#
141350 |
|
05-Feb-2005 |
ru |
Verify that SYNOPSIS section compiles.
|
#
140561 |
|
21-Jan-2005 |
ru |
Sort sections.
|
#
131530 |
|
03-Jul-2004 |
ru |
Mechanically kill hard sentence breaks and double whitespaces.
|
#
122758 |
|
15-Nov-2003 |
harti |
Replace all uses of the old netgraph constants NG_*LEN by the new constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
79727 |
|
14-Jul-2001 |
schweikh |
Removed whitespace at end-of-line; no content changes. I simply did cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'
BTW, what editors are the culprits? I'm using vim and it shows me whitespace at EOL in troff files with a thick blue block...
Reviewed by: Silence from cvs diff -b MFC after: 7 days
|
#
79538 |
|
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
#
79366 |
|
06-Jul-2001 |
ru |
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
|
#
77761 |
|
05-Jun-2001 |
sobomax |
Correct cross-references: setsockopt.3 --> setsockopt.2 syslog.8 --> syslogd.8 tcpdump.8 --> tcpdump.1
MFC after: 1 week
|
#
76854 |
|
19-May-2001 |
archie |
Ensure the generated BPF in the example deliver the whole packet.
|
#
75025 |
|
30-Mar-2001 |
archie |
Fix typo.
|
#
72689 |
|
19-Feb-2001 |
ru |
mdoc(7) police: well-known section name is EXAMPLES, not EXAMPLE.
|
#
72681 |
|
19-Feb-2001 |
archie |
Slight improvement to previous checkin.
|
#
72680 |
|
19-Feb-2001 |
archie |
Add an example showing how to configure a node from the command line.
|
#
70466 |
|
29-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
#
67627 |
|
26-Oct-2000 |
asmodai |
Update @freebsd.org email addresses to @FreeBSD.org as is the precedent.
|
#
67508 |
|
24-Oct-2000 |
julian |
Change archie's and my email addresses from Whistle.com to FreeBSD.org
|
#
66081 |
|
19-Sep-2000 |
archie |
NGM_BPF_{G,S}ET_FILTER should be NGM_BPF_{G,S}ET_PROGRAM.
|
#
59982 |
|
04-May-2000 |
archie |
Move netgraph node type man pages from section 8 to section 4.
|
#
54927 |
|
20-Dec-1999 |
julian |
Manual page style work. Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
|
#
54097 |
|
03-Dec-1999 |
archie |
New netgraph node type, ng_bpf(8). This node type allows you to apply bpf(4) filters to data travelling through a netgraph network.
|