]> The Tcpdump Group git mirrors - tcpdump/log
tcpdump
21 years agoRemove "bpf_dump.o" from the list of things to build - "bpf_dump()" now
guy [Tue, 27 Jan 2004 23:36:59 +0000 (23:36 +0000)] 
Remove "bpf_dump.o" from the list of things to build - "bpf_dump()" now
comes with libpcap.

Remove "print-netbios.o" from the list of things to build - it's not
used any more.

Add "oui.o" to the list of things to build - it *is* used.

Remove a backslash from the last entry in the list of things to build.

21 years ago__MINGW32__ is defined by MinGW, but not, as far as I know, by Cygwin.
guy [Tue, 27 Jan 2004 23:03:11 +0000 (23:03 +0000)] 
__MINGW32__ is defined by MinGW, but not, as far as I know, by Cygwin.

Clean up indentation.

21 years agocopy & paste error: replace priority_level by bandwidth_constraint
hannes [Tue, 27 Jan 2004 13:35:57 +0000 (13:35 +0000)] 
copy & paste error: replace priority_level by bandwidth_constraint

21 years agoadd support for Diffserv TE per draft-ietf-tewg-diff-te-proto-06
hannes [Tue, 27 Jan 2004 13:33:24 +0000 (13:33 +0000)] 
add support for Diffserv TE per draft-ietf-tewg-diff-te-proto-06

21 years agoadd support for Difserv TE per draft-ietf-tewg-diff-te-proto-06
hannes [Tue, 27 Jan 2004 12:50:55 +0000 (12:50 +0000)] 
add support for Difserv TE per draft-ietf-tewg-diff-te-proto-06

21 years agoremove broken rcsid at EOF
hannes [Mon, 26 Jan 2004 17:44:29 +0000 (17:44 +0000)] 
remove broken rcsid at EOF

21 years agoAdded some missing files in order to correctly compile under Cygnus
risso [Mon, 26 Jan 2004 14:29:15 +0000 (14:29 +0000)] 
Added some missing files in order to correctly compile under Cygnus

21 years agoprevent a call to getnameinfo() under cygnus, which doesn't provide it
risso [Mon, 26 Jan 2004 14:26:40 +0000 (14:26 +0000)] 
prevent a call to getnameinfo() under cygnus, which doesn't provide it

