]> The Tcpdump Group git mirrors - tcpdump/log
tcpdump
11 years agoBOOTP: try to fix 2 newly added compile warnings
Denis Ovsienko [Thu, 27 Mar 2014 09:14:14 +0000 (13:14 +0400)] 
BOOTP: try to fix 2 newly added compile warnings

format not a string literal and no format arguments [-Wformat-security]

11 years agoNDOize OSPFv3 decoder
Denis Ovsienko [Thu, 27 Mar 2014 06:21:14 +0000 (10:21 +0400)] 
NDOize OSPFv3 decoder

11 years agoNDOize BGP decoder
Denis Ovsienko [Wed, 26 Mar 2014 15:50:33 +0000 (19:50 +0400)] 
NDOize BGP decoder

11 years agomake use of ND_DEFAULTPRINT()
Denis Ovsienko [Wed, 26 Mar 2014 14:52:40 +0000 (18:52 +0400)] 
make use of ND_DEFAULTPRINT()

11 years agoremove an unused declaration from netdissect.h
Denis Ovsienko [Wed, 26 Mar 2014 14:42:17 +0000 (18:42 +0400)] 
remove an unused declaration from netdissect.h

11 years agoparsenfsfh: fix old-style function definitions
Francois-Xavier Le Bail [Wed, 26 Mar 2014 13:16:05 +0000 (14:16 +0100)] 
parsenfsfh: fix old-style function definitions

11 years agoNDOize AODV, IPv4 and SCTP decoders
Denis Ovsienko [Wed, 26 Mar 2014 11:47:29 +0000 (15:47 +0400)] 
NDOize AODV, IPv4 and SCTP decoders

11 years agofinalize some previous NDO conversions
Denis Ovsienko [Wed, 26 Mar 2014 09:08:22 +0000 (13:08 +0400)] 
finalize some previous NDO conversions

Eliminate a number of fputs(), putchar() and fflush() uses. Justify
preprocessor directives. Don't typecast ND_PRINT() to void and fix some
indentation.

11 years agoprint-sunrpc: fix old-style function definition
Francois-Xavier Le Bail [Wed, 26 Mar 2014 08:58:13 +0000 (09:58 +0100)] 
print-sunrpc: fix old-style function definition

11 years agoOpenFlow: add IANA-allocated TCP port
Denis Ovsienko [Tue, 25 Mar 2014 12:26:25 +0000 (16:26 +0400)] 
OpenFlow: add IANA-allocated TCP port

OF specifications 1.0.2 and 1.3.3 use a different port number. That
said, the old port is still likely to be seen in the wild after 4 years
of deployment. Let tcpdump recognize both for a while.

11 years agoNDOize BOOTP, DHCPv6, DNS, PIM and sFlow decoders
Denis Ovsienko [Tue, 25 Mar 2014 11:05:59 +0000 (15:05 +0400)] 
NDOize BOOTP, DHCPv6, DNS, PIM and sFlow decoders

Also add/remove tabs in a few involved functions to justify indentation.

11 years agoDNS: fix a typo
Denis Ovsienko [Tue, 25 Mar 2014 07:56:49 +0000 (11:56 +0400)] 
DNS: fix a typo

11 years agoMakefile.in: add strdup.o target ; remove getaddrinfo.o nonexistent target 378/head
Francois-Xavier Le Bail [Tue, 25 Mar 2014 09:41:50 +0000 (10:41 +0100)] 
Makefile.in: add strdup.o target ; remove getaddrinfo.o nonexistent target

11 years agoupdate the ITA URL in README
Denis Ovsienko [Mon, 24 Mar 2014 16:22:22 +0000 (20:22 +0400)] 
update the ITA URL in README

11 years agoprint-babel: don't parse two times the same field.
Matthieu Boutier [Wed, 20 Nov 2013 16:07:03 +0000 (17:07 +0100)] 
print-babel: don't parse two times the same field.

11 years agoprint-llc: add a missing break
Francois-Xavier Le Bail [Mon, 24 Mar 2014 04:38:22 +0000 (05:38 +0100)] 
print-llc: add a missing break

