From nobody Fri May 12 04:22:46 2023 X-Original-To: freebsd-questions@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 4QHbGX4MvNz4BTXY for ; Fri, 12 May 2023 04:23:00 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHbGV6LClz44nP for ; Fri, 12 May 2023 04:22:58 +0000 (UTC) (envelope-from mark@tinka.africa) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=W05kLSSn; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa; dmarc=pass (policy=none) header.from=tinka.africa DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Subject:From:To:MIME-Version:Date:Message-ID: Content-Type:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KH7YUEWPpXVtRqX841j6UHjQzAsclFbus22wWpiu36A=; b=W05kLSSnPRBpIg2vgjyoSMfd/f N52t362rQRx2il9FY21cT8FrLDjCtHZ6L0ZrOENSLiNtRAmvcm61cjwFFN0/uani9tJ7nlBEdm/7v vHLSKJySsf7crVZvIGCetmAN6H4B+6SAEJ5V6OlnTQZqUodOs3wmFf3nmV3g5om8fUr3Oo7cpKiAH K3FQLZM61ERzV6hdOAN3hAG5Kjaq/ntaIYY069CpOVTTvsENcrmO/O18KNLthCDvfiBBsxD66vjTB YGRIhz9b+7Nnoq4fP/Q38G3egJlQjUN9PKEAy01LJJ955udbr8nr+i/loqJ7ZHz9hKc3RDDUaW0sN bBj0QG0g==; Received: from [127.0.0.1] by the-host.tinka.africa with esmtp (Exim 4.92.1) (envelope-from ) id RUJ2U1-0009DE-3Q for freebsd-questions@freebsd.org; Fri, 12 May 2023 06:22:49 +0200 Content-Type: multipart/alternative; boundary="------------RcXpzuh0s1uDBj0Qv3CTTVkh" Message-ID: Date: Fri, 12 May 2023 06:22:46 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 To: freebsd-questions@freebsd.org Content-Language: en-US From: Mark Tinka Subject: BPF Issue Preventing IS-IS Adjacencies in FRR from Forming X-Spamd-Result: default: False [-3.00 / 15.00]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[mark]; DKIM_TRACE(0.00)[tinka.africa:+]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QHbGV6LClz44nP X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------RcXpzuh0s1uDBj0Qv3CTTVkh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi all. I have "frr8-8.5.1_1" installed on 13.2-RELEASE. I'm trying to get IS-IS to start and talk to a Cisco router on the side. However, it complains about the BPF buffer length only being 4,096 bytes long, since I am running Jumbo frames on all interfaces: 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0 2023/03/31 07:12:01 ISIS: [QJWNQ-3FFKM] BPF buffer len = 4096 2023/03/31 07:12:01 ISIS: [V3AHD-XE2Z5] failed to set BPF buffer len (4096 to 9000) 2023/03/31 07:12:01 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:01 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/03/31 07:12:04 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:04 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/03/31 07:12:07 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:07 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed I updated "/etc/sysctl.conf" to bump it to 9,000 bytes, and the complaint goes away. However, the system still complains of I/O issues for IS-IS: 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0 2023/05/11 16:58:24 ISIS: [QJWNQ-3FFKM] BPF buffer len = 9000 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:27 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:27 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:30 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:30 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:33 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:33 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:36 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:36 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed I've been working with the FRR and NANOG lists and developers on this since 2020, as per below: https://seclists.org/nanog/2020/Apr/226 The FRR team indicate that this issue does not exist on Linux; only on FreeBSD. Grateful if anyone can point me in the right direction on how to deal with this, as it appears to be unique to FreeBSD. Thanks. Mark. --------------RcXpzuh0s1uDBj0Qv3CTTVkh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi all.

I have "frr8-8.5.1_1" installed on 13.2-RELEASE. I'm trying to get IS-IS to start and talk to a Cisco router on the side. However, it complains about the BPF buffer length only being 4,096 bytes long, since I am running Jumbo frames on all interfaces:

2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/03/31 07:12:01 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0
2023/03/31 07:12:01 ISIS: [QJWNQ-3FFKM] BPF buffer len = 4096
2023/03/31 07:12:01 ISIS: [V3AHD-XE2Z5] failed to set BPF buffer len (4096 to 9000)
2023/03/31 07:12:01 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/03/31 07:12:01 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/03/31 07:12:04 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/03/31 07:12:04 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/03/31 07:12:07 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/03/31 07:12:07 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed

I updated "/etc/sysctl.conf" to bump it to 9,000 bytes, and the complaint goes away. However, the system still complains of I/O issues for IS-IS:

2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP
2023/05/11 16:58:24 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0
2023/05/11 16:58:24 ISIS: [QJWNQ-3FFKM] BPF buffer len = 9000
2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/05/11 16:58:27 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:27 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/05/11 16:58:30 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:30 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/05/11 16:58:33 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:33 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
2023/05/11 16:58:36 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error
2023/05/11 16:58:36 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed

I've been working with the FRR and NANOG lists and developers on this since 2020, as per below:

    https://seclists.org/nanog/2020/Apr/226

The FRR team indicate that this issue does not exist on Linux; only on FreeBSD.

Grateful if anyone can point me in the right direction on how to deal with this, as it appears to be unique to FreeBSD. Thanks.

Mark.
--------------RcXpzuh0s1uDBj0Qv3CTTVkh--