21 years agoFix the usage message (add entry for "-W", and word-wrap at 80
guy [Mon, 26 Jan 2004 02:09:23 +0000 (02:09 +0000)] 
Fix the usage message (add entry for "-W", and word-wrap at 80
characters).

21 years agoFrom Chris Cogdon <[email protected]>:
guy [Mon, 26 Jan 2004 02:05:17 +0000 (02:05 +0000)] 
From Chris Cogdon <[email protected]>:

Fix a segfault with the -C option when the number of files grows
to 1000.  Limit has been increased to 1,000,000, and the code
will check for exceeding this.

Also, add a -W option which will limit the number of files
created before 'wrapping around' and writing to the first file
again, creating a 'loop tape'.  Very useful if you want to have
this running permanently to capture traffic up to a irregular
event.

Change the way that output files with -C are numbered.  -C alone
goes <none>, 1, 2, 3....  -C with -W will number 0, 1, 2 ...  or
00, 01, 02 ...  etc, depending on the value of -W.  I.e., it
sorts properly.  (Old behaviour was to go <none>, 2, 3...)

Close the current capture file before trying to allocate the buffer for
the new file's name, so that if that allocation fails we've at least
written out all of the previous file.

Make some variables for command-line arguments, and some functions not
used outside tcpdump.c, static.

21 years agoRegenerate.
guy [Mon, 26 Jan 2004 00:51:31 +0000 (00:51 +0000)] 
Regenerate.

21 years agofixed confusion around OUI and SMI values
hannes [Sun, 25 Jan 2004 09:56:15 +0000 (09:56 +0000)] 
fixed confusion around OUI and SMI values

21 years agofrom Jonathan Heusser <[email protected]>: bugfix missing boundary checks
hannes [Sun, 25 Jan 2004 09:31:14 +0000 (09:31 +0000)] 
from Jonathan Heusser <[email protected]>: bugfix missing boundary checks

21 years agoPrint unsigned values with %u, not %d.
guy [Fri, 23 Jan 2004 09:35:41 +0000 (09:35 +0000)] 
Print unsigned values with %u, not %d.

21 years agofrom Pekka Savola <[email protected]>:
hannes [Thu, 22 Jan 2004 09:51:30 +0000 (09:51 +0000)] 
from Pekka Savola <[email protected]>:
 add a compile time option --with-user=USERNAME that
 drops privileges by default to USERNAME

21 years agofrom Pekka Savola <[email protected]>:
hannes [Thu, 22 Jan 2004 09:35:50 +0000 (09:35 +0000)] 
from Pekka Savola <[email protected]>:
  add infrastructure for dropping root privileges

21 years agouse official assigned numbers for DHCPv6 prefix delegation options. suz@kame
itojun [Wed, 21 Jan 2004 03:53:08 +0000 (03:53 +0000)] 
use official assigned numbers for DHCPv6 prefix delegation options.  suz@kame

21 years agoFrom Gisle Vanem: fix a comment.
guy [Thu, 15 Jan 2004 19:56:50 +0000 (19:56 +0000)] 
From Gisle Vanem: fix a comment.

21 years agoPut the when-printing and when-saving-to-a-file descriptions of "-v"
guy [Thu, 15 Jan 2004 19:55:56 +0000 (19:55 +0000)] 
Put the when-printing and when-saving-to-a-file descriptions of "-v"
into separate paragraphs.

21 years agoFrom Gisle Vanem:
guy [Thu, 15 Jan 2004 19:53:48 +0000 (19:53 +0000)] 
From Gisle Vanem:

When saving to a file with "-w", have the "-v" flag make tcpdump
report, every 10 seconds, the number of packets captured.

Include <smi.h> if we're building with libsmi, to declare
"smiInit()" and "smiLoadModule()".

21 years ago- bugfix: rework the AS_PATH decoder per draft-ietf-idr-rfc3065bis:
hannes [Thu, 15 Jan 2004 18:59:15 +0000 (18:59 +0000)] 
- bugfix: rework the AS_PATH decoder per draft-ietf-idr-rfc3065bis:
    CONFED_AS_SET and CONFED_AS_SEQUENCE codepoints have changed;
- rework the SEQ and SET display output in accordance with contemporary
    routing software
     ( AS )  indicates an CONFED AS SEQUENCE segment
     { AS }  indicates an AS SET segment
    ({ AS }) indicates an CONFED AS SET segment

21 years agoFrom Gisle Vanem: fix the "-m" case in the argument processing not to
guy [Wed, 14 Jan 2004 03:24:29 +0000 (03:24 +0000)] 
From Gisle Vanem: fix the "-m" case in the argument processing not to
fall through to the "-O" case.

21 years agoRegenerate with autoconf 2.57.
guy [Wed, 14 Jan 2004 03:15:08 +0000 (03:15 +0000)] 
Regenerate with autoconf 2.57.

21 years agoAutoconf 2.5x won't let you modify LIBOBJS directly; use AC_LIBOBJ to
guy [Wed, 14 Jan 2004 03:14:29 +0000 (03:14 +0000)] 
Autoconf 2.5x won't let you modify LIBOBJS directly; use AC_LIBOBJ to
modify it.

AC_LIBOBJ isn't supported by pre-2.50 autoconf; require 2.50.

2.5x apparently does quoting, or dnl, or something differently from
2.13; fix AC_EGREP_CPP calls.

21 years agoadd support for Graceful OSPF Restart (rfc3623)
hannes [Thu, 8 Jan 2004 22:08:40 +0000 (22:08 +0000)] 
add support for Graceful OSPF Restart (rfc3623)

21 years agoadd tests for MP-BGP VPN related attributes and the new Attr Set Attribute
hannes [Thu, 8 Jan 2004 07:21:20 +0000 (07:21 +0000)] 
add tests for MP-BGP VPN related attributes and the new Attr Set Attribute

21 years agoadd a testcase for a LDP Hello encapsulated in MPLS
hannes [Thu, 8 Jan 2004 07:10:59 +0000 (07:10 +0000)] 
add a testcase for a LDP Hello encapsulated in MPLS

21 years agoNote that Mac OS X, as one of the BSDs, has SIGINFO; note that
guy [Wed, 7 Jan 2004 22:50:40 +0000 (22:50 +0000)] 
Note that Mac OS X, as one of the BSDs, has SIGINFO; note that
Digital/Tru64 UNIX has it as well (although the tty(7) man page doesn't
mention VSTATUS - stty(1) mentions "status", however, and signal(4)
mentions SIGINFO, and some Tru64->HP-UX transition pages mention SIGINFO
as a feature available in Tru64 but not HP-UX).

Note that on some systems (e.g., Mac OS X), you might have to set your
"status" character as it defaults, on those systems, to "not set".

Get rid of the reference to "traffic(1C)" (it's not referred to in the
man page, and about the only connection it has with tcpdump is that they
both watch network traffic; traffic(1C) is a SunOS 4.x-ism, not present
on other platforms), and add a reference to pfconfig(8) for
Digital/Tru64 (it *is* referred to, in the section of what privileges
you need in order to capture traffic).

21 years agobugfix from Jonathan Heusser <[email protected]>
hannes [Wed, 7 Jan 2004 08:00:51 +0000 (08:00 +0000)] 
bugfix from Jonathan Heusser <[email protected]>

  The first critical piece of code is found in print-isakmp.c:332. The
  function rawprint() does not check its arguments thus it's easy for
  an attacker to pass a big 'len' or a bogus 'loc' leading to a
  segmentation fault in the for loop.

  The second bug is located in print-radius.c:471. The for loop of
  print_attr_string() is written in an unsafe manner. 'length'
  and 'data' should be checked.

21 years ago isakmp test cases
mcr [Tue, 6 Jan 2004 04:00:15 +0000 (04:00 +0000)] 
isakmp test cases

21 years agoupdate references for the experimental TLV, remove ES-IS specific #defines from the...
hannes [Fri, 2 Jan 2004 09:32:13 +0000 (09:32 +0000)] 
update references for the experimental TLV, remove ES-IS specific #defines from the IS-IS tok table

21 years agoadd tokentable llc_values[], remove SNAP printing beyond vflag
hannes [Mon, 29 Dec 2003 19:57:30 +0000 (19:57 +0000)] 
add tokentable llc_values[], remove SNAP printing beyond vflag

21 years agobugfix length output in non-verbose mode
hannes [Mon, 29 Dec 2003 19:26:28 +0000 (19:26 +0000)] 
bugfix length output in non-verbose mode

21 years agoprint ethertypes in hex and fix qflag handling for unknown ethertypes
hannes [Mon, 29 Dec 2003 19:05:37 +0000 (19:05 +0000)] 
print ethertypes in hex and fix qflag handling for unknown ethertypes

21 years agopave the way for eliminating print_unknown_data() and subsequent hex_print() replacement
hannes [Mon, 29 Dec 2003 11:07:17 +0000 (11:07 +0000)] 
pave the way for eliminating print_unknown_data() and subsequent hex_print() replacement

21 years agopass on ident string to hex_print()
hannes [Mon, 29 Dec 2003 11:05:09 +0000 (11:05 +0000)] 
pass on ident string to hex_print()

21 years agoelimitate tabs as they mess up the multi-line output
hannes [Mon, 29 Dec 2003 10:51:34 +0000 (10:51 +0000)] 
elimitate tabs as they mess up the multi-line output

21 years agoclean up the default_print() related functions:
hannes [Mon, 29 Dec 2003 10:35:16 +0000 (10:35 +0000)] 
clean up the default_print() related functions:

 - call always into print_ascii() b/c just hexdump data
   is uninteresting; hex-offsets plus ascii representation
   is what most people are looking for

 - remove default_print_unaligned() as it is now obsolete

21 years agopass an identation string to the ascii printer
hannes [Mon, 29 Dec 2003 10:30:40 +0000 (10:30 +0000)] 
pass an identation string to the ascii printer

21 years agobackout last commit and make the loopback decoder simply return a 0
hannes [Mon, 29 Dec 2003 09:29:29 +0000 (09:29 +0000)] 
backout last commit and make the loopback decoder simply return a 0

21 years ago- handle the case where we know the ethertype but do not have a printer for it
hannes [Mon, 29 Dec 2003 09:19:38 +0000 (09:19 +0000)] 
- handle the case where we know the ethertype but do not have a printer for it
  the loopback protocol is a good example:
    the patch prints at least the ethertype plus the length
    rather than a empty line

21 years agoadd OSPF G-MPLS test
hannes [Mon, 29 Dec 2003 08:58:59 +0000 (08:58 +0000)] 
add OSPF G-MPLS test

21 years agoCheck to make sure the length of an AVP is large enough to include the
guy [Fri, 26 Dec 2003 23:20:58 +0000 (23:20 +0000)] 
Check to make sure the length of an AVP is large enough to include the
AVP header and doesn't go past the remaining length of the packet.

21 years agoforgot to break
hannes [Tue, 23 Dec 2003 22:18:35 +0000 (22:18 +0000)] 
forgot to break

21 years agoadd support for the ATTR SET attribute per draft-marques-ppvpn-ibgp
hannes [Tue, 23 Dec 2003 22:07:56 +0000 (22:07 +0000)] 
add support for the ATTR SET attribute per draft-marques-ppvpn-ibgp
  TODO boundary and recursion check
add reference (draft-marques-ppvpn-rt-constrain)
  to the Route Target Information SAFI

21 years ago- initial checkin for OSI CLNP support
hannes [Mon, 22 Dec 2003 19:41:51 +0000 (19:41 +0000)] 
- initial checkin for OSI CLNP support
  (TODO header sanity and lots of boundary checking)
- verify NLPID for ES-IS
- remove bogon TLV #1 from ES-IS printer

21 years agorework the print_esis() printer
hannes [Sat, 20 Dec 2003 22:24:51 +0000 (22:24 +0000)] 
rework the print_esis() printer
  update option processing
  add ES-IS ESH printing
change the IS-IS related TLV #defines into ISIS_TLV_
change the IS-IS related SUBTLV #defines into ISIS_SUBTLV_

21 years agoAs per George Bakos' suggestion, only print the ":" separator between
guy [Sat, 20 Dec 2003 10:03:19 +0000 (10:03 +0000)] 
As per George Bakos' suggestion, only print the ":" separator between
the flags and the payload if we're printing the payload.

21 years agoFrom George Bakos: only print multi-line output with "-v".
guy [Sat, 20 Dec 2003 09:58:10 +0000 (09:58 +0000)] 
From George Bakos: only print multi-line output with "-v".

21 years agoFrom George Bakos: send the "reading from" messages to stderr, not
guy [Thu, 18 Dec 2003 01:20:31 +0000 (01:20 +0000)] 
From George Bakos: send the "reading from" messages to stderr, not
stdout, so only output for packets goes to stdout.

21 years agohexdump attribute data if -vv flag
hannes [Mon, 15 Dec 2003 13:52:15 +0000 (13:52 +0000)] 
hexdump attribute data if -vv flag

21 years agomake PIMv2 use tok2str(), change to multiline output
hannes [Mon, 15 Dec 2003 13:15:25 +0000 (13:15 +0000)] 
make PIMv2 use tok2str(), change to multiline output

21 years agoFrom George Bakos: catch bogus payload lengths even if we have a routine
guy [Mon, 15 Dec 2003 10:40:13 +0000 (10:40 +0000)] 
From George Bakos: catch bogus payload lengths even if we have a routine
to process the payload type.

21 years agoGet rid of a set-but-not-used variable.
guy [Mon, 15 Dec 2003 04:16:57 +0000 (04:16 +0000)] 
Get rid of a set-but-not-used variable.

21 years agoGet rid of an unused variable.
guy [Mon, 15 Dec 2003 04:03:21 +0000 (04:03 +0000)] 
Get rid of an unused variable.

21 years ago_U_ is defined by the Makefile; we shouldn't redefine it ourselves.
guy [Mon, 15 Dec 2003 03:53:21 +0000 (03:53 +0000)] 
_U_ is defined by the Makefile; we shouldn't redefine it ourselves.

21 years agoWhen checking to make sure the LSP ID is all present, check the last
guy [Mon, 15 Dec 2003 03:42:48 +0000 (03:42 +0000)] 
When checking to make sure the LSP ID is all present, check the last
byte of the LSP ID, not the first byte past the LSP ID.

21 years agoMake the "dlci" variable a u_int, as all the code that refers to it
guy [Mon, 15 Dec 2003 03:36:05 +0000 (03:36 +0000)] 
Make the "dlci" variable a u_int, as all the code that refers to it
thinks it's unsigned.

21 years agoAdd in Readme.Win32.
guy [Mon, 15 Dec 2003 02:44:38 +0000 (02:44 +0000)] 
Add in Readme.Win32.

21 years agoAdd some missing entries, and use tabs on some entries that weren't
guy [Mon, 15 Dec 2003 02:38:32 +0000 (02:38 +0000)] 
Add some missing entries, and use tabs on some entries that weren't
using them.

21 years agoFrom Albert Chin <[email protected]>:
guy [Mon, 15 Dec 2003 02:12:40 +0000 (02:12 +0000)] 
From Albert Chin <[email protected]>:

propagate CPPFLAGS to Makefile.in;

move the CPPFLAGS and V_INCLS change to the end of the configure
run so users don't see "-I$(srcdir)/missing" in their config.log
output.

21 years agoGet rid of the no-longer-used frame control argument to various
guy [Wed, 10 Dec 2003 09:51:03 +0000 (09:51 +0000)] 
Get rid of the no-longer-used frame control argument to various
management frame print routines.

21 years agoInclude "print-enc.c" in the tarball.
guy [Mon, 1 Dec 2003 01:10:01 +0000 (01:10 +0000)] 
Include "print-enc.c" in the tarball.

21 years ago"win32/Src/w32_fzs.c" was removed; remove it from the list of files in
guy [Mon, 1 Dec 2003 01:05:43 +0000 (01:05 +0000)] 
"win32/Src/w32_fzs.c" was removed; remove it from the list of files in
the tarball.

21 years agoadd Vendor OUI resolution
hannes [Sun, 30 Nov 2003 00:19:21 +0000 (00:19 +0000)] 
add Vendor OUI resolution

21 years agoadd Vendor OUI resulution
hannes [Sun, 30 Nov 2003 00:18:04 +0000 (00:18 +0000)] 
add Vendor OUI resulution

21 years agoDon't stick an extra "RESERVED" in the printout for unknown management
guy [Thu, 27 Nov 2003 02:51:04 +0000 (02:51 +0000)] 
Don't stick an extra "RESERVED" in the printout for unknown management
frame subtypes.

21 years agoPrint the subtype of management frames *before* parsing the body, so
guy [Thu, 27 Nov 2003 02:18:53 +0000 (02:18 +0000)] 
Print the subtype of management frames *before* parsing the body, so
that if there's an error parsing the body, we at least see the type (and
so that the code to print the subtype isn't duplicated in every
body-printing routine).