11 years agouse ND_PRINT in print-esp.c
Denis Ovsienko [Sun, 23 Mar 2014 06:36:31 +0000 (10:36 +0400)] 
use ND_PRINT in print-esp.c

11 years agoremove duplicate prototypes from netdissect.h
Denis Ovsienko [Sun, 23 Mar 2014 06:33:52 +0000 (10:33 +0400)] 
remove duplicate prototypes from netdissect.h

11 years agoNDOize VRRP decoder
Denis Ovsienko [Sun, 23 Mar 2014 06:28:40 +0000 (10:28 +0400)] 
NDOize VRRP decoder

11 years agoNDOize 7 more small decoders
Denis Ovsienko [Fri, 21 Mar 2014 12:48:24 +0000 (16:48 +0400)] 
NDOize 7 more small decoders

This change converts DVMRP, DLT_ENC, EGP, GeoNet, NetFlow, SLIP and TFTP
decoders.

11 years agoNDOize ATM, MPTCP, NTP, VTP & Whiteboard decoders
Denis Ovsienko [Thu, 20 Mar 2014 10:39:44 +0000 (14:39 +0400)] 
NDOize ATM, MPTCP, NTP, VTP & Whiteboard decoders

11 years agoprint-tipc: variable 'prev_node' is reassigned the same value
Francois-Xavier Le Bail [Thu, 20 Mar 2014 08:44:48 +0000 (09:44 +0100)] 
print-tipc: variable 'prev_node' is reassigned the same value

11 years agoPGM: reuse existing AF macros
Denis Ovsienko [Wed, 19 Mar 2014 12:45:12 +0000 (16:45 +0400)] 
PGM: reuse existing AF macros

11 years agoNDOize 7 bigger decoders
Denis Ovsienko [Wed, 19 Mar 2014 09:57:56 +0000 (13:57 +0400)] 
NDOize 7 bigger decoders

This change converts IGMP, IPv6 mobility options, LDP, Lightweight
Access Point, PGM, PPTP and RIP decoders.

11 years agoNDOize Frame Relay, LMP and RADIUS decoders
Denis Ovsienko [Tue, 18 Mar 2014 12:09:00 +0000 (16:09 +0400)] 
NDOize Frame Relay, LMP and RADIUS decoders

11 years agoMerge pull request #376 from fxlb/distclean
fxlb [Tue, 18 Mar 2014 07:58:32 +0000 (08:58 +0100)] 
Merge pull request #376 from fxlb/distclean

Makefile.in: 'distclean' target: add files and directories to remove

11 years agoMakefile.in: 'distclean' target: add files and directories to remove 376/head
Francois-Xavier Le Bail [Mon, 17 Mar 2014 15:23:00 +0000 (16:23 +0100)] 
Makefile.in: 'distclean' target: add files and directories to remove

11 years agoNDOize OpenFlow, IEEE slow and telnet decoders
Denis Ovsienko [Mon, 17 Mar 2014 15:17:57 +0000 (19:17 +0400)] 
NDOize OpenFlow, IEEE slow and telnet decoders

11 years agofrom Swaathi Vetrivel:
Hannes Gredler [Mon, 17 Mar 2014 10:38:32 +0000 (11:38 +0100)] 
from Swaathi Vetrivel:

update Linktrace Reply Flags as per the latest spec:
IEEE 802.1ag Standard, June 18, 2007. Page 199, Section 21.9.2, table 21-26

11 years agojustify MIN()/min() further (complements dbfdf97)
Denis Ovsienko [Sat, 15 Mar 2014 19:30:58 +0000 (23:30 +0400)] 
justify MIN()/min() further (complements dbfdf97)

11 years agoNDOize EIGRP, ICMP, L2TP, STP and UDP decoders
Denis Ovsienko [Sat, 15 Mar 2014 19:25:06 +0000 (23:25 +0400)] 
NDOize EIGRP, ICMP, L2TP, STP and UDP decoders

11 years agoNDOize LLC decoder
Denis Ovsienko [Sat, 15 Mar 2014 11:29:46 +0000 (15:29 +0400)] 
NDOize LLC decoder

