Commit Graph

146 Commits

Author SHA1 Message Date
Michael Richardson
3c4027f599 Merge commit 'lumag/master' 2010-05-13 13:52:46 -04:00
Guy Harris
e67e304a58 Our bittypes.h is needed only on Windows. Move it to win32/Include. 2010-04-04 13:24:32 -07:00
Guy Harris
427b1e0289 Back out mistaken change. 2010-04-04 12:45:06 -07:00
Guy Harris
103de367dc Fix check for Snow Leopard.
For OS X version 10.{x}.{y}, Darwin is (at least for later versions)
version {x+4}.{y}.
2010-04-04 12:42:00 -07:00
Guy Harris
c1b245043f Build universal on OS X by default; add an option to disable that.
Instead of requiring the user to specify -arch options on OS X to build
a universal version of tcpdump, just default to universal on OS X by
default.  Pick the particular targets to match the way tcpdump is built
for the OS for which we're building.
2010-04-04 12:08:11 -07:00
Guy Harris
7d7201ff75 Add the tests to the release tarball. 2010-04-01 23:02:46 -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
Dmitry Eremin-Solenikov
d8f84ef9f3 Makefile.in: fix print-802_15_4.c file order
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2010-03-09 18:13:03 +03:00
Dmitry Eremin-Solenikov
ec799d60f6 Merge remote branch 'origin/master' 2010-03-09 17:36:58 +03: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
ea7f14bc59 fail all tests on machines without uudecode installed 2010-03-05 12:35:00 -05:00
Kovarththanan Rajaratnam
4c0eeb5986 mark autogenerated version as const 2010-02-20 09:19:55 +01: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
66a566eded Put forces.h into the release tarball. 2010-01-10 14:44:35 -08:00
Michael Richardson
d0e01819c0 IETF FORCES protocol printer, from Jamal Hadi Salim <hadi at cyberus.ca. 2010-01-10 14:49:46 -05:00
Guy Harris
a10a7c2868 Include ipnet.h in the distribution. 2010-01-05 20:17:26 -08:00
Darren Reed
b116cd9ac4 The patches attached to this email are required to get a fully working tcpdump
on OpenSolaris, or Solaris Express Community Edition, build 125 and later.

The attached patch introduces support for printing out the IPNET headers used
for packet capture inside of zones that share their networking with the global
zone and for packets "transmitted" between zones.

tcpdump 4.0.0 will ship with builds 129 and later of OpenSolaris/SXCE and
when run as root with the '-L' option, should behave as below to indicate that
the system is fully functional:

Data link types (use option -y to set):
 DOCSIS (DOCSIS) (printing not supported)
 IPNET (Solaris IPNET)
 EN10MB (Ethernet)

Cheers,
Darren
2009-11-24 21:20:25 -05:00
Michael Richardson
5398dff7bc make check should depend uponi presence of built tcpdump 2009-11-14 20:50:39 -05:00
Dmitry Eremin-Solenikov
2158a39074 Add support for IEEE 802.15.4 packets
Add a dummy printer for ieee 802.15.4 pakets.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2009-08-09 18:06:27 +04:00
Guy Harris
a2fb078ab4 Nothing in missing/getaddrinfo.c is used in tcpdump, and it's a pain to
make it build on Tru64 UNIX, so get rid of it.
2009-07-08 01:18:11 -07:00
Guy Harris
bee8bec6a4 Include Makefile-devel-adds in the release tarball, just in case
somebody creates .devel.
2009-07-02 19:48:54 -07:00
Guy Harris
6c24bfd422 Add the release tarball to the .gitignore list and the list of files to
clean.
2009-06-07 14:29:45 -07:00
Guy Harris
1d8d0b50dd signature.h is a header file, not a source file, so add it to HDR rather
than CSRC.
2009-04-04 12:33:20 -07:00
Guy Harris
2c28d8f466 From Bert Vermeulen: add a USB printer, and fix the error message
printed when trying to print packets for a DLT_ for which we don't have
a printer to indicate that you can still save to a capture file in that
case.  (Slightly changed not to require DLT_USB_LINUX_MMAPPED to be
defined, for older libpcaps that only define DLT_USB_LINUX.)
2009-04-04 12:30:27 -07:00
Ken Bantoft
1fffe7497a Add signature.h 2009-03-25 21:49:25 -04:00
guy
5261c86a48 Fixes for building in a directory other than the source directory. 2008-11-21 23:17:26 +00:00
guy
3565ec111d Run the tcpdump man page through config, so that it refers to the right
man page sections.  Have it refer to the new pcap-savefile man page for
a description of the savefile format.
2008-10-27 21:12:48 +00:00
hannes
3d3c70fbe9 add infrastructure for verifiying the HMAC-MD5 digest in routing protocols.
The shared secret is passed using the already existing -M option which is
used for TCP-MD5 checking.

