Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ISOCLNS: Fix a segmentation fault | Francois-Xavier Le Bail | 2015-11-19 | 1 | -19/+23 |
| | | | | | Moreover: Avoid two consecutive truncation messages. | ||||
* | ISOCLNS: Fix two segmentation faults | Francois-Xavier Le Bail | 2015-11-19 | 1 | -33/+45 |
| | | | | | | | | Moreover: Add/fix a lot of bounds and length checks. Add and use tstr[] string. Fix some typos. Update the output of a test according to these changes. | ||||
* | ISOCLNS: Fix some warnings | Francois-Xavier Le Bail | 2015-11-19 | 1 | -5/+6 |
| | | | | | | | | | | | The warnings were: ./print-isoclns.c: In function 'osi_print_cksum': ./print-isoclns.c:3107:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || length > ndo->ndo_snaplen ^ ./print-isoclns.c:3108:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || checksum_offset > ndo->ndo_snaplen ^ | ||||
* | Add a missing space to a printout. | Guy Harris | 2015-09-02 | 1 | -1/+1 |
| | |||||
* | Not all C compilers accept C++/C99 comments by default. | Guy Harris | 2015-04-14 | 1 | -3/+7 |
| | | | | Use "#if 0" instead to comment out code. | ||||
* | protected osi_print_cksum is more general fashion | Michael Richardson | 2015-03-09 | 1 | -6/+9 |
| | |||||
* | some patches to deal with kday pcap files | Michael Richardson | 2015-03-09 | 1 | -2/+11 |
| | |||||
* | clean K&R style up in function declarations a bit | Denis Ovsienko | 2015-03-05 | 1 | -10/+10 |
| | | | | The function body should have its opening brace on the next line. | ||||
* | Don't run past the snaplength when printing a packet with a too-short LI. | Guy Harris | 2015-03-01 | 1 | -1/+1 |
| | | | | Fixes GitHub issue #437. | ||||
* | Squelch a Coverity warning. | Guy Harris | 2015-02-06 | 1 | -2/+1 |
| | | | | | For unknown PDU types, we return 0 whether print_unknown_data() succeeds or fails; don't bother checking whether it succeeds, Just Do It. | ||||
* | Leave it up to ip6_print() to handle non-IPv6-capable systems. | Guy Harris | 2014-10-01 | 1 | -2/+0 |
| | | | | | | | | | | | | Always define and declare ip6_print(), always compile print-ip6.c, and always call it if we recognize a payload as IPv6. If INET6 isn't defined, ip6_print() will just print the length and note that printing isn't supported. That way, we don't do weird dissection of IPv6 packets on systems without IPv6 support, due to, for example, ethertype_print() returning 0 ("not dissected") for IPv6 packets on those systems (IPv6-over-Frame Relay was dissected weirdly due to this). | ||||
* | u_intN_t is dead, long live uintN_t. | Guy Harris | 2014-04-23 | 1 | -106/+106 |
| | | | | | | | | | And, as we require at least autoconf 2.61, and as autoconf 2.61 and later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to define the uintN_t and intN_t macros if the system doesn't define them for us. This lets us get rid of bitypes.h as well. | ||||
* | Netdissectify the to-name resolution routines. | Guy Harris | 2014-04-04 | 1 | -12/+12 |
| | | | | | | | | Have them take a netdissect_options * argument, and get the "no name resolution" flag from it. Move the declaration of dnaddr_string to addrtoname.h, along with the other XXX-to-string routines. | ||||
* | NDOize some generic code | Denis Ovsienko | 2014-04-03 | 1 | -1/+1 |
| | |||||
* | NDOize LLDP, PPP and RSVP decoders | Denis Ovsienko | 2014-04-02 | 1 | -3/+3 |
| | |||||
* | improve some recent conversions | Denis Ovsienko | 2014-03-29 | 1 | -2/+2 |
| | |||||
* | NDOize ISO CLNS decoder | Denis Ovsienko | 2014-03-28 | 1 | -603/+599 |
| | |||||
* | NDOize Frame Relay, LMP and RADIUS decoders | Denis Ovsienko | 2014-03-18 | 1 | -1/+1 |
| | |||||
* | Fix a compiler warning. | Guy Harris | 2014-02-01 | 1 | -1/+2 |
| | | | | | It's not necessarily safe to do pre-increment or post-increment in an argument to an EXTRACT_ macro. | ||||
* | remove tcpdump's own CVS keywords | Denis Ovsienko | 2014-01-03 | 1 | -5/+0 |
| | | | | | | Remove lots of $Header's and a few $Id's that all belong to the former CVS repository of tcpdump itself. These keywords have been frozen since the migration to git in late 2008. | ||||
* | ndo-ize print-ascii: hex_print_with_offset() | Michael Richardson | 2014-01-01 | 1 | -25/+25 |
| | |||||
* | whitespace changes | Michael Richardson | 2014-01-01 | 1 | -59/+59 |
| | |||||
* | justify declarations of struct tok arrays | Denis Ovsienko | 2013-09-24 | 1 | -33/+33 |
| | | | | | | Make sure all of them are declared const and most of them -- static. Proper declaration of token arrays is a common review point for new code that is based on existing decoders. Thus fix the issue at its root. | ||||
* | Fixes-for-test-results | Ajith Adapa | 2013-02-07 | 1 | -40/+48 |
| | |||||
* | Fix some errors. | Guy Harris | 2012-06-07 | 1 | -3/+3 |
| | | | | | | | | | isis_print_mcid() returns no value and nobody expects it to; declare it void, not int. Fix a typo in a case statement ("defualt" rather than "default"). Fix indentation. | ||||
* | Added support for SPBM Service Identifier and Unicast Address subtlv | Ajith Adapa | 2012-05-22 | 1 | -12/+45 |
| | |||||
* | Added support for SPB | Ajith Adapa | 2012-05-22 | 1 | -0/+309 |
| | |||||
* | Get rid of an unused variable. | Guy Harris | 2011-12-08 | 1 | -4/+0 |
| | |||||
* | Clean up option-walking code. | Guy Harris | 2011-10-13 | 1 | -4/+7 |
| | | | | | | | | | Loop as long as the remaining option list length is not zero, even if that means we try to process the remaining options if the remaining length is 1, so that if the option length is bogus, we'll report it. Check for a valid ESIS_OPTION_ES_CONF_TIME length - it's supposed to be 2. | ||||
* | From Minto Jeyananth <minto@juniper.net>: add support for IS-IS Generic ↵ | Hannes Gredler | 2011-03-02 | 1 | -1/+12 |
| | | | | Cryptographic Authentication as per RFC 5310 | ||||
* | From Minto Jeyananth <minto@juniper.net>: fix the IS-IS MT flag tokentable | Hannes Gredler | 2011-03-02 | 1 | -2/+2 |
| | |||||
* | Convert the IPv6 printer to use netdissect. | Guy Harris | 2010-11-07 | 1 | -1/+1 |
| | |||||
* | bugfix: the IS-IS Multi-topology TLV MTID is prepended once per TLV and not ↵ | hannes | 2008-08-16 | 1 | -7/+6 |
| | | | | once per MT-IS neighbor | ||||
* | Add HMAC-MD5 verification support for IS-IS | hannes | 2008-08-16 | 1 | -4/+25 |
| | |||||
* | bugfix: the Multi-topology header is just at the beginning of the TLV and ↵ | hannes | 2007-03-02 | 1 | -13/+15 |
| | | | | not before every prefix | ||||
* | from Jacek Tobiasz <Jacek.Tobiasz@atm.com.pl>: | hannes | 2007-02-22 | 1 | -2/+2 |
| | | | | display the IS-IS istype field as L2 and not L1L2. | ||||
* | print shouldbe checksum for broken OSI checksum, remove osi_cksum() | hannes | 2006-09-25 | 1 | -40/+28 |
| | |||||
* | do not bail if we hit a zero-length TLV, continue to read the next TLV ↵ | hannes | 2006-06-16 | 1 | -2/+2 |
| | | | | header instead. | ||||
* | From Don Ebright: fix a place where we were referring to AF_INET6 even | guy | 2006-05-12 | 1 | -3/+6 |
| | | | | when INET6 wasn't defined. | ||||
* | fixup typo from last commit | hannes | 2006-04-14 | 1 | -2/+2 |
| | |||||
* | add support for link attribute subTLV, update GMPLS printer to latest spec ↵ | hannes | 2006-04-10 | 1 | -12/+48 |
| | | | | (rfc4205) | ||||
* | bugfix: wrong offset calculation for restart holdtimer | hannes | 2006-04-06 | 1 | -2/+2 |
| | |||||
* | move AF specific stuff to dedicated files | hannes | 2006-02-21 | 1 | -16/+13 |
| | |||||
* | Get rid of an #ifdef - to zero something out with memset, just use | guy | 2005-11-12 | 1 | -6/+2 |
| | | | | "sizeof something" as the size argument. | ||||
* | From Markus Schoepflin: don't use "struct in6_addr" if INET6 isn't | guy | 2005-10-16 | 1 | -1/+21 |
| | | | | | | | defined, because, in that case, "struct in6_addr" probably isn't defined, either. Check for too-large bit lengths in TLVs. | ||||
* | retain the old diffserv-te codepoints for a transition period | hannes | 2005-09-20 | 1 | -2/+5 |
| | |||||
* | But the PDU length checks back, so "tmp" doesn't go negative. | guy | 2005-09-05 | 1 | -11/+16 |
| | | | | | | | At least as I read RFC 3847, you won't get a system ID without the remaining hold time field; after printing the flags field, check whether there's anything else after the flag field and, if not, quit, otherwise print the remaining hold time field and, if present, the system ID field. | ||||
* | rework the restart signaling TLV printer: | hannes | 2005-09-05 | 1 | -15/+22 |
| | | | | | -accept TLV length of 1 as this is now perfectly valid as per rfc 3847 -only attempt to print a trailing system-ID and not a node-ID | ||||
* | update diffserv-TE codepoints as per rfc4124 | hannes | 2005-08-23 | 1 | -12/+12 |
| | |||||
* | code cosmetics: add a few TLV_MINLEN #defines | hannes | 2005-07-14 | 1 | -13/+22 |
| |