11 years agofinish switching Ethernet decoder to NDO
Denis Ovsienko [Sat, 15 Mar 2014 10:40:32 +0000 (14:40 +0400)] 
finish switching Ethernet decoder to NDO

11 years agomake use of NETDISSECT_REWORKED
Denis Ovsienko [Sat, 15 Mar 2014 10:19:49 +0000 (14:19 +0400)] 
make use of NETDISSECT_REWORKED

Update the already converted decoders to define the macro and to include
interface.h instead of netdissect.h. Fix incurred compile errors.

11 years agoNDOize DCCP, Linux socket and RPKI-Router decoders
Denis Ovsienko [Fri, 14 Mar 2014 16:05:27 +0000 (20:05 +0400)] 
NDOize DCCP, Linux socket and RPKI-Router decoders

11 years agoNDOize FDDI, MPCP, Token Ring, VQP and Zephyr decoders
Denis Ovsienko [Fri, 14 Mar 2014 12:10:54 +0000 (16:10 +0400)] 
NDOize FDDI, MPCP, Token Ring, VQP and Zephyr decoders

11 years agoremove unused macro SEGSIZE
Denis Ovsienko [Fri, 14 Mar 2014 10:23:41 +0000 (14:23 +0400)] 
remove unused macro SEGSIZE

11 years agojustify min()/max() macros declarations and usage
Denis Ovsienko [Fri, 14 Mar 2014 05:52:40 +0000 (09:52 +0400)] 
justify min()/max() macros declarations and usage

This change moves the macros to tcpdump-stdinc.h to make sure these are
available without interface.h. It also dismisses two redundant macros
MIN() and SMBMIN(). It is intended to fix the following Solaris compile
error:

Undefined                       first referenced
 symbol                             in file
MIN                                 print-zeromq.o

11 years agoNDOize 8 more small decoders
Denis Ovsienko [Thu, 13 Mar 2014 13:21:55 +0000 (17:21 +0400)] 
NDOize 8 more small decoders

This change converts ZeroMQ, IPX, MPLS, IPv6 options, PPPoE, RIPng,
PFLOG and Sun RPC decoders.

11 years agoNDOize print-ascii.c further
Denis Ovsienko [Thu, 13 Mar 2014 07:06:15 +0000 (11:06 +0400)] 
NDOize print-ascii.c further

Introduce netdissect_options into hex_and_ascii_print_with_offset(),
hex_and_ascii_print() and related functions.

11 years agoNDOize more small decoders
Denis Ovsienko [Wed, 12 Mar 2014 16:02:32 +0000 (20:02 +0400)] 
NDOize more small decoders

This change converts decoders for: DLT_RAW, IPv6 routing header, USB,
Symantec firewall and cHDLC.

11 years agorefine some past NDO conversions
Denis Ovsienko [Wed, 12 Mar 2014 14:11:23 +0000 (18:11 +0400)] 
refine some past NDO conversions

Don't include unneeded headers and replace a few remaining printf's.

11 years agoVJC: NDOize
Denis Ovsienko [Wed, 12 Mar 2014 09:06:10 +0000 (13:06 +0400)] 
VJC: NDOize

11 years agoRRCP: don't include unneeded headers
Denis Ovsienko [Wed, 12 Mar 2014 08:57:31 +0000 (12:57 +0400)] 
RRCP: don't include unneeded headers

11 years agoFix compilation with old versions of MSVC.
Gisle Vanem [Tue, 11 Mar 2014 20:21:30 +0000 (13:21 -0700)] 
Fix compilation with old versions of MSVC.

Some old versions of MSVC have broken C preprocessors and failed to
handle #ifdef/#else/#endif in the middle of a macro call.  Just

11 years agoMerge pull request #375 from fxlb/print-llc
Denis Ovsienko [Tue, 11 Mar 2014 17:49:13 +0000 (20:49 +0300)] 
Merge pull request #375 from fxlb/print-llc

print-llc: some variables are updated, their new values are never used

11 years agoNDOize ARCNET, BFD and GRE decoders
Denis Ovsienko [Tue, 11 Mar 2014 12:08:24 +0000 (16:08 +0400)] 
NDOize ARCNET, BFD and GRE decoders

