jruoho
811c1709b9
Fix a typo and comment out a dead FTP link.
...
From "bughunting" in PR misc/40107.
2010-07-06 17:42:32 +00:00
plunky
5ae9f3630e
use static __inline__ as per latest upstream, fixes problem with
...
C99 vs GNUC semantics of extern __inline__
2010-04-10 08:33:35 +00:00
christos
a41de9d317
check ctime.
2010-04-02 21:37:22 +00:00
snj
9251f9d10e
Drop 3rd and 4th clauses, as the copyright holder (Michael Shalayeff) did
...
in OpenBSD revision 1.5.
2009-11-03 01:13:38 +00:00
joerg
3f2534b357
Use actual comments to comment blocks and don't leave empty lines in the
...
output.
2009-10-21 22:56:56 +00:00
rmind
993cb03302
Drop 3rd and 4th clauses from David Young's license.
...
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
he
1a0a5901b1
Print an explicit 64-bit type with %PRIu64, not with %llu, so that
...
this builds on our LP64 ports as well.
2009-09-14 15:18:15 +00:00
degroote
2d48ac808c
Import pfsync support from OpenBSD 4.2
...
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.
This work was part of my 2009 GSoC
No objection on tech-net@
2009-09-14 10:36:48 +00:00
wiz
136eb7e035
We install this as tcpdump(8), so the internal name should be (8) as well.
...
Fix it. From Jukka Ruohonen.
2009-09-10 15:02:49 +00:00
apb
f46c1de7cb
Use ${TOOL_SED} instead if plain sed in Makefiles.
2008-10-25 22:27:34 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
drochner
c6de8226b0
Back out local NetBSD change (range check to avoid buffer overflow),
...
to reduce diffs to upstream.
This is superseded by another check (TCHECK2) introduced upstream.
2007-07-28 16:09:14 +00:00
drochner
87eb08c4d6
Back out local NetBSD change (attempt to handle FDDI padding), to reduce
...
diffs to upstream.
This turns out to be a no-op, and it shouldn't be here at all because
the DEC/NetBSD specific FDDI padding is dealt with in libpcap already.
2007-07-28 16:07:32 +00:00
drochner
624d9b0e79
Back out local NetBSD change (typecast to void*), to reduce diffs to
...
upstream.
Appears unnecessary to me (source and target are unsigned char*) and
compiles w/o for me.
2007-07-28 16:04:44 +00:00
drochner
427fb19923
Back out local NetBSD changes (removal of _U_ which expands to
...
attribute(unused)), to reduce diffs to upstream.
While that is ugly, we have the _U_ left in at other places.
2007-07-28 16:02:17 +00:00
drochner
68aa07a617
Back out local NetBSD change (addition of #include files), to reduce
...
diffs to upstream.
Compiles fine without for me, and there is no CVS commit message
telling why it should be necessary.
2007-07-28 15:59:39 +00:00
plunky
55e2ff23b1
fix build for the "USE_INET6=no" case, the two variables 'nxt' and 'len32'
...
are only used in the inet6 code.
2007-07-26 18:15:12 +00:00
dogcow
1ad9ad78c6
fix compilation on 64-bit platforms by avoiding spurious EXTRACT_32BITS
2007-07-25 06:31:32 +00:00
drochner
2e9d41b4db
merge in NetBSD changes
2007-07-24 12:41:07 +00:00
drochner
7ef8b6e9b2
avoid a pointer signedness warning
2007-07-24 11:55:13 +00:00
drochner
d8f5b90097
merged tcpdump-3.9.7
2007-07-24 11:53:36 +00:00
drochner
57e6a30fe7
import tcpdump-3.9.7 (after running the tcpdump2netbsd script and
...
defusing NetBSD id strings used as reference)
2007-07-24 11:42:50 +00:00
drochner
adf4078381
Fix a possible integer overflow in buffer length calculation due to
...
insufficient check of snprintf()'s return value, see gentoo bug #184815 .
The exploit provided appearently doesn't trigger the overflow in
NetBSD; this might be due to different error return behavior of snprintf
implementations, or due to the fact that out tcpdump is still 3.8.3
while the bug was reported against 3.9.x. The fix looks correct in any
case.
The exploit caused an endless loop at another place instead, due
to an obvious bug, so fix this too.
Also apply another patch which was applied to the 3.8 branch upstream
but never released: rev. 1.72.2.5, infinite loop protection for ldp and bgp
We should update tcpdump to 3.9.x.
2007-07-20 17:12:37 +00:00
joerg
cc1b813618
Don't segfault during decoding of unlimited strings in PPPoE.
2007-03-24 23:20:12 +00:00
christos
c0179c282a
spell precede; from Zafer
2006-11-25 16:48:31 +00:00
apb
a45cd5c0e1
In the description of the -y option, add a pointer to the -L option.
2006-11-11 10:36:56 +00:00
christos
95ee253760
Print rejected rpc packet reason.
2006-08-11 19:01:18 +00:00
dyoung
cc94fcb6e9
Correct units on IEEE80211_RADIOTAP_DBM_ANTSIGNAL,
...
IEEE80211_RADIOTAP_DBM_ANTNOISE.
2006-08-06 17:52:17 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
rpaulo
c43f7d959b
PR 13604: detect and print correct information for 4.4BSD/NetBSD NFS
...
filehandles.
The heuristic may or may not be wrong, but no one replied in the
tcpdump-workers mailing list.
Extraction of the fsid information contributed by Chuck Silvers.
Discussed with Chuck Silvers.
2006-03-25 11:43:53 +00:00
christos
8d95e8aad0
Coverity CID 991: Remove useless test.
2006-03-22 04:34:49 +00:00
christos
af542fc05c
Coverity CID 563: Kill SUNOS3 case; it is dead code.
2006-03-22 04:30:28 +00:00
christos
eca1f0e01b
Coverity CID 2491: Fix uninitialized reference.
2006-03-21 20:27:59 +00:00
elad
3af85b1067
Fix off-by-one found by Coverity, CID 1516.
2006-03-18 02:15:03 +00:00
wiz
e2a71c2aab
'advertisment' -> 'advertisement', from leonardo chiquitto filho
...
via jmc@openbsd.
2006-03-07 18:15:28 +00:00
dyoung
0f0c24e0c7
Print the "bad-fcs" radiotap flag.
2006-02-26 03:04:28 +00:00
dyoung
125170229e
Reduce diffs between NetBSD's authoritative radiotap header file
...
and TCPDump's.
2006-02-26 03:04:03 +00:00
elad
69bfdb7c54
fix remote crash; from tiocsti.
2006-01-15 16:12:53 +00:00
christos
e9e8578a0e
fix configure too.
2004-12-01 23:26:13 +00:00
christos
4d31f227c2
only mention /dev/bpf
2004-12-01 23:24:38 +00:00
he
d2886cb438
Fix build problem for hpcarm by casting the result of a computation
...
to int before printing with %d.
2004-09-28 12:27:02 +00:00
dyoung
79eff8033d
Add radiotap support, which was not in release 3.8.3.
2004-09-28 00:01:02 +00:00
dyoung
88f1d7df8c
Resolve conflicts in tcpdump-3.8.3 import.
2004-09-27 23:04:24 +00:00
dyoung
64657f857f
sync with 3.8.3
2004-09-27 17:06:28 +00:00
itojun
e090b691c1
pflog if support for tcpdump. Peter Postma
2004-06-29 04:46:35 +00:00
itojun
d74ab735f1
tcpdump can bomb w/ too big isakmp header fields.
...
http://www.vuxml.org/freebsd/40fcf20f-8891-11d8-90d1-0020ed76ef5a.html
2004-04-12 03:53:20 +00:00
wiz
f0e23ed2a6
There is no -b flag; from the description, -r is meant, so use that.
...
Noted by dillo.
2003-10-27 08:31:23 +00:00
agc
865595bdf3
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22253, verified by myself.
2003-08-07 09:20:39 +00:00
itojun
43f808c97d
use 0.9.7 DES API
2003-07-24 14:14:27 +00:00