Skip to content

Commit 141d04a

Browse files
AuthorReflexhauke
authored andcommitted
tcpdump: update to 4.99.6
Various improvements and bug fixes. Changelog: https://github.com/the-tcpdump-group/tcpdump/blob/tcpdump-4.99.6/CHANGES Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com> Link: openwrt/openwrt#21744 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent 9a7ddca commit 141d04a

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

package/network/utils/tcpdump/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=tcpdump
11-
PKG_VERSION:=4.99.5
11+
PKG_VERSION:=4.99.6
1212
PKG_RELEASE:=1
1313

1414
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1515
PKG_SOURCE_URL:=https://www.tcpdump.org/release/
16-
PKG_HASH:=8c75856e00addeeadf70dad67c9ff3dd368536b2b8563abf6854d7c764cd3adb
16+
PKG_HASH:=5839921a0f67d7d8fa3dacd9cd41e44c89ccb867e8a6db216d62628c7fd14b09
1717

1818
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
1919
PKG_LICENSE:=BSD-3-Clause

package/network/utils/tcpdump/patches/001-remove_pcap_debug.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/configure
22
+++ b/configure
3-
@@ -7346,97 +7346,6 @@ esac
3+
@@ -7357,97 +7357,6 @@ esac
44
fi
55

66

package/network/utils/tcpdump/patches/100-tcpdump_mini.patch

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
LIBNETDISSECT_SRC=\
8888
addrtoname.c \
8989
addrtostr.c \
90-
@@ -254,6 +334,8 @@ LIBNETDISSECT_SRC=\
90+
@@ -253,6 +333,8 @@ LIBNETDISSECT_SRC=\
9191
strtoaddr.c \
9292
util-print.c
9393

@@ -215,7 +215,7 @@
215215
break;
216216
--- a/print-icmp6.c
217217
+++ b/print-icmp6.c
218-
@@ -1369,7 +1369,7 @@ get_upperlayer(netdissect_options *ndo,
218+
@@ -1383,7 +1383,7 @@ get_upperlayer(netdissect_options *ndo,
219219
nh = GET_U_1(fragh->ip6f_nxt);
220220
hlen = sizeof(struct ip6_frag);
221221
break;
@@ -224,7 +224,7 @@
224224
case IPPROTO_AH:
225225
ah = (const struct ah *)bp;
226226
if (!ND_TTEST_1(ah->ah_len))
227-
@@ -1377,7 +1377,7 @@ get_upperlayer(netdissect_options *ndo,
227+
@@ -1391,7 +1391,7 @@ get_upperlayer(netdissect_options *ndo,
228228
nh = GET_U_1(ah->ah_nxt);
229229
hlen = (GET_U_1(ah->ah_len) + 2) << 2;
230230
break;
@@ -337,15 +337,15 @@
337337
default:
338338
/*
339339
* AH and ESP are, in the RFCs that describe them,
340-
@@ -371,6 +372,7 @@ ip6_print(netdissect_options *ndo, const
340+
@@ -373,6 +374,7 @@ ip6_print(netdissect_options *ndo, const
341341
nh = GET_U_1(cp);
342342
break;
343343

344344
+#ifndef TCPDUMP_MINI
345345
case IPPROTO_FRAGMENT:
346346
advance = frag6_print(ndo, cp, (const u_char *)ip6);
347347
if (advance < 0 || ndo->ndo_snapend <= cp + advance) {
348-
@@ -401,7 +403,7 @@ ip6_print(netdissect_options *ndo, const
348+
@@ -403,7 +405,7 @@ ip6_print(netdissect_options *ndo, const
349349
nh = GET_U_1(cp);
350350
nd_pop_packet_info(ndo);
351351
return;
@@ -532,15 +532,15 @@
532532
/*
533533
--- a/print-tcp.c
534534
+++ b/print-tcp.c
535-
@@ -612,6 +612,7 @@ tcp_print(netdissect_options *ndo,
535+
@@ -629,6 +629,7 @@ tcp_print(netdissect_options *ndo,
536536
ND_PRINT(" %u", utoval);
537537
break;
538538

539539
+#ifndef TCPDUMP_MINI
540540
case TCPOPT_MPTCP:
541541
{
542542
const u_char *snapend_save;
543-
@@ -635,7 +636,7 @@ tcp_print(netdissect_options *ndo,
543+
@@ -652,7 +653,7 @@ tcp_print(netdissect_options *ndo,
544544
goto bad;
545545
break;
546546
}
@@ -549,15 +549,15 @@
549549
case TCPOPT_FASTOPEN:
550550
datalen = len - 2;
551551
LENCHECK(datalen);
552-
@@ -720,6 +721,7 @@ tcp_print(netdissect_options *ndo,
552+
@@ -740,6 +741,7 @@ tcp_print(netdissect_options *ndo,
553553
return;
554554
}
555555

556556
+#ifndef TCPDUMP_MINI
557557
if (ndo->ndo_packettype) {
558558
switch (ndo->ndo_packettype) {
559559
case PT_ZMTP1:
560-
@@ -735,12 +737,15 @@ tcp_print(netdissect_options *ndo,
560+
@@ -755,12 +757,15 @@ tcp_print(netdissect_options *ndo,
561561
}
562562
return;
563563
}
@@ -573,7 +573,7 @@
573573
} else if (IS_SRC_OR_DST_PORT(TELNET_PORT)) {
574574
telnet_print(ndo, bp, length);
575575
} else if (IS_SRC_OR_DST_PORT(SMTP_PORT)) {
576-
@@ -759,10 +764,12 @@ tcp_print(netdissect_options *ndo,
576+
@@ -779,10 +784,12 @@ tcp_print(netdissect_options *ndo,
577577
} else if (IS_SRC_OR_DST_PORT(NETBIOS_SSN_PORT)) {
578578
nbt_tcp_print(ndo, bp, length);
579579
#endif
@@ -587,7 +587,7 @@
587587
#ifdef ENABLE_SMB
588588
} else if (IS_SRC_OR_DST_PORT(SMB_PORT)) {
589589
smb_tcp_print(ndo, bp, length);
590-
@@ -770,18 +777,22 @@ tcp_print(netdissect_options *ndo,
590+
@@ -790,18 +797,22 @@ tcp_print(netdissect_options *ndo,
591591
} else if (IS_SRC_OR_DST_PORT(RTSP_PORT)) {
592592
ND_PRINT(": ");
593593
rtsp_print(ndo, bp, length);
@@ -752,8 +752,8 @@
752752
else if (IS_SRC_OR_DST_PORT(SIP_PORT))
753753
sip_print(ndo, cp, length);
754754
+#ifndef TCPDUMP_MINI
755-
else if (IS_SRC_OR_DST_PORT(OTV_PORT))
756-
otv_print(ndo, cp, length);
755+
else if (IS_SRC_OR_DST_PORT(VXLAN_LINUX_PORT))
756+
vxlan_print(ndo, cp, length);
757757
else if (IS_SRC_OR_DST_PORT(VXLAN_PORT))
758758
@@ -721,6 +748,7 @@ udp_print(netdissect_options *ndo, const
759759
someip_print(ndo, cp, length);

0 commit comments

Comments
 (0)