From nobody Fri Nov 12 14:10:08 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B35F185AE2D for ; Fri, 12 Nov 2021 14:10:19 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HrL8C06Lnz3ktJ; Fri, 12 Nov 2021 14:10:19 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from smtpclient.apple (unknown [IPv6:2a00:20:7016:6476:48eb:7202:f54e:5e31]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id F3615721BE008; Fri, 12 Nov 2021 15:10:09 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: dtrace to trace incoming connection not suceeding ? From: tuexen@freebsd.org In-Reply-To: Date: Fri, 12 Nov 2021 15:10:08 +0100 Cc: freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <866D4765-25EF-4C5F-AA2E-D6BE8D5EBEEB@freebsd.org> References: To: Kurt Jaeger X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4HrL8C06Lnz3ktJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N > On 12. Nov 2021, at 14:09, Kurt Jaeger wrote: >=20 > Hello, >=20 > I'm trying to investigate tcp-179 connection issues with the > local frr setup. See below for more background. >=20 > The question is: What can I do to find the cause of the failing > connection ? Is there a way to trace the incoming packet to see > if it ever ends up at bgpd process ? >=20 > Background: a fbsd 13.0p4 amd64 box, with a frr-7.4_4 (or 7.5.1_3) > fails to act on incoming ipv4 tcp 179 connections. >=20 > The bgpd daemon of frr listens on port 179: >=20 > frr bgpd 96061 20 tcp6 *:179 *:* > frr bgpd 96061 21 tcp4 *:179 *:* >=20 > Incoming packets can be seen with tcpdump on the dest host: >=20 > # tcpdump -i vlan500 -n -s 1500 port 179 and host > tcpdump: verbose output suppressed, use -v or -vv for full protocol = decode > listening on vlan500, link-type EN10MB (Ethernet), capture size 1500 = bytes > 13:53:13.795162 IP .12274 > .179: Flags [S], seq = 62227917, win 65535, options [mss 1460,nop,wscale 9,sackOK,TS val = 2870882787 ecr 0], length 0 >=20 > But: No connection is established 8-( >=20 > The basic ipfw firewall is active, but Does it work, if you disable ipfw? Best regards Michael >=20 > --=20 > pi@FreeBSD.org +49 171 3101372 Now what ? >=20