11 years agoNDOize AHCP, OTV and VXLAN decoders
Denis Ovsienko [Sat, 8 Mar 2014 11:28:13 +0000 (15:28 +0400)] 
NDOize AHCP, OTV and VXLAN decoders

11 years agoNDOize 5 more decoders
Denis Ovsienko [Fri, 7 Mar 2014 13:52:45 +0000 (17:52 +0400)] 
NDOize 5 more decoders

Update Apple's IP over IEEE1394, Bluetooth, CALM/FAST, IPv6 fragments
and LAN emulation decoders. Remove some stray passages while at it.

11 years agoprint-llc: some variables are updated and their new values are never used 375/head
Francois-Xavier Le Bail [Fri, 7 Mar 2014 14:46:53 +0000 (15:46 +0100)] 
print-llc: some variables are updated and their new values are never used

11 years agoMerge pull request #373 from fxlb/print-ppp
Denis Ovsienko [Fri, 7 Mar 2014 12:51:41 +0000 (15:51 +0300)] 
Merge pull request #373 from fxlb/print-ppp

print-ppp: variable 'length' is updated and the new value is never used

11 years agoMerge pull request #372 from fxlb/print-telnet
Denis Ovsienko [Fri, 7 Mar 2014 12:51:32 +0000 (15:51 +0300)] 
Merge pull request #372 from fxlb/print-telnet

print-telnet: variable 'length' is updated, the new value is never used

11 years agoprint-ppp: variable 'length' is updated and the new value is never used 373/head
Francois-Xavier Le Bail [Fri, 7 Mar 2014 09:39:46 +0000 (10:39 +0100)] 
print-ppp: variable 'length' is updated and the new value is never used

11 years agoprint-telnet: variable 'length' is updated and the new value is never used 372/head
Francois-Xavier Le Bail [Fri, 7 Mar 2014 09:24:27 +0000 (10:24 +0100)] 
print-telnet: variable 'length' is updated and the new value is never used

11 years agoNDOize IP mobile, MSDP and NULL decoders
Denis Ovsienko [Thu, 6 Mar 2014 16:41:44 +0000 (20:41 +0400)] 
NDOize IP mobile, MSDP and NULL decoders

11 years agoVRRP: top off the previous change
Denis Ovsienko [Wed, 5 Mar 2014 22:48:55 +0000 (02:48 +0400)] 
VRRP: top off the previous change

Update the test cases and squelch a compiler warning.

11 years agoAdd support for VRRPv3 (IPv4 only).
Angus Cameron [Sun, 16 Feb 2014 09:08:39 +0000 (20:08 +1100)] 
Add support for VRRPv3 (IPv4 only).

11 years agoVRRP: add a sample capture and two test cases
Denis Ovsienko [Wed, 5 Mar 2014 22:31:25 +0000 (02:31 +0400)] 
VRRP: add a sample capture and two test cases

The sample capture consists of VRRPv2/IPv4, VRRPv3/IPv4 and VRRPv3/IPv6
packets. It was produced using 7 MikroTik devices running RouterOS 6.10
and configured for the same set of virtual addresses with different
priorities per device. The devices were powered on one after another
with a ~30 seconds delay in the order of VRRP priority ascending. The
test cases decode the capture with and without "-v".

11 years agoFix commit 833425ab: babel uses 1/100th of seconds, not 1/10th
Baptiste Jonglez [Tue, 4 Mar 2014 17:02:34 +0000 (18:02 +0100)] 
Fix commit 833425ab: babel uses 1/100th of seconds, not 1/10th

Also update affected testcases.

11 years agoZMTP: fix an MSVC compiler warning
Gisle Vanem [Wed, 5 Mar 2014 09:19:24 +0000 (13:19 +0400)] 
ZMTP: fix an MSVC compiler warning

The prototype and implementation of 'zmtp1_print_datagram()' is slightly
different; the prototype has a 'const u_int len' as the last parameter.
Whereas the implementation has no 'const'. Hence I get a warning from
MSVC.

