Commit Graph

2568 Commits

Author SHA1 Message Date
Guy Harris
51b8ec3c84 Make the date on the change notes for 4.1.0 match the release date. 2010-04-03 12:01:25 -07:00
Guy Harris
7d7201ff75 Add the tests to the release tarball. 2010-04-01 23:02:46 -07:00
Guy Harris
48c58c08b7 Re-generate configure script. 2010-04-01 23:01:56 -07:00
Peter Volkov
9aca99aa40 Respect --without-chroot correctly
./configure --without-chroot will configure tcpdump with "no" as the
value of chroot directory and cause tcpdump to fail with:

tcpdump: Couldn't chroot/chdir to 'no': No such file or directory

This patch makes ./configure to avoid chroot directory when called with
--without-chroot.
2010-04-01 22:55:22 -07:00
Guy Harris
9c52a8de33 The first 4.2.x release will be 4.2.0, not 4.2. 2010-04-01 22:51:09 -07:00
Guy Harris
83b8fd3d80 Add the current set of 4.1.1 changes from 4.1.0. 2010-04-01 22:49:56 -07:00
Guy Harris
0ff35b4da5 Merge branch 'master' of git+ssh://bpf.tcpdump.org/tcpdump/master/git/tcpdump
Conflicts:
	CHANGES
2010-04-01 22:43:56 -07:00
Guy Harris
3d1e6b5406 Update CHANGES to reflect more of the changes in 4.1.0. 2010-04-01 22:42:51 -07:00
Guy Harris
f7b185510a Add a --with-arch-flags configuration option to specify target architectures.
They allow the user to specify flags to indicate the target
architecture(s) (yes, possibly plural - think, for example, Mac OS X)
for which we're building.  Those might need to be used not only when
compiling, but also when linking and when building a shared library.

This is not for general cross-compiling, it's for use on platforms where
versions of the native OS support more than one instruction set and
where you want to build for the OS on which you're running but not for
the default build architecture on the machine on which you're running.

This may currently be less useful for tcpdump, as tcpdump currently
builds no libraries, but it's there for compatibility with libpcap.
2010-03-31 17:24:33 -07:00
Guy Harris
a08f866fcf Sync up the CHANGES file with the 4.1 branch. 2010-03-31 12:24:28 -07:00
Wesley Shields
fd269c123d Fix build on systems with PF.
Reviewed-By: Guy Harris <guy@alum.mit.edu>
2010-03-31 12:10:59 -07:00
Guy Harris
48ea21554b Don't blow up if a zero-length link-layer address is passed to linkaddr_string().
Clean up style a bit while we're at it.
2010-03-25 11:21:49 -07:00
Guy Harris
1b2e1a81e2 The draft in question has nothing to do with MPLS; clarify that.
Presumably the idea is that the technique is generally applicable as
long as the traffic being carried is either IPv4, IPv6, OSI CLNP, ES-IS,
or IS-IS.

Also, by the time we get there, we know we've reached the bottom of the
MPLS stack (the do loop either fails by running past the end of the
packet and going to trunc, or by terminating because we find a label
entry with the BOS bit set); there's no need to check for that.
2010-03-19 11:47:19 -07:00
Guy Harris
272333b0ed Print the MPLS-encapsulated packet regardless of whether -v was
specified.

Even with multiple layers in the stack, print on one line unless -v was
specified.
2010-03-19 11:26:56 -07:00
Guy Harris
f410ee46c5 There's now a 4.1 branch; the main branch will become 4.2. 2010-03-15 11:48:57 -07:00
test2
8781649e5e Added a missing source file to the cygwin makefile. 2010-03-09 12:33:23 -08:00
test2
f8377b4e66 Added the definition of NBBY for Visual Studio compilers. 2010-03-09 12:32:27 -08:00
test2
5b9f86469e Added the Windows VS2005 projects. 2010-03-09 12:31:20 -08:00
Michael Richardson
3541a555b1 uudecode actually does not support -h, but --help 2010-03-05 12:38:27 -05:00
Michael Richardson
1d1c9ba86a tell the user what package they might find uudecode in 2010-03-05 12:37:17 -05:00
Michael Richardson
717ea6359c Merge branch 'master' of git+ssh://kingsmere.gatineau.credil.org/home/mcr/src/tcpdump 2010-03-05 12:35:45 -05:00
Michael Richardson
ea7f14bc59 fail all tests on machines without uudecode installed 2010-03-05 12:35:00 -05:00
Michael Richardson
4239b5a727 changed output of -vvv and -vvvv flags for forces 2010-03-05 11:41:39 -05:00
Guy Harris
d8d8985791 Merge branch 'cleanup' of git://github.com/krajaratnam/tcpdump 2010-02-23 18:07:34 -08:00
Guy Harris
ea5736c8c6 Process VLAN frames and Alteon jumbo frames in the Ethernet printer.
Instead of having the Ethernet-type handler process the VLAN and Alteon
jumbo frame Ethernet type values, process them in the Ethernet (and
Linux cooked-mode) dissectors.  This makes it easier for the right MAC
addresses to be printed for those packets.