21 years agoadd Management Prefix Color subTLV, plus some references to Internet Drafts
hannes [Wed, 26 Nov 2003 08:50:48 +0000 (08:50 +0000)] 
add Management Prefix Color subTLV, plus some references to Internet Drafts

21 years ago-rework the radius decoder for a decent multiline output
hannes [Wed, 26 Nov 2003 08:49:14 +0000 (08:49 +0000)] 
-rework the radius decoder for a decent multiline output
 -add print_vendor_attr() for dissecting vendor proprietary attributes
-add global oui.h oui.c files containing vendor IDs/Name tok2str() table
  developers should use this file for resolving OUIs

21 years ago135 appears to be the current IP protocol number for mobility headers;
guy [Mon, 24 Nov 2003 20:30:51 +0000 (20:30 +0000)] 
135 appears to be the current IP protocol number for mobility headers;
support it, as well as 62 (which presumably was one that was used
before, even though it was already assigned to some protocol named
CFTP).

21 years agoUpdate the date stamp on the tcpdump man page, and add Gerald to the
guy [Sun, 23 Nov 2003 23:42:16 +0000 (23:42 +0000)] 
Update the date stamp on the tcpdump man page, and add Gerald to the
list of contributors, for his man page update.

21 years agoFrom Gerald Combs <[email protected]>:
hannes [Sun, 23 Nov 2003 21:01:50 +0000 (21:01 +0000)] 
From Gerald Combs <[email protected]>:

The change adds left- and right-shift (<< and >>) to the list of
binary operators on the tcpdump man page.  E.g. "tcp[12] >> 4 > 5" will
test for TCP options.  The operators are listed in the '93 Usenix paper,
and appear to have been supported in libpcap since the 0.0 release.

21 years agoDon't check for the OSPF opaque traffic engineering TLV type before
guy [Wed, 19 Nov 2003 09:44:10 +0000 (09:44 +0000)] 
Don't check for the OSPF opaque traffic engineering TLV type before
processing the TLV - there might not be any TLVs.  Instead, check before
fetching the type.

21 years agoAdd missing bounds checking to the DVMRP and PIM print routines.
guy [Wed, 19 Nov 2003 09:42:04 +0000 (09:42 +0000)] 
Add missing bounds checking to the DVMRP and PIM print routines.

Instead of checking that there are 8 bytes available at the beginning of
an IGMP packet - which there might not be, e.g. with some DVMRP packets
- do the checks as necessary before fetching values.

21 years agoUse "len", not "payload_len", as we step through the packet; use
guy [Wed, 19 Nov 2003 06:31:28 +0000 (06:31 +0000)] 
Use "len", not "payload_len", as we step through the packet; use
"payload_len" to report the raw value from the header.

21 years agoKeep the remaining payload length in a separate variable from the total
guy [Wed, 19 Nov 2003 06:17:10 +0000 (06:17 +0000)] 
Keep the remaining payload length in a separate variable from the total
payload length, so we can report the latter at the end of dissection.

