summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* TCP: Use quoted include for 'signature.h' instead of angle-bracketed oneFrancois-Xavier Le Bail2015-07-111-1/+1
|
* Travis: Restore 'make install' in the build scriptFrancois-Xavier Le Bail2015-07-111-10/+7
| | | | | | Moreover: Delete trailing spaces Delete redundant empty lines
* make build container happyMichael Richardson2015-07-101-4/+15
|
* Merge pull request #469 from gvanem/patch-2Guy Harris2015-07-101-1/+1
|\ | | | | Fix print-icmp.c warning
| * Fix print-icmp.c warningGisle Vanem2015-07-101-1/+1
| | | | | | | | | | | | | | Fix compilation warning: ``` print-icmp.c(559): warning C4456: declaration of 'vec' hides previous local declaration print-icmp.c(344): note: see declaration of 'vec' ```
* | Merge pull request #468 from gvanem/patch-1Guy Harris2015-07-101-1/+0
|\ \ | | | | | | Fix print-dccp.c warning
| * | Update print-dccp.cGisle Vanem2015-07-101-1/+0
| |/ | | | | | | | | | | | | Fix warning: ``` print-dccp.c(500): warning C4456: declaration of 'cp' hides previous local declaration print-dccp.c(277): note: see declaration of 'cp' ```
* | update the DNSSEC test case after the last changeDenis Ovsienko2015-07-101-2/+2
| |
* | Merge pull request #467 from wessels/masterDenis Ovsienko2015-07-101-1/+1
|\ \
| * | For DNS messages, represent the "DNSSEC OK" bit as "DO" instead of "OK" Duane Wessels2015-06-181-1/+1
| | | | | | | | | "DO" is a better description of the DNSSEC OK bit in the EDNS0 OPT record. See RFC 3225 section 3. There may be other bits allocated in the future that call themselves "Something OK".
* | | add a DNSSEC test caseDenis Ovsienko2015-07-103-0/+14
| |/ |/| | | | | This is related to GH #445 and GH #467.
* | interface.h,netdissect.h: Cleaning unused itemsFrancois-Xavier Le Bail2015-07-032-18/+0
| |
* | BGP: Replace printf by ND_PRINTFrancois-Xavier Le Bail2015-07-021-4/+5
| |
* | Fix display of timestamps with -ttt and -ttttt optionsFrancois-Xavier Le Bail2015-07-024-22/+114
| | | | | | | | | | | | | | | | - Fix display of some nanoseconds timestamps For example, bad print 00:-16:-2.000851566 is now 00:00:00.037851566 - Fix display of timestamp of a packet when it is lower than previous one For example, bad print 00:00:-1.000999790 is now -00:00:00.000000210
* | BGP: add decoding of ADD-PATH capabilityDenis Ovsienko2015-06-291-0/+32
| | | | | | | | | | | | | | | | | | This implements the capability part of draft-ietf-idr-add-paths-10 and seems to work for a packet capture I am looking into. The problem with the "extended NLRI encodings" defined in the same document is that they are going to use a different structure for the two previously assigned path attributes, which makes decoding of an UPDATE difficult without having both relevant OPENs from the same session.
* | refine tok2str() buffer useDenis Ovsienko2015-06-294-94/+60
| | | | | | | | | | | | | | | | | | | | Switch RRCP and BGP functions from tok2strbuf() to tok2str() to avoid unnecessary local buffer management. The latter function does it in a way to allow up to 4 calls to itself from printf(). After that tok2strbuf() remains used by tok2str() only and can be refined later. Remove a duplicate macro and place the remaining definition into the right file.
* | struct netdissect_options: Remove unused members 'ndo_infodelay' and 'ndo_info'Francois-Xavier Le Bail2015-06-211-6/+0
| | | | | | | | Remark: ^T is a tcpdump function, not a packet-dissection mechanism.
* | struct netdissect_options: Remove unused member 'ndo_aflag'Francois-Xavier Le Bail2015-06-201-2/+0
| | | | | | | | | | Moreover: Remove redundant empty line.
* | Fix display of nanoseconds timestamps with -tt option (GH issue 466)Francois-Xavier Le Bail2015-06-191-4/+40
| | | | | | | | Add 'ts_unix_format' function.
* | Fix a non-reentrant code in a functionFrancois-Xavier Le Bail2015-06-191-8/+14
|/ | | | | | | | Delete the 'static char buf' array in ts_format(). buf is now a parameter of ts_format(). Moreover: Decrease a too long string. Fix a space in a comment.
* Map *ONLY* ASCII letters; don't map anything with the 8th bit set.Guy Harris2015-06-111-10/+8
|
* Do case-insensitive comparisons assuming ASCII strings.Guy Harris2015-06-1116-97/+138
| | | | | | | | Do the case-insensitive comparisons in a locale-independent fashion that only maps ASCII letters, in the standard English-language fashion; that way, we don't get bitten by, for example, Turkish having separate "i with dot" and "i without dot" letters, with lower-case "i with dot" being mapped to upper-case "I with dot" rather than being mapped to "I".
* Get rid of macros already defined in netdissect.hFrancois-Xavier Le Bail2015-06-101-9/+0
|
* Move more prototypes in netdissect.hFrancois-Xavier Le Bail2015-06-102-8/+8
|
* Move some prototypes in netdissect.hFrancois-Xavier Le Bail2015-06-102-12/+4
|
* Get rid of macros already defined in netdissect.hFrancois-Xavier Le Bail2015-06-101-17/+0
|
* Checksum stuff must go in netdissect.h (remainder)Francois-Xavier Le Bail2015-06-102-5/+5
|
* Checksum stuff must go in netdissect.hFrancois-Xavier Le Bail2015-06-102-9/+1
|
* Delete trailing spaces/tabsFrancois-Xavier Le Bail2015-06-045-5/+5
|
* Fix a Coverity warningFrancois-Xavier Le Bail2015-05-241-7/+0
| | | | Test already done by 'ND_TCHECK2(tptr[3], length - 3);'
* Coverity: build script: Update the download URL of 7.6 releaseFrancois-Xavier Le Bail2015-05-241-1/+1
|
* BGP: Add support for the AIGP attribute (RFC7311)Francois-Xavier Le Bail2015-05-224-0/+79
| | | | Based on a patch from Hannes Gredler
* Merge pull request #455 from brooksdavis/gndo-cleanupGuy Harris2015-05-204-161/+159
|\ | | | | Remove global netdissect_object and remove non-dissection related fields
| * Allocate the netdissect_object on the stack.Brooks Davis2015-04-271-4/+3
| |
| * Rename gndo to ndo now that it isn't global.Brooks Davis2015-04-271-84/+85
| | | | | | | | Allocate ndo on the heap.
| * Pass an ndo to the print API rather than using gndo.Brooks Davis2015-04-274-17/+17
| | | | | | | | Since gndo is only referenced in main() move it there.
| * Remove non-dissection related flags from struct netdissect_options.Brooks Davis2015-04-272-66/+64
| |
* | Merge pull request #457 from brooksdavis/no-sandbox-messageGuy Harris2015-05-201-2/+0
|\ \ | | | | | | Remove "capability mode sandbox enabled" message.
| * | Remove "capability mode sandbox enabled" message.Brooks Davis2015-05-051-2/+0
| | | | | | | | | | | | | | | We have removed all instances of these messages in FreeBSD as they serve little purpose and break some comsumers.
* | | Merge branch 'master' of github.com:the-tcpdump-group/tcpdumpHannes Gredler2015-05-201-13/+2
|\ \ \
| * | | Update test output for the previous changeFrancois-Xavier Le Bail2015-05-191-13/+2
| | | |
* | | | add testcases for IS-IS POI (rfc6232)Hannes Gredler2015-05-205-0/+19
|/ / /
* | | add support for IS-IS Purge Originator Identifier as per RFC6232.Hannes Gredler2015-05-191-0/+18
| | |
* | | Don't assume you have <net/if_pflog.h> if you have <net/pfvar.h>.Guy Harris2015-05-174-3/+30
| | | | | | | | | | | | Debian/kFreeBSD ships <net/pfvar.h> but not <net/if_pflog.h>.
* | | SFLOW: Fix bounds checkingFrancois-Xavier Le Bail2015-05-071-3/+52
|/ /
* | RPL: Fix 'Consistency Check' control codeFrancois-Xavier Le Bail2015-05-051-1/+1
| |
* | RPL: Fix suboption printFrancois-Xavier Le Bail2015-05-041-1/+1
| |
* | OLSR: Fix indent and commentsFrancois-Xavier Le Bail2015-05-041-15/+29
| | | | | | | | | | Avoid too long lines. Not all C compilers accept C++/C99 comments by default.
* | olsr: add a test to cover a HNA sgw caseFerry Huberts2015-05-033-0/+16
| | | | | | | | Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
* | olsr: fix printing of smart-gateway HNAs in IPv4Ferry Huberts2015-05-031-4/+76
| | | | | | | | Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>