Commit Graph

86 Commits

Author SHA1 Message Date
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
itojun
aa5672d8c5 sscanf overrun 2003-05-17 01:02:01 +00:00
wiz
c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
perry
54ba04ec87 Spelling errors from Igor Sobrado in PR misc/20748
Note that the PR claims that icmp-timxceed is a spelling error.
It is not an error. See /usr/include/netinet/ip_compat.h for example.
XXX fixes should be fed back to tcpdump.org
2003-03-31 00:18:17 +00:00
wiz
3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
matt
78d38420f5 When printing out the FDDI header on NetBSD, skip the 3 preamble bytes
used to align the header.
2003-01-17 02:44:33 +00:00
wiz
6373769a7d Fix indentation of -a. From Juha Hyttinen in PR 19399. 2002-12-16 10:35:04 +00:00
mycroft
c8f942f907 And one more. 2002-12-04 18:10:20 +00:00
mycroft
5e81ec6f59 Fix more space glitchies. 2002-12-04 18:07:47 +00:00
mycroft
c164d77700 nodeid -> fileid, and fix some space glitchies. 2002-12-04 18:06:36 +00:00
mycroft
db3d827d99 Make print_int64() more sane. 2002-12-04 17:59:52 +00:00