21 years agoFix a keyboardo.
guy [Wed, 19 Nov 2003 05:37:18 +0000 (05:37 +0000)] 
Fix a keyboardo.

21 years agoFix a typo (as per NetBSD).
guy [Wed, 19 Nov 2003 02:01:40 +0000 (02:01 +0000)] 
Fix a typo (as per NetBSD).

21 years agoFix capitalization of ULTRIX and AppleTalk, as per NetBSD.
guy [Wed, 19 Nov 2003 01:59:19 +0000 (01:59 +0000)] 
Fix capitalization of ULTRIX and AppleTalk, as per NetBSD.

Update the date stamp.

21 years ago"icmp6_rrenum_print()" doesn't use its "icmp6len" argument (and, as that
guy [Wed, 19 Nov 2003 01:27:54 +0000 (01:27 +0000)] 
"icmp6_rrenum_print()" doesn't use its "icmp6len" argument (and, as that
just reflects the payload length, the snapshot length has been trimmed
to correspond to it, so it doesn't need to check it merely to avoid
running past the end of the IPv6 payload); get rid of it.

Pass "icmp6_print()" the IPv6 payload length (i.e., the length of the
ICMPv6 packet), rather than having it compre the length itself.

Make the length argument to "icmp6_cksum()" unsigned, to match the value
passed to it.