11 years agoUse a common style for all option parsers.
Guy Harris [Tue, 4 Mar 2014 23:15:09 +0000 (15:15 -0800)] 
Use a common style for all option parsers.

Report "length bogus, should be ..." for invalid lengths for all
options.  That's not a fatal error - the next option can be parsed - so
don't return 0 in that case.

Don't put a colon after the option length unless there's something
following it.

Do the TCHECKs for particular CCP options in the code to handle the
option, as is done elsewhere.

Print the values for the CCP options on the same line, as is done
elsewhere.

11 years agoPrint some PPP CCP options; taken from issue #214, with changes.
Guy Harris [Tue, 4 Mar 2014 22:23:57 +0000 (14:23 -0800)] 
Print some PPP CCP options; taken from issue #214, with changes.

Report the CCP protocol type as CCP.

Decode options for BSD, MRVCA, and DEFLATE compression.

Add some explanatory comments, and add some length checks, while we're
at it.

11 years agoissues/286: get rid of Useless "no IPv4 address assigned" warning
Michael Richardson [Tue, 4 Mar 2014 14:04:45 +0000 (14:04 +0000)] 
issues/286: get rid of Useless "no IPv4 address assigned" warning

11 years agoNDOize HSRP, IGRP and UDLD decoders
Denis Ovsienko [Tue, 4 Mar 2014 09:55:24 +0000 (13:55 +0400)] 
NDOize HSRP, IGRP and UDLD decoders

11 years agoremove unused print-netbios.c
Denis Ovsienko [Tue, 4 Mar 2014 09:25:16 +0000 (13:25 +0400)] 
remove unused print-netbios.c

The file had no purpose as the draft code in it wasn't compiled.

11 years agoupdate Gisle's e-mail address per his request
Denis Ovsienko [Fri, 28 Feb 2014 18:06:22 +0000 (22:06 +0400)] 
update Gisle's e-mail address per his request

11 years agoTravis script: set silent operation for make 370/head
fxlb [Fri, 28 Feb 2014 15:56:05 +0000 (16:56 +0100)] 
Travis script: set silent operation for make

This change allows to see better the possible warnings

11 years agoNDOize CIP, IPComp and IPFC decoders
Denis Ovsienko [Fri, 28 Feb 2014 09:42:37 +0000 (13:42 +0400)] 
NDOize CIP, IPComp and IPFC decoders

Also remove some unneeded includes while at it.

11 years agodon't include pcap.h needlessly
Denis Ovsienko [Fri, 28 Feb 2014 09:10:28 +0000 (13:10 +0400)] 
don't include pcap.h needlessly

Both interface.h and netdissect.h include <pcap.h>, thus most files
should not include it regardless if these need it or not. The only
exceptions so far remain:
* addrtoname.c
* missing/datalinks.c
* missing/dlnames.c
* tcpdump.c

11 years agoTravis script: refactor env section 369/head
fxlb [Fri, 28 Feb 2014 12:48:49 +0000 (13:48 +0100)] 
Travis script: refactor env section

11 years agoAsk for more warnings during a Travis CI build 368/head
fxlb [Fri, 28 Feb 2014 11:44:47 +0000 (12:44 +0100)] 
Ask for more warnings during a Travis CI build

.travis.yml: add 'touch .devel configure'

11 years agoNDOize AH, BEEP and DTP decoders
Denis Ovsienko [Thu, 27 Feb 2014 11:13:43 +0000 (15:13 +0400)] 
NDOize AH, BEEP and DTP decoders

Also remove some unnecessary passages.

11 years agorevert the latest change
Denis Ovsienko [Wed, 26 Feb 2014 14:16:53 +0000 (18:16 +0400)] 
revert the latest change

./configure fails during the "BUILD_LIBPCAP=true BUILD_IPV6=true"
scenarios (both GCC and Clang):

