summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Put "}" at beginning of line with "else" to keep a consistent styletcpdump-4.99Francois-Xavier Le Bail2023-04-2121-82/+41
| | | | | | (backported from commit 113ed15b7ecae4a3523454344f9b3438ea97fdc7) [skip ci]
* Put "{" at end of line with "else" to keep a consistent styleFrancois-Xavier Le Bail2023-04-213-12/+6
| | | | | | (cherry picked from commit 2e99bc485ab304df2d4c797af9576ad1b167c0f8) [skip ci]
* Put "{" at end of line with "switch" to keep a consistent styleFrancois-Xavier Le Bail2023-04-205-22/+11
| | | | | | [skip ci] (cherry picked from commit ff4af2069a7d1f56cbcd4292e3d25ddb41a19b0b)
* Put "{" at end of line with "if" to keep a consistent styleFrancois-Xavier Le Bail2023-04-206-76/+38
| | | | | | [skip ci] (cherry picked from commit cc848f15355cbc346f9f73129ca689611ef5459b)
* Put "{" at end of line with "for" to keep a consistent styleFrancois-Xavier Le Bail2023-04-203-8/+4
| | | | | | [skip ci] (cherry picked from commit a2b58786ae60da107986295bd5e254154d4971ea)
* Put "{" at end of line with "while" to keep a consistent styleFrancois-Xavier Le Bail2023-04-203-12/+6
| | | | | | [skip ci] (cherry picked from commit dc2c85188fd4d2113b0ae694e2917ced6b7665cc)
* Start tcpdump 4.99.5-PRE_GIT. [skip ci]Denis Ovsienko2023-04-073-10/+13
|
* This is tcpdump 4.99.4.tcpdump-4.99.4Denis Ovsienko2023-04-073-12/+12
|
* CHANGES: Replace the strftime() entry.Denis Ovsienko2023-04-071-1/+1
|
* Have a common routine for converting dates and times to strings.Guy Harris2023-04-079-61/+77
| | | | | | | | | | | | | | | | | | | | | | | Have a routine that takes a buffer, a strftime format, and a struct tm * as arguments, and: * checks whether the struct tm * is null and, if so, returns a string indicating that the date and time couldn't be converted; * otherwise, passes it to strftime(), along with the buffer and the format argument and, if strftime() returns 0, meaning the string didn't fit into the buffer and thus that the buffer's contents are undefined, returns a string indicating that the date and time didn't fit into the buffer; * otherwise, returns a pointer to the buffer. Call that routine instead of directly calling strftime() in printers; that prevents printing a buffer with undefined data if the buffer isn't big enough for the string. Also, when generating file names using an strftime format, check the return value of strftime() to make sure the buffer didn't overflow.
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-04-071-0/+1
| | | | (cherry picked from commit b3c37e3fbbf81b02df219d8f6c2eb21e6fdf86d1)
* Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21Francois-Xavier Le Bail2023-04-072-11/+34
| | | | | | From repository git://git.savannah.gnu.org/config.git (cherry picked from commit d308963f46cf29054fac5c706c100d2379ff1d8f)
* Rename a test. The protocol is IEEE 802.11Francois-Xavier Le Bail2023-04-023-1/+1
| | | | (cherry picked from commit 2fd087001db4c9d6a9a307f73317a0d379d8074d)
* Makefile.in: Remove print-pflog.c from EXTRA_DIST and TAGFILESFrancois-Xavier Le Bail2023-04-021-2/+1
| | | | | | | | | It is now in LIBNETDISSECT_SRC because it is no longer built as an option. (cherry picked from commit 01f8d84898ebaf192095066d04daec1f6eb6b0f1) [skip ci]
* RIPng: Print the protocol name when the version is invalidFrancois-Xavier Le Bail2023-04-022-2/+3
| | | | | | Update the output of a test accordingly. (cherry picked from commit efc775d05163ac3591b30341ca944007fdc5753a)
* Makefile.in: Add print-smb.o and smbutil.o in CLEANFILESFrancois-Xavier Le Bail2023-04-021-1/+1
| | | | | | | | They are not in LIBNETDISSECT_OBJ because they are optionally built. (cherry picked from commit 523f7537a3950934a76704d2aa2f9d34a7ce0ecd) [skip ci]
* CHANGES: List more backported commits. [skip ci]Denis Ovsienko2023-04-021-0/+5
|
* man: Spell TCP header flags names. [skip ci]Denis Ovsienko2023-04-021-3/+3
| | | | | | | | | | | | | | | In the prose use the names from respective registry [1], which says: * "PSH", not "PUSH", * "CWR", not "ECN CWR", and * "ECE", not "ECN-Echo". This does not resolve all known inconsistencies related to TCP flags, but at least makes the problem smaller. 1: https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml (cherry picked from commit eb2f8839ac53daa4d80fad2809be55d997678397)
* man: Add the TCP flag names tcp-ece and tcp-cwrFrancois-Xavier Le Bail2023-02-261-1/+8
| | | | | | | | | State that these flag names became available when linking with libpcap 1.9.0 or later. (cherry picked from commit ded255a178d7a41ebb29d7c29f649fd09d3ece2a) [skip ci]
* Makefile.in: Update whitespacecheck target to show spaces before tabsFrancois-Xavier Le Bail2023-02-201-0/+5
|
* Fix remaining spaces before tabs in indentationFrancois-Xavier Le Bail2023-02-201-2/+2
| | | | [skip ci]
* Fix spaces before tabs in indentationFrancois-Xavier Le Bail2023-02-2041-178/+178
| | | | | | (cherry picked from commit 59d37c7ec5a7ce949db07d50594cca68fa724443) [skip ci]
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-02-201-0/+1
| | | | | | (cherry picked from commit 373a2ec94c46966343d4b648fae52e99f5c7b1d0) [skip ci]
* ICMPv6: Update the output to show a RPL DAO field nameFrancois-Xavier Le Bail2023-02-205-5/+5
| | | | (cherry picked from commit ca513b2d06ad2db95ab4041cecb4702edc27c0df)
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-02-201-0/+1
| | | | | | (backported from commit 7c7bd4d8af52ac71d0bed7ecb4b962e28be980f8) [skip ci]
* CHANGES: add a change backported to 4.99.x [skip ci]Guy Harris2023-02-201-0/+1
| | | | (cherry picked from commit 1e9b9807f9af6b80b0ecbc7067e1791b291e58f7)
* DNS: Sync types with IANAMatthew Martin2023-02-202-24/+72
| | | | | | | | | | IANA reference: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml Remove the UNSPECA type parsing as IANA has that query type number assigned to NID now. (cherry picked from commit ad090fd01a2642959da14fedcf0e2dcd7076f0af)
* Geneve: Fix the Geneve UDP port testFrancois-Xavier Le Bail2023-02-171-1/+1
| | | | | | GENEVE_PORT (6081) is a destination port. (cherry picked from commit 560575198406265c510771de10b6c86381f5dd9a)
* Avoid a space before a tab in a commentFrancois-Xavier Le Bail2023-02-151-1/+1
| | | | | | | | | | | This change avoids a false positive when looking for bad indentations. Moreover: Replace the deprecated 'egrep' variant by 'grep -E'. (cherry picked from commit 17fb9526b1feff7875e3ec00427dfcb8096e8621) [skip ci]
* configure, CMakeLists.txt: don't check for snprintf().Guy Harris2023-01-308-16/+3
| | | | | | | | | | It's specified by the C90 standard (and, as I remember, by the C89 standard, although I no longer have my paper copy); no need to worry about ancient environments that lack it, and we have some cases where we call it in code not protected by #ifdef HAVE_STRFTIME/#endif and haven't seen any reports of problems. (cherry picked from commit af51eea2909c10b540dba6c1b2a1e7e18e230993)
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-01-281-0/+1
| | | | | | (cherry picked from commit ce5f51e082b50f10c253c06291f1c8cf2a51362f) [skip ci]
* smbutil.c: Fix the strftime buffer sizeFrancois-Xavier Le Bail2023-01-281-1/+1
| | | | | | | | tm_year is an int, thus 'yyyy' for '%Y' is not enough. This avoids a stack buffer overflow in some cases. (cherry picked from commit 5caf4211264afa7d98820c6cbb6a03c27a388fec)
* CHANGES: add a commit that will be backported to 4.99. [skip ci]Guy Harris2023-01-201-0/+2
| | | | (cherry picked from commit 2fd3048cbf48fbf358ebb708dc9e949a9e4fbfe3)
* configure: boost the minimum autoconf version to 2.69.Guy Harris2023-01-201-1/+1
| | | | | | We get an error with 2.64; jump to 2.69. (cherry picked from commit 386ee9a72219efd03086193aef8bba7f0198f52a)
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-01-161-0/+2
| | | | | | (cherry picked from commit 2cfd1f51b9ab2bd2ef21966f85cc739f5b31f6b7) [skip ci]
* LSP ping: Fix "Unused value" warnings from CoverityFrancois-Xavier Le Bail2023-01-161-3/+0
| | | | | | | | | | | | | | This change should fix the following Coverity Scan issues: CID 1397795 (#1 of 1): Unused value (UNUSED_VALUE) assigned_pointer: Assigning value from tlv_tptr + 4UL to tlv_tptr here, but that stored value is overwritten before it can be used. CID 1397796 (#1 of 1): Unused value (UNUSED_VALUE) assigned_value: Assigning value from tlv_tlen - 4UL to tlv_tlen here, but that stored value is overwritten before it can be used. (cherry picked from commit 98145e4ca7e59bfa5c181842c11bd41e98185152)
* Start tcpdump 4.99.4-PRE-GITFrancois-Xavier Le Bail2023-01-133-10/+13
|
* This is tcpdump 4.99.3.tcpdump-4.99.3Denis Ovsienko2023-01-123-12/+12
|
* Makefile.in: Get rid of a remain of gnuc.hFrancois-Xavier Le Bail2023-01-102-1/+2
| | | | | | | | gnuc.h was removed in commit fcf0144ed224f770c906866a42a9ffa1d707c429. (cherry picked from commit 258df5c65f019375dedc68909412fd9a2689f923) [skip ci]
* CHANGES: add another change backported to the 4.99 branch. [skip ci]Guy Harris2023-01-091-0/+1
| | | | (cherry picked from commit 3e536b631283fab2d649c61b4226a183c6d4673f)
* CMake: set man page section numbers.Guy Harris2023-01-091-0/+49
| | | | | | | | We use both MAN_FILE_FORMATS and MAN_MISC_INFO in tcpdump.1; set them Also set _SUN on AIX, as we do with the configure script. (cherry picked from commit ed6d4f3054929da4c21cb15cc545d9c7f9a96e10)
* Remove version.c from .gitignore. [skip ci]Denis Ovsienko2023-01-081-1/+0
| | | | | | The file does not exist since commit 4943adf. (cherry picked from commit 737308bc0f6ed1f68a78caad857ed21782e0dcca)
* Fix some typos in commentsFrancois-Xavier Le Bail2023-01-032-2/+2
| | | | | | (cherry picked from commit 85f876ba892c45ff3df5c80abf19afcc5dc8312f) [skip ci]
* CHANGES: Add a change backported to 4.99Francois-Xavier Le Bail2023-01-031-0/+1
| | | | | | (cherry picked from commit 3a348eca7bf032bc23d6bd13202267445dca84a9) [skip ci]
* Address all shellcheck warnings in update-test.sh.Denis Ovsienko2023-01-031-5/+7
| | | | (cherry picked from commit 779ff621bccf205a00f9afa3c37865845871566a)
* CHANGES: Add some changes backported to 4.99Francois-Xavier Le Bail2023-01-021-0/+5
| | | | (cherry picked from commit 0c7aadc5c6ef3dc33fc52038524bfe43b9f02b91)
* doc: Update README.NetBSD.md after commit bdc64c6. [skip ci]Denis Ovsienko2023-01-021-1/+1
| | | | (cherry picked from commit e0a01560ddff15df107bf39cd046e8a9cc7e8fef)
* Update some references to README files. [skip ci]Denis Ovsienko2023-01-022-1/+1
| | | | (cherry picked from commit 77476409d97b09f2265c4e2bd7f45a2573578469)
* doc: Add a README file for NetBSD.Denis Ovsienko2023-01-021-0/+22
| | | | | | (cherry picked from commit 54e832942115b10055358dc4fc6ad98ac6f795dd) [skip ci]
* CONTRIBUTING.md: Document the use of "protocol: " in a commit summaryFrancois-Xavier Le Bail2023-01-021-0/+3
| | | | | | | If the commit concerns a protocol, the summary line must start with "protocol: ". (cherry picked from commit 91d3ed4dfbb9e955973dc8301d18992ab2de8be2)