add initial supoort for RSVP Integrity object verification.
2008-08-16 11:36:20 +00:00
guy
78c1a663f2 FILES isn't used to make the tarball any more; get rid of it.
Update HDR in Makefile.in to include all headers.

Add an EXTRA_DIST variable to include all the files that should go into
the tarball and that aren't in CSRC or HDR, other than tcpdump.1.

Use CSRC, HDR, and EXTRA_DIST to determine what goes into the tarball,
along with tcpdump.1, rather than doing a "make distclean" and putting
everything into the tarball; that way, you can do "make releasetar"
without cleaning out the current directory.

Given that we're not just tarring up the entire source directory, we can
make the tarball directory as a subdirectory of the current directory and
put the tarball into the current directory, rather than putting it into
a (not-entirely-obvious) ../n directory.  Clean out the tarball
directory when we're done.
2008-05-27 07:13:21 +00:00
guy
0d80ed9209 From Mike Frysinger: have the "install" target depend on "all" so you
can do "make install" without having to do "make" first.
2008-02-26 19:24:14 +00:00
guy
1789f57c36 From Andrew Silent: Realtek Remote Control Protocol support (see
OpenRRCP.org.ru for details).
2008-02-06 10:47:53 +00:00
guy
cfab7ed87f Run ranlib on libnetdissect.a if necessary. Remove it before building
it, so we discard any stuff already in the archive.
2008-02-04 20:33:21 +00:00
mcr
5fa8fc69b2 added "make check"
when optimization is not on, glibc6 doesn't define ntohs(), and our attempt
to optimize it for x86 doesn't work --- the functions need to be static, not
extern.
added decryption of IKE v2 payloads, when keys are provided by -E.
2007-11-24 18:13:33 +00:00
guy
3a34763284 From Paolo Abeni: print some basic Bluetooth information.
Update CREDITS, FILES, and INSTALL appropriately; clean up changes to
Makefile.in to keep the file names in order.
2007-09-24 23:46:26 +00:00
guy
7e5e89df69 From Max Laier: check whether the system has <net/pfvar.h> and:
if it does, use that for the pf definitions;

	if it doesn't, don't compile in pf support;

as both OpenBSD and FreeBSD have changed the pf definitions and header
format without changing the DLT value, so you can't reliably read
pflog-format libpcap files on a machine running an OS version other than
the one on which the file was generated.
2007-09-12 19:36:18 +00:00
mcr
3344dbf254 split sources into regular tcpdump sources, and libnetdissect sources, move print-isakmp.c
to netdissect.
2007-08-29 12:31:27 +00:00
hannes
e7dc0250ec from Carles Kishimoto <carles.kishimoto@gmail.com>: add support for the SFLOW protocol 2007-08-08 17:20:58 +00:00
hannes
bbb4050969 add basic support for the IEEE Link Discovery Protocol as per 802.1ab 2007-08-03 11:03:19 +00:00
hannes
f89e58426d From Carles Kishimoto <carles.kishimoto@gmail.com>:
add initial support for the Light Weight Access Point Protocol
as per draft-ohara-capwap-lwapp-04
2007-07-24 16:07:29 +00:00
mcr
73bdd403e9 releasetar fixed up to be useable. 2007-07-24 02:40:59 +00:00
mcr
ec4de63c6f removed unused tar: target, added releasetar: 2007-07-24 02:21:25 +00:00
hannes
cb08bf9e3e add basic skeleton for printing olsr packets as per rfc3626
add a line break in verbose mode fro the ip printer.
2007-03-27 10:44:09 +00:00
hannes
9f2e33e713 From From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the cisco propriatry 'dynamic trunking protocol'
2007-03-23 08:12:00 +00:00
hannes
61fb61ab08 From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for the cisco proprietary VTP protocol
2007-03-21 07:35:00 +00:00
hannes
b831d743ff From Carles Kishimoto <carles.kishimoto@gmail.com>:
add support for unidirectional link detection as per
http://www.ietf.org/internet-drafts/draft-foschiano-udld-02.txt
2007-03-19 15:42:47 +00:00
guy
909204fd5f Don't assume "echo -n" strips off the newline; it doesn't, if the echo
command behaves like the SV echo.  Instead, strip off the newline with
"tr -d '\012'".
2007-02-01 02:15:19 +00:00
hannes
1226a40cb0 add skeleton support for 802.1ag CFM 2006-10-12 10:26:12 +00:00
guy
81276563fd sed reads its standard input by default, and not all versions understand
"-" as meaning "standard input".
2006-10-04 18:03:15 +00:00