Makefile:8411: warning: overriding commands for target `configure'
Makefile:455: warning: ignoring old commands for target `configure'
Makefile:8416: warning: overriding commands for target `stamp-h.in'
Makefile:460: warning: ignoring old commands for target `stamp-h.in'
Makefile:8421: warning: overriding commands for target `stamp-h'
Makefile:465: warning: ignoring old commands for target `stamp-h'
Makefile:8424: warning: overriding commands for target `Makefile'
Makefile:468: warning: ignoring old commands for target `Makefile'
Makefile:8427: warning: overriding commands for target `config.status'
Makefile:471: warning: ignoring old commands for target `config.status'
[...]
./config.status: line 1103: syntax error near unexpected token `done'
./config.status: line 1103: `done # for ac_tag'

I don't have the expertise to resolve it well right now, keep Travis CI
working meanwihle.

11 years agorequest more warnings during a Travis build
Denis Ovsienko [Wed, 26 Feb 2014 12:39:15 +0000 (16:39 +0400)] 
request more warnings during a Travis build

11 years agodismiss decode_prefix.h
Denis Ovsienko [Wed, 26 Feb 2014 12:38:53 +0000 (16:38 +0400)] 
dismiss decode_prefix.h

The only purpose of that header file was to provide two declarations
that now fit interface.h same well.

11 years agorefine the previous change
Denis Ovsienko [Wed, 26 Feb 2014 12:15:28 +0000 (16:15 +0400)] 
refine the previous change

This time eliminate a few instances of the code initializing struct tok
with negative values and squelch the warnings like below:

warning: initializer will be sign-extended: -1

11 years agobase struct tok on unsigned rather than signed int
Denis Ovsienko [Wed, 26 Feb 2014 10:49:56 +0000 (14:49 +0400)] 
base struct tok on unsigned rather than signed int

This resolves a few Solaris-specific warnings emitted by
/opt/solarisstudio12.3/bin/cc like below:

warning: initializer does not fit or is out of range: 0xffffffff

(also happened for 0x80000000)

11 years agoNFS: unify TCP and UDP decoding, fix a bug
Denis Ovsienko [Wed, 26 Feb 2014 10:14:06 +0000 (14:14 +0400)] 
NFS: unify TCP and UDP decoding, fix a bug

Change the UDP NFS printing format to match the current format of TCP
NFS printing (this complements commits f3051bc and 29d83db).

Update the man page to use the new format (this complements commit
2c86c75).

Restore printing of NFS packet length, which was broken in commit
68fe98a.

11 years agoCARP: NDOize
Denis Ovsienko [Tue, 25 Feb 2014 14:23:45 +0000 (18:23 +0400)] 
CARP: NDOize

11 years agodon't include addrtoname.h needlessly
Denis Ovsienko [Tue, 25 Feb 2014 13:53:08 +0000 (17:53 +0400)] 
don't include addrtoname.h needlessly

11 years agoDo a bunch more length checking.
Guy Harris [Sun, 16 Feb 2014 22:39:57 +0000 (14:39 -0800)] 
Do a bunch more length checking.

Make sure we don't run past the end of the packet or, when processing
the packet header, run past the end of the header.

11 years agomake OpenSSL-specific tests conditional
Denis Ovsienko [Sun, 16 Feb 2014 20:22:37 +0000 (00:22 +0400)] 
make OpenSSL-specific tests conditional

11 years agoMerge pull request #366 from fxlb/dccpv6
Guy Harris [Sun, 16 Feb 2014 19:53:19 +0000 (11:53 -0800)] 
Merge pull request #366 from fxlb/dccpv6

fix partial checksum errors in DCCP decoder, IPv6 case

11 years agofix partial checksum errors in DCCP decoder, IPv6 case 366/head
Francois-Xavier Le Bail [Sun, 16 Feb 2014 17:29:37 +0000 (18:29 +0100)] 
fix partial checksum errors in DCCP decoder, IPv6 case

11 years agoMerge git://github.com/the-tcpdump-group/tcpdump
Guy Harris [Sun, 16 Feb 2014 10:28:04 +0000 (02:28 -0800)] 
Merge git://github.com/the-tcpdump-group/tcpdump

11 years agoMerge pull request #364 from fxlb/dccp
Guy Harris [Sun, 16 Feb 2014 10:27:30 +0000 (02:27 -0800)] 
Merge pull request #364 from fxlb/dccp

