summaryrefslogtreecommitdiff
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.in: Remove files win32/prj/* from EXTRA_DISTFrancois-Xavier Le Bail2020-07-271-5/+1
| | | | Files removed in commit dbe0eab45550fceaf268fbc740fc4b332ff66b39.
* Merge branch 'master' into macsecGuy Harris2020-05-271-44/+60
|\
| * Makefile.in: Remove win32/prj/GNUmakefile from EXTRA_DISTFrancois-Xavier Le Bail2020-05-241-1/+0
| | | | | | | | | | | | File removed in commit 1d77715d2e2246f2a155acad248c55ac9c458b68. [skip ci]
| * Print packets for unsupported link-layer protocols in hexadecimal/ASCIIFrancois-Xavier Le Bail2020-05-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids to get only: tcpdump: packet printing is not supported for link type XYZ: use -w The default printing is like: 18:45:52.723872 UNSUPPORTED 0x0000: 001f 0000 0540 6078 725d 586d 4d66 4671 .....@`xr]XmMfFq 0x0010: 6d58 4d5c 7159 5f71 565c 556c 4e71 7171 mXM\qY_qV\UlNqqq 0x0020: 7171 7171 7171 7171 7171 7171 7171 5180 qqqqqqqqqqqqqqQ. 0x0030: 7f7f .. 18:45:52.755995 UNSUPPORTED 0x0000: 001f 0000 0540 6043 7851 807f 7f .....@`CxQ... [...]
| * Extract NTP printingHerwin Weststrate2020-04-211-0/+2
| | | | | | | | This method is required to dissect some RADIUS attributes
| * Makefile.in: Restore alphabetical order for printersFrancois-Xavier Le Bail2020-04-031-4/+4
| |
| * add support for Broadcom LI headerHannes Gredler2020-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pull request #843) fix build break for Broadcom LI printer on BSD platforms incorporate review comments: make bcm_li_print() void, add a sample capture incorporate review comments: remove trailing tabs add BCM LI outputs to testset incorporate review comment: return after printing update verbose output for bcm-li
| * Makefile.in: Add some source files in TAGFILESFrancois-Xavier Le Bail2020-03-291-1/+2
| | | | | | | | | | | | they are not in LIBNETDISSECT_SRC because they are optionally built. [skip ci]
| * Look for mkdep in the top-level source directory.Guy Harris2020-03-021-0/+1
| | | | | | | | | | Not currently a problem for tcpdump, as we have no subdirectories, but this will leave us prepared for subdirectories if we ever add any.
| * Fix "make depend" for out-of-tree builds.Guy Harris2020-03-021-1/+1
| | | | | | | | | | | | Have mkdep take a -s argument, giving the source directory, and have it prepend that directory to all source files before running them through the compiler's make-dependencies operation.
| * Add doc/README.Win32.md to the release tarballFrancois-Xavier Le Bail2020-02-271-0/+1
| | | | | | | | [skip ci]
| * Add fptype.h to the release tarballFrancois-Xavier Le Bail2020-02-251-0/+1
| |
| * Autosar SOME/IP protocol supportFrancesco Fondelli2020-02-191-0/+1
| |
| * Push the floating-point test into a separate file.Guy Harris2020-02-041-1/+1
| | | | | | | | | | | | Hopefully, that will make sure we don't optimize away anything that will, for example, cause us not to do things differently on 32-bit x86 using the x87 instructions.
| * Do the floating-point tests closer to what we need.Guy Harris2020-02-041-1/+1
| | | | | | | | | | | | | | | | | | It's All Very Complicated, so mirror what print-lmp.c does - just do a calculation based on a particular input value and print the result using the same format print-lmp.c does, and have tests/TESTrun see what that result is. Just do that inside tcpdump.c, so we don't need the fptype stuff.
| * Do some tests based on the type of floating-point arithmetic tcpdump does.Guy Harris2020-02-041-1/+1
| | | | | | | | | | | | | | | | | | Add a --fp-type flag to tcpdump, which causes it to do a floating-point operation and, based on the result of the operation, prints out "FPTYPE{n}", where {n} is a number indicating the result. Have tests/TESTrun run "./tcpdump --fp-type" and set a HAVE_ key based on that. Run some tests only for FPTYPE1.
| * TESTrun.sh is dead; long live TESTrun.Guy Harris2020-01-241-1/+1
| |
| * The ptp (precision time protocol) with UDP as the transport protocol.Partha Ghosh2019-11-221-0/+1
| | | | | | | | | | | | | | | | | | - the print routines for ptp different ptp messages - test completed for sync message, announce message, delay request message, delay response message and follow up message. - integration of the ptp v2 code with the tcpdump code. Signed-off-by: Partha S. Ghosh <psglinux@gmail.com>
| * Makefile.in: Improve the way to add tests files in the realease tarballFrancois-Xavier Le Bail2019-09-261-1/+1
| | | | | | | | | | We can now run "make releasetar" without cleaning out the current tests directory.
| * Makefile.in: Remove two unused variablesFrancois-Xavier Le Bail2019-09-251-1/+1
| |
| * Don't use <ctype.h> macros.Guy Harris2019-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of them are locale-dependent, and all of them run the risk of failing if you hand them a char with the 8th bit set. Move our replacements to a new netdissect-ctype.h file, and, for the ones that check for particular character types, add _ASCII to the name, to indicate that only ASCII characters pass the check. Do the same for the ones that map between cases, to indicate that they only map ASCII letters. For isspace(), explicitly check for the characters we care about, to make it clearer what we're doing.
| * Have the scripts get the tests directory from $0.Guy Harris2019-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | That means we don't have to cook up a way to pass $(srcdir) to them - we run them from $(srcdir), so they can pick it up from there. If you run them by running tests/TESTrun.sh from the command line, that will also work; we assume that it's not found from $PATH. TESTrun.sh and the other scripts run scripts with a path that includes ${testsdir}, so the other scripts are run with a path (they're not intended to be run from the command line - you're supposed to use TESTrun.sh, even if you're just running one test).
| * Clean up "make check".Guy Harris2019-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to make a "tests" directory under the build directory any more, so don't do so. As we're not cd'ing in the command line run from the Makefile (just in a command run for command substitution), there's no need to put it in a parenthesized subshell. Again, as we're not cd'ing to the tests directory, if SRCDIR isn't set, assume the source directory is the current directory. In the shell scripts we're running, look for TESTonce, the input files, the output files, and the -E input files from ${srcdir}/tests. Make sure we set srcdir in those shell scripts.
| * Don't use a shell feature not present in older shells.Guy Harris2019-08-181-1/+1
| | | | | | | | | | | | Older shells, such as /bin/sh in Solaris 10, don't support command substitution with the $(command) syntax, but do support it with the `command` syntax. Use the latter.
| * make check needs to work in build directoriesMichael Richardson2019-08-181-1/+1
| |
| * make check needs to work in build directoriesMichael Richardson2019-08-181-1/+1
| |
| * New ethertype protocol for Arista Networksniks30892019-05-231-0/+1
| |
| * Add dissector for SSH version exchangeAndreas Jaggi2019-05-081-0/+1
| |
| * InfiniBand support for tcpdump.alexandr nedvedicky - Sun Microsystems - Prague Czech Republic2019-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | InfiniBand support for tcpdump. This is an in-house patch. Sent upstream for potential inclusion in future versions of tcpdump. (also adding print-ipoib.c to CMakeLists.txt, asked by @guyharris) (s/u_int16_t/uint16_t asked by @guyharris)
| * Remove MEDSA ethertype printerVivien Didelot2019-04-161-1/+0
| | | | | | | | | | | | | | | | | | | | MEDSA (which unofficially stands for Marvell EDSA) relies on the unregistered 0xDADA ethertype value that was randomly choosen and currently used by the kernel. But with EDSA this value is programmable, hence can be changed anytime. Now that a reliable DLT parser is implemented for both DSA and EDSA tagged master interfaces, let's get rid for the MEDSA ethertype parser.
| * Add support for decoding Marvell (E)DSA tagsVivien Didelot2019-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Similarly to commit 6eaebfe adding support for the Broadcom tagging format supported by the DSA kernel subsystem, this commit adds support for the Marvell DSA and Ethertype DSA (EDSA) tagging formats. Marvell DSA is a 4-byte proprietary tag placed between the ether source address and the ether length/type. It contains data such as the switch device and port IDs from which a frame came from, or to which port a frame is targetting. It also contains additional FPri and IEEE bits. EDSA is a 8-byte variant including a programmable ethertype, two null bytes and a standard DSA tag.
| * Add printing support for vsockmon devices.Gerard Garcia2019-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print Linux 4.12 vsockmon captures: # modprobe vsockmon # ip link add type vsockmon # ip link set vsockmon0 up # tcpdump -i vsockmon0 16:25:24.987917 VIRTIO 3.1025 > 2.1234 CONNECT, length 76 16:25:24.987963 VIRTIO 2.1234 > 3.1025 CONNECT, length 76 16:25:26.568271 VIRTIO 3.1025 > 2.1234 PAYLOAD, length 82 16:25:26.568512 VIRTIO 2.1234 > 3.1025 CONTROL, length 76 16:25:28.411335 VIRTIO 3.1025 > 2.1234 DISCONNECT, length 76 16:25:28.411628 VIRTIO 2.1234 > 3.1025 DISCONNECT, length 76 For more information about vsock see: http://wiki.qemu.org/Features/VirtioVsock
| * Put IPv4/IPv6 protocol demultiplexing into a common routine.Guy Harris2019-03-271-0/+1
| | | | | | | | | | | | | | That means less duplication of functionality - and less chance that XXX-over-IPv4 will be handled but XXX-over-IPv6 won't be handled, or *vice versa*. (CARP and VRRP were being handled over IPv4 but not over IPv6; this fixes that.)
| * Merge branch 'master' of https://github.com/kivinen/tcpdump into kivinen-masterMichael Richardson2019-03-241-0/+1
| |\
| | * Updated 802.15.4 codeTero Kivinen2018-11-181-38/+37
| | |\
| | * | IEEE 802.15.4 printer which understands frame version 2 frames, and also ↵Tero Kivinen2017-03-261-0/+1
| | | | | | | | | | | | | | | | knows how to print some mac commands and IE contents. Also includes the zep printer to decode ZigBee Encapsulation Protocol frames
| * | | Add support for decoding Broadcom Ethernet switches tagsFlorian Fainelli2019-01-281-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for decoding the Broadcom Ethernet switches tags which are are 4byte in length and are located between the Ethernet MAC SA and the Type/Length field (DSA_TAG_BRCM) as well as the pre-pended Broadcom tag (DSA_TAG_BRCM_PREPEND) which are located in front of the standard Ethernet header. This makes use of the recently introduced ether_print_hdr_len() to allow specifying the non-standard Ethernet header length of 12 + 4 + 2 bytes.
| * | Move getopt_long.h to missing.Guy Harris2018-09-141-1/+1
| | | | | | | | | | | | That's what we did for win_ether_ntohost.h.
| * | Remove the no more used gmt2local() functionFrancois-Xavier Le Bail2018-08-071-2/+0
| | |
| * | Stick with one version of pcap_dump_ftell.c.Denis Ovsienko2018-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like CMake after commit 3e9e2b6 started to use the newly added missing/pcap_dump_ftell.c to make pcap_dump_ftell() available in tcpdump if libpcap does not have it. However, autotools continued to use the previously existing ./pcap_dump_ftell.c for the same purpose. Remove the previously existing file and amend autotools files to cover pcap_dump_ftell() the same way as the other functions in the missing/ directory files. Amend missing/pcap_dump_ftell.c not to use pcap_dump_file(), as it may be unavailable. This has been tested to work with libpcap 0.6.1.
| * | Add a malloc/free process with garbage collectorFrancois-Xavier Le Bail2018-03-141-1/+3
| | | | | | | | | | | | Use it in the PPP printer.
| * | Add a status exit code to the function ndo_error()Francois-Xavier Le Bail2018-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | The status are defined in an enum in status-exit-codes.h. Moreover: Use ndo_error() instead of ndo_warning() for malloc() errors in print-esp.c.
| * | Build tcpdump with the libnetdissect libraryFrancois-Xavier Le Bail2018-02-071-9/+9
| | | | | | | | | | | | No more link tcpdump with the printers object files.
| * | Add nd_{v}snprintf() routines/wrappers.Guy Harris2018-01-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Some versions of the MSVC runtime library have a non-C99-compliant vsnprintf(), which we want to avoid. On Windows, use snprintf() and vsnprintf() for VS 2015 and later, where they both exist in C99-compliant forms, and wrap _{v}snprintf_s() otherwise (they're guaranteed to do the null termination that we want).
| * | Pick up Windows snprintf and strdup replacements from libpcap.Guy Harris2018-01-281-0/+1
| | |
| * | Create the missing/pcap_dump_ftell.c that's expected by autotools and CMake.Guy Harris2018-01-261-0/+1
| | |
| * | On Windows, we have our own ether_ntohost(); declare it.Guy Harris2018-01-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move the source to our own ether_ntohost() to the "missing" directory, just as we do in libpcap for the Windows snprintf() wrapper around _snprintf(). Add a header file for it, and include it in both the wrapper and in addrtoname.c on Windows.
| * | Add libcrypto checks.Guy Harris2018-01-221-0/+1
| | | | | | | | | | | | Put the optional libraries after libpcap, which is *not* optional.
| * | Add install and uninstall support for CMake.Guy Harris2018-01-221-0/+1
| | |
| * | No need to replace vfprintf().Guy Harris2018-01-211-1/+0
| | | | | | | | | | | | | | | | | | 1988 called; it wants its pre-standard version of C back. As the comment in vfprintf.c said, "Stock 4.3 doesn't have vfprintf."; it's been a while since 4.3BSD was the latest shiniest BSD-flavored OS.