Fix the lengths passed to "sctp_print()", "tcp_print()", and
"udp_print()" (we update "len" in the header-processing loop to
correspond to the remaining payload, so we just pass it to those
routines).

21 years agoPut in a long comment explaining what's confusing about this routine,
guy [Wed, 19 Nov 2003 01:09:48 +0000 (01:09 +0000)] 
Put in a long comment explaining what's confusing about this routine,
and explaining that we leave the "unused argument" warning in place as a
reminder that we need to fix this routine someday, when we actually have
a capture against which to test it.

21 years agoHave various routines for printing non-final headers for IPv4/IPv6
guy [Wed, 19 Nov 2003 00:36:06 +0000 (00:36 +0000)] 
Have various routines for printing non-final headers for IPv4/IPv6
return -1 if they run out of data.

Have the IPv4 and IPv6 dissectors check for non-positive return values
from those routines and quit if they see one.

21 years agoFix a signed-vs-unsigned comparison warning.
guy [Wed, 19 Nov 2003 00:19:56 +0000 (00:19 +0000)] 
Fix a signed-vs-unsigned comparison warning.

21 years agoCut off "snapend" at the length of the IPv4 or IPv6 payload, so we don't
guy [Wed, 19 Nov 2003 00:17:32 +0000 (00:17 +0000)] 
Cut off "snapend" at the length of the IPv4 or IPv6 payload, so we don't
run past the end of that payload.

Check that the IPv4 total length isn't less than the header length.

Use "%u", not "%d", to print unsigned values.

Properly update "len" in the header-processing loop for IPv6.

Doing so means we can trust the length passed to the TCP and UDP
dissectors when constructing the IPv6 pseudo-header; do so (but fix the
length we pass to the UDP-over-IPv6 checksum routine).

That length is unsigned; make the corresponding arguments to the TCP and
UDP checksum routines unsigned.

21 years agoGet rid of unused arguments to "dhcp6_print()".
guy [Tue, 18 Nov 2003 23:26:37 +0000 (23:26 +0000)] 
Get rid of unused arguments to "dhcp6_print()".