DCCP tests: more verbosity (from -v to -vv)

11 years agoFetch the sequence number the way we fetch the acknowledgment number.
Guy Harris [Sun, 16 Feb 2014 10:21:28 +0000 (02:21 -0800)] 
Fetch the sequence number the way we fetch the acknowledgment number.

Fetch 24 bits if the X bit isn't set, 48 bits if it is, using the
appropriate EXTRACT_ macros.

We do this with "struct dccp_hdr" being a header structure with a 24-bit
sequence number and "struct dccp_hdr_ext" being a header structure with
a 48-bit sequence number.

11 years agoUse an 8-octet array when the ACK field is always 8 octets.
Guy Harris [Sun, 16 Feb 2014 09:42:30 +0000 (01:42 -0800)] 
Use an 8-octet array when the ACK field is always 8 octets.

Get rid of "struct dccp_hdr_ack_bits" while we're at it.

11 years agoGet rid of unused function.
Guy Harris [Sun, 16 Feb 2014 09:20:48 +0000 (01:20 -0800)] 
Get rid of unused function.

11 years agoDCCP tests: more verbosity (from -v to -vv) 364/head
Francois-Xavier Le Bail [Sun, 16 Feb 2014 08:46:57 +0000 (09:46 +0100)] 
DCCP tests: more verbosity (from -v to -vv)

11 years agoAdd {40,48,56}-bit big-endian extract macros and use them for DCCP ACKs.
Guy Harris [Sun, 16 Feb 2014 04:37:28 +0000 (20:37 -0800)] 
Add {40,48,56}-bit big-endian extract macros and use them for DCCP ACKs.

Add macros to, given an octet pointer, extract 40-bit, 48-bit, and
56-bit big-endian numbers from the location pointed to by that pointer,
and use them when extracting ACK numbers from DCCP packets.  This fixes
problems on big-endian(!) machines.

11 years agoMark structures with UNALIGNED.
Guy Harris [Sun, 16 Feb 2014 04:01:06 +0000 (20:01 -0800)] 
Mark structures with UNALIGNED.

Maybe this will fix the crashes that appear to be occurring on the
opencsw.org buildbot; it's building with Sun/Oracle C, not GCC, but it's
at least worth a try.

11 years agoMerge pull request #363 from fxlb/master
Guy Harris [Sat, 15 Feb 2014 19:43:53 +0000 (11:43 -0800)] 
Merge pull request #363 from fxlb/master

fix partial checksum errors in DCCP decoder, IPv4 case

11 years agofix partial checksum errors in DCCP decoder, IPv4 case 363/head
Francois-Xavier Le Bail [Sat, 15 Feb 2014 11:32:44 +0000 (12:32 +0100)] 
fix partial checksum errors in DCCP decoder, IPv4 case

11 years agoonly include udp.h when necessary
Denis Ovsienko [Tue, 11 Feb 2014 05:32:17 +0000 (09:32 +0400)] 
only include udp.h when necessary

11 years agoprint-pptp: add a missing break
Denis Ovsienko [Mon, 10 Feb 2014 13:23:58 +0000 (17:23 +0400)] 
print-pptp: add a missing break

11 years agoprint-pptp: pptp_result_code_print(): badly placed break 360/head
Francois-Xavier Le Bail [Mon, 10 Feb 2014 12:43:14 +0000 (13:43 +0100)] 
print-pptp: pptp_result_code_print(): badly placed break

11 years agoRRCP: remove extra return
Denis Ovsienko [Mon, 10 Feb 2014 10:19:04 +0000 (14:19 +0400)] 
RRCP: remove extra return

11 years agoprint-mobile: mobile_print(): variable 'cp' is assigned a value that is never used 359/head
fxlb [Wed, 5 Feb 2014 21:08:58 +0000 (22:08 +0100)] 
print-mobile: mobile_print(): variable 'cp' is assigned a value that is never used

11 years agoprint-forces: print_metailv(): unused parameter 'len'
fxlb [Wed, 5 Feb 2014 20:35:04 +0000 (21:35 +0100)] 
print-forces: print_metailv(): unused parameter 'len'