Re: Porting OpenBSD MPLS to FreeBSD

2021-12-04 Thread Neel Chauhan
Hi Alexander, On 2021-12-04 10:42, Alexander V. Chernikov wrote: * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off doing a from-scratch implementation based on netgraph? It depends. MPLS implementaiton can be splitted into multiple logical parts - dataplane (input, control, ou

Weirdness with same-host IPv6 packets

2021-12-04 Thread Dustin Marquess
I'm seeing a weird issue with -CURRENT that I don't recall seeing before. It started at least a couple of weeks back and a new build from yesterday still shows it. UDP packets inside a host using the host's non-loopback address seems to get dropped. TCP does work, however there's a delay, almost li

Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Bjoern A. Zeeb
On Sat, 4 Dec 2021, Kurt Jaeger wrote: I can reproduce some of this problem in the lab: 19:01:53.113623 02:16:b4:9a:e5:0a > 02:16:b4:9a:e5:0b, ethertype IPv4 (0x0800), length 126: (tos 0x0, ttl 64, id 56538, offset 0, flags [none], proto ICMP (1), length 112) 203.0.113.1 > 203.0.113.254: I

Re: Porting OpenBSD MPLS to FreeBSD

2021-12-04 Thread Alexander V. Chernikov
> On 19 Nov 2021, at 19:17, Neel Chauhan wrote: > > Hi freebsd-net@, > > Long time no see. I've gotten a (Ports) commit bit since then. > > I haven't been very active in TCP/IP hacking as of late, as more recently > I've been more focused on GNOME packages and some GPU drivers. > > Going b

Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Kurt Jaeger
Hi! > > rtr1 runs frr, has full route, either with or without default route. > > If that makes no difference then something else is wrong. I agree, but we have to find out, what is wrong... > > > (b) At the time this happens does rtr1 have a route to z.z.z.z ? > > > route -4 get z.z.z.z >

Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Bjoern A. Zeeb
On Sat, 4 Dec 2021, Kurt Jaeger wrote: Hi! 10:20:16.889185 IP x.x.x..1 > y.y.y.1: ICMP redirect z.z.z.z to host 0.0.0.0, length 48 whoops. This has been stopped by net.inet.ip.redirect=0 on rtr1, but my question is: Why is rtr1 sending those multi-hop icmp redirects at all ? Could you

Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Kurt Jaeger
Hi! > > 10:20:16.889185 IP x.x.x..1 > y.y.y.1: ICMP redirect z.z.z.z to host > > 0.0.0.0, length 48 > > whoops. > > This has been stopped by net.inet.ip.redirect=0 on rtr1, but my question is: > > > > Why is rtr1 sending those multi-hop icmp redirects at all ? > > Could you elaborate on: > (

Re: why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Bjoern A. Zeeb
On Sat, 4 Dec 2021, Kurt Jaeger wrote: Hi! We (AS12502) recently upgraded one router from 12.2.x to 13.0.x. This caused some surprising effect, with the router sending out icmp redirects to 0.0.0.0 over multiple hops: Example: inet -- wan:rtr1:lan -- rtr2 -- wan:host

Re: genet and ALTQ

2021-12-04 Thread Mike Karels
> Hi, > Are there any (even preliminary) docs/manpages for genet? > I'm not seeing it in main-n251261-25d0ccbe101 or any earlier system. Sorry, no. I'll try to move this up on my list of things to do. > Can someone confirm whether pf's ALTQ is supported with this NIC? = > It's not list

why multi-hop icmp redirects to 0.0.0.0 on 13.0 ?

2021-12-04 Thread Kurt Jaeger
Hi! We (AS12502) recently upgraded one router from 12.2.x to 13.0.x. This caused some surprising effect, with the router sending out icmp redirects to 0.0.0.0 over multiple hops: Example: inet -- wan:rtr1:lan -- rtr2 -- wan:host x.x.x.1y.y.y.1 ho