Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | DHCPv6: axe a couple invariant expressions | Denis Ovsienko | 2014-04-10 | 1 | -6/+1 | |
| | | | | | | | | | The "type > 65535" condition in dhcp6opt_name() was always false because the function is given a 16-bit argument. The "dh6->dh6_msgtype" condition in dhcp6_print() was always true because name == NULL only when none of the preceding switch block cases matched. | |||||
* | PPTP: use tok2str() and ternary conditional | Denis Ovsienko | 2014-04-09 | 1 | -170/+84 | |
| | ||||||
* | Merge remote-tracking branch 'bpf/master' | Denis Ovsienko | 2014-04-06 | 99 | -613/+629 | |
|\ | ||||||
| * | Declare default_print() only if NETDISSECT_REWORKED isn't defined. | Guy Harris | 2014-04-04 | 1 | -1/+2 | |
| | | | | | | | | Routines using netdissect_options should be using ndo->ndo_default_print. | |||||
| * | Define NETDISSECT_REWORKED in a bunch of files, and fix the issues it finds. | Guy Harris | 2014-04-04 | 15 | -3/+18 | |
| | | | | | | | | | | The only one it found was that routines in sigsecret.c needed to refer to ndo->ndo_sigsecret, not just sigsecret. | |||||
| * | Define NETDISSECT_REWORKED and fix the issues it provokes. | Guy Harris | 2014-04-04 | 1 | -5/+6 | |
| | | | | | | | | I.e., use the flags from the netdissect_options structure. | |||||
| * | Netdissectify the to-name resolution routines. | Guy Harris | 2014-04-04 | 85 | -604/+603 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | fix a couple typos | Denis Ovsienko | 2014-04-06 | 3 | -3/+3 | |
| | | ||||||
* | | .travis.yml: install libdnet-dev and libsmi2-dev devel libs | Francois-Xavier Le Bail | 2014-04-04 | 1 | -1/+1 | |
| | | ||||||
* | | print-ppp: fix "p[2] & 0x200 is always 0" found by Coverity and a bad shift | Francois-Xavier Le Bail | 2014-04-04 | 1 | -2/+2 | |
|/ | ||||||
* | Check for truncation in strings. | Guy Harris | 2014-04-03 | 1 | -1/+2 | |
| | | | | Found by Coverity. | |||||
* | Add missing break - thanks to Coverity for finding this one. | Guy Harris | 2014-04-03 | 1 | -0/+1 | |
| | ||||||
* | coordinate ascii_print() prototypes for MSVC | Gisle Vanem | 2014-04-03 | 1 | -1/+1 | |
| | | | | | ascii_print() has conflicts between prototype and implementation. MSVC doesn't allow adding a register modifier just like that. | |||||
* | NDOize some generic code | Denis Ovsienko | 2014-04-03 | 16 | -53/+51 | |
| | ||||||
* | improve previous NDO conversions | Denis Ovsienko | 2014-04-03 | 8 | -12/+18 | |
| | ||||||
* | NDOize timed decoder | Denis Ovsienko | 2014-04-03 | 4 | -53/+38 | |
| | ||||||
* | refine some declarations in header files | Denis Ovsienko | 2014-04-03 | 3 | -13/+3 | |
| | | | | | Remove duplicate declarations and move some other declarations to addrtoname.h where they belong. | |||||
* | NDOize Babel decoder | Denis Ovsienko | 2014-04-03 | 4 | -90/+94 | |
| | ||||||
* | OLSR: work around MSVC preprocessor (re 48d8b05) | Gisle Vanem | 2014-04-03 | 1 | -3/+6 | |
| | ||||||
* | convert some stray printf()'s | Denis Ovsienko | 2014-04-02 | 4 | -21/+17 | |
| | ||||||
* | fixup a few ND_DEFAULTPRINT() use cases | Denis Ovsienko | 2014-04-02 | 3 | -6/+6 | |
| | ||||||
* | NDOize LLDP, PPP and RSVP decoders | Denis Ovsienko | 2014-04-02 | 15 | -922/+929 | |
| | ||||||
* | NDOize DECnet, OSPF and TCP decoders | Denis Ovsienko | 2014-04-02 | 10 | -623/+621 | |
| | ||||||
* | merge decnet.h into print-decnet.c | Denis Ovsienko | 2014-04-02 | 3 | -3/+439 | |
| | ||||||
* | convert stray fputs() in print-esp.c | Denis Ovsienko | 2014-04-02 | 1 | -1/+1 | |
| | ||||||
* | NDOize SMB decoder | Denis Ovsienko | 2014-04-02 | 9 | -389/+388 | |
| | ||||||
* | Merge remote-tracking branch 'bpf/master' | Denis Ovsienko | 2014-04-01 | 0 | -0/+0 | |
|\ | ||||||
| * | NDOize EAP, IEEE CFM, lwres, SIP & Syslog decoders | Denis Ovsienko | 2014-04-01 | 9 | -249/+238 | |
| | | ||||||
| * | NDOize safeputs() and safeputchar() | Denis Ovsienko | 2014-04-01 | 20 | -54/+47 | |
| | | ||||||
* | | NDOize EAP, IEEE CFM, lwres, SIP & Syslog decoders | Denis Ovsienko | 2014-04-01 | 9 | -249/+238 | |
| | | ||||||
* | | NDOize safeputs() and safeputchar() | Denis Ovsienko | 2014-04-01 | 20 | -54/+47 | |
| | | ||||||
* | | get rid of "no previous prototype" warnings for 'strlcat' and 'strlcpy' | Francois-Xavier Le Bail | 2014-04-01 | 2 | -0/+4 | |
|/ | ||||||
* | NDOize NFS decoder | Denis Ovsienko | 2014-04-01 | 5 | -493/+518 | |
| | ||||||
* | OSPFv3: add authentication test case | Denis Ovsienko | 2014-04-01 | 3 | -0/+11 | |
| | | | | | The sample capture was produced with RFC6506 implementation by Jyotsna Priya of TCS (work in progress). | |||||
* | NDOize IEEE 802.11 decoder | Denis Ovsienko | 2014-03-31 | 4 | -382/+407 | |
| | ||||||
* | spell "%s" format strings (complements 708a68a) | Denis Ovsienko | 2014-03-31 | 6 | -16/+16 | |
| | | | | | Make "%s" format string always reside in the print function call explicitly such that the reader doesn't have to assess its safety. | |||||
* | Handle DLT_PKTAP captures from OS X on non-OS X machines. | Guy Harris | 2014-03-30 | 1 | -0/+24 | |
| | ||||||
* | Add support for Apple's DLT_PKTAP. | Guy Harris | 2014-03-30 | 4 | -0/+172 | |
| | ||||||
* | Fix some unsafe print calls. | Guy Harris | 2014-03-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | The format argument to a printf-like routine should either be a constant string or a variable *known* to point to a format string. It should not be an arbitrary string you're trying to print - if that string contains % characters, they will be interpreted as part of a format specification, which can cause crashes (e.g., "%s", if what appears to be an argument corresponding to that %s, when interpreted as a pointer, doesn't point to a valid string) or other incorrect behavior. If you want to print a string, use "%s" as the format and the string as the argument. | |||||
* | squelch compiler warnings after previous commit | Denis Ovsienko | 2014-03-30 | 1 | -0/+1 | |
| | | | | | It was OK with GCC but Clang wants <stdlib.h> back because of malloc() and free() that shouldn't be declared implicitly. | |||||
* | NDOize RX decoder | Denis Ovsienko | 2014-03-30 | 4 | -466/+476 | |
| | ||||||
* | amend previous commit to fix compiling with libsmi | Denis Ovsienko | 2014-03-30 | 1 | -8/+12 | |
| | ||||||
* | NDOize SNMP decoder | Denis Ovsienko | 2014-03-29 | 5 | -290/+293 | |
| | ||||||
* | NDOize Juniper DLT decoders | Denis Ovsienko | 2014-03-29 | 4 | -205/+222 | |
| | ||||||
* | improve some recent conversions | Denis Ovsienko | 2014-03-29 | 2 | -4/+2 | |
| | ||||||
* | remove more stray prototypes | Denis Ovsienko | 2014-03-28 | 2 | -4/+0 | |
| | ||||||
* | NDOize AppleTalk, CDP and Kerberos decoders | Denis Ovsienko | 2014-03-28 | 12 | -280/+275 | |
| | ||||||
* | NDOize ISO CLNS decoder | Denis Ovsienko | 2014-03-28 | 13 | -627/+621 | |
| | ||||||
* | print-juniper: add a missing break | Francois-Xavier Le Bail | 2014-03-27 | 1 | -0/+1 | |
| | ||||||
* | NDOize ForCES, MPLS LSP ping and OLSR decoders | Denis Ovsienko | 2014-03-27 | 7 | -445/+458 | |
| |