21 years agoPrint both the name and the description of a link-layer type (the name
guy [Tue, 18 Nov 2003 23:09:42 +0000 (23:09 +0000)] 
Print both the name and the description of a link-layer type (the name
isn't always very suggestive - for example, somebody might think
"EN10MB" is always 10 MB/s, and might not know that "IEEE802" is Token
Ring), using "pcap_datalink_val_to_description()".  Supply our own
"pcap_datalink_val_to_description()" if libpcap doesn't have it (even if
it has "pcap_datalink_name_to_val()").

21 years agoIn MSVC++'s C library, _IOLBF is the same as _IOFBF; use _IONBF instead.
guy [Tue, 18 Nov 2003 08:53:19 +0000 (08:53 +0000)] 
In MSVC++'s C library, _IOLBF is the same as _IOFBF; use _IONBF instead.

Fix the timeout in the "pcap_open_live()" call - I accidentally checked
in a larger value I was using while testing pcap_breakloop().

21 years agoLatest config.guess and config.sub from
guy [Tue, 18 Nov 2003 06:30:12 +0000 (06:30 +0000)] 
Latest config.guess and config.sub from

http://savannah.gnu.org/projects/config/

21 years agoUpdate the RCS tag information for 3.8.
guy [Sun, 16 Nov 2003 10:17:15 +0000 (10:17 +0000)] 
Update the RCS tag information for 3.8.

21 years agoFrom Brian Ginsbach: add the Cray NV1 CPU to the list of CPUs that don't
guy [Sun, 16 Nov 2003 10:13:34 +0000 (10:13 +0000)] 
From Brian Ginsbach: add the Cray NV1 CPU to the list of CPUs that don't
support unaligned accesses.

21 years agoGive it a proper RCS ID.
guy [Sun, 16 Nov 2003 09:57:04 +0000 (09:57 +0000)] 
Give it a proper RCS ID.

21 years agoFrom Brian Ginsbach: add the Cray NV1 CPU to the list of CPUs that don't
guy [Sun, 16 Nov 2003 09:44:20 +0000 (09:44 +0000)] 
From Brian Ginsbach: add the Cray NV1 CPU to the list of CPUs that don't
support unaligned accesses.

21 years agoHave the configure script arrange that the Makefile define _U_
guy [Sun, 16 Nov 2003 09:42:39 +0000 (09:42 +0000)] 
Have the configure script arrange that the Makefile define _U_
appropriately, and that GNUmakefile and the MSVC++ project file define
it apppriately, as we do with libpcap, rather than defining it in
"interface.h".

Undo the rcsid-shuffling and addition of extra #includes, as we no
longer need to arrange that "interface.h" be included before using _U_
in an RCS ID or copyright.

21 years agoGive it a proper RCS ID.
guy [Sun, 16 Nov 2003 09:41:29 +0000 (09:41 +0000)] 
Give it a proper RCS ID.

21 years agoUndo the previous checkin - it got rid of two recent changes.
guy [Sun, 16 Nov 2003 09:39:21 +0000 (09:39 +0000)] 
Undo the previous checkin - it got rid of two recent changes.

21 years agoHave the configure script arrange that the Makefile define _U_
guy [Sun, 16 Nov 2003 09:36:07 +0000 (09:36 +0000)] 
Have the configure script arrange that the Makefile define _U_
appropriately, and that GNUmakefile and the MSVC++ project file define
it apppriately, as we do with libpcap, rather than defining it in
"interface.h".

Undo the rcsid-shuffling and addition of extra #includes, as we no
longer need to arrange that "interface.h" be included before using _U_
in an RCS ID or copyright.

21 years agoEscape question marks, to avoid warnings about trigraphs.
guy [Sat, 15 Nov 2003 01:08:37 +0000 (01:08 +0000)] 
Escape question marks, to avoid warnings about trigraphs.

21 years agoUse the right format to print a value as 2 hex digits.
guy [Sat, 15 Nov 2003 01:02:02 +0000 (01:02 +0000)] 
Use the right format to print a value as 2 hex digits.

21 years agoFrom Neil Spring:
guy [Sat, 15 Nov 2003 00:39:12 +0000 (00:39 +0000)] 
From Neil Spring:

use "_U_" in the definitions of "rcsid[]", to eliminate
complaints about those variables being unused;

move the definitions after the include of "interface.h", or add
an include of "interface.h", so that "_U_" is defined.

Include "config.h" before including "tcpdump-stdinc.h" in
"missing/datalinks.c".