As part of that, rename ether_encap_print() to ethertype_print() - it
doesn't print encapsulated Ethernet frames, it prints payloads whose
packet type is indicated by an Ethernet type field value - and remove
the no-longer-needed "extracted Ethernet type" argument.  That also lets
us eliminate it from the SNAP print routine.

Make ether_print() take a function, and an argument to pass to that
function, as parameters, so that, for example, the ATM LANE printer can
use it and put the LEC ID into the link-layer headeer printout.
2010-02-21 12:44:53 -08:00
Guy Harris
f99863c5be Add some bounds checks for the source routing information. 2010-02-21 11:29:46 -08:00
Guy Harris
623e4271b0 Don't directly fetch multi-byte integers from packets.
Use the EXTRACT_ macros to extract multi-byte integral values from
packets, rather than just dereferencing pointers into the packet; there
is no guarantee that the packet data will be aligned on the right
boundary, and there is no guarantee that, if they're not, a direct
access will work correctly.
2010-02-21 11:27:41 -08:00
Guy Harris
e8b5237589 Don't directly fetch multi-byte integers from packets.
Use the EXTRACT_ macros to extract multi-byte integral values from
packets, rather than just dereferencing pointers into the packet; there
is no guarantee that the packet data will be aligned on the right
boundary, and there is no guarantee that, if they're not, a direct
access will work correctly.
2010-02-21 00:27:00 -08:00
Guy Harris
b00042a8ae Add additional checks to make sure we don't go past the end of the packet. 2010-02-20 22:43:19 -08:00
Kovarththanan Rajaratnam
4c0eeb5986 mark autogenerated version as const 2010-02-20 09:19:55 +01:00
Kovarththanan Rajaratnam
bc60860d5e tcpdump.c: mark several variables as static 2010-02-20 09:02:30 +01:00
Kovarththanan Rajaratnam
5951ca70d2 strcasecmp.c: mark array as const 2010-02-20 08:56:59 +01:00
Kovarththanan Rajaratnam
01bfbb1819 smbutil.c: mark several structs as const 2010-02-20 08:55:19 +01:00
Kovarththanan Rajaratnam
15d5675086 signature.h/c: mark several structs as const 2010-02-20 08:53:15 +01:00
Kovarththanan Rajaratnam
e544ab094e oui.h/c: mark several structs as const 2010-02-20 08:50:09 +01:00
Kovarththanan Rajaratnam
adea5ee91c nlpid.h/c: mark several structs as const 2010-02-20 08:48:23 +01:00
Kovarththanan Rajaratnam
9c7cef6277 l2vpn.h/c: mark several structs as const 2010-02-20 08:47:15 +01:00
Kovarththanan Rajaratnam
08696c5fab ipproto.h/c: mark several structs as const 2010-02-20 08:45:56 +01:00
Kovarththanan Rajaratnam
16c6af16de gmpls.h/c: mark several structs as const 2010-02-20 08:44:31 +01:00
Kovarththanan Rajaratnam
e6c39e6db4 Precompute CRC-10 table.
We now precompute the CRC-10 table allowing us to mark it as const. The table was precomputed using a Python snippet (included as comment)
2010-02-20 08:40:44 +01:00
Kovarththanan Rajaratnam
2086d80fa0 af.h/c: make several structs const 2010-02-20 07:45:39 +01:00
Kovarththanan Rajaratnam
6457f82aaa addrtoname.c: make several structs static 2010-02-20 07:45:21 +01:00
Kovarththanan Rajaratnam
ec7a5640cf addrtoname.c: constify several structs 2010-02-20 07:32:39 +01:00
Guy Harris
599c6c53d1 Recognize -PRE-GIT as well as alpha/beta; clean up regexps a bit. 2010-02-08 16:28:42 -08:00
Guy Harris
7db583986e Get rid of extra blank line. 2010-02-08 02:42:48 -08:00
Guy Harris
b213bf62d9 We're using Git, not CVS, now. 2010-02-08 02:35:30 -08:00
Guy Harris
d50d7fd82e Recognize -b as a flag. 2010-02-08 02:33:12 -08:00
Guy Harris
06d0d52170 Mention the b flag in the usage message. 2010-02-08 02:24:10 -08:00
Guy Harris
ce2facf6bb Document the -b flag. 2010-02-08 02:22:10 -08:00
Guy Harris
72de6e8bc3 Use rlen rather than tll as the name of "remaining length" variables. 2010-02-07 18:02:41 -08:00