Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d385bb4-99c3-f939-25fa-1d07c59a3f81@mirbsd.de>
Date: Sun, 29 Nov 2026 03:01:21 +0100 (CET)
From: Thorsten Glaser <tg@...bsd.de>
To: musl@...ts.openwall.com
Subject: Re: musl: stub resolver queries from an unconnected UDP socket
 are poisonable off-path on Linux 7.1+

On Sat, 28 Nov 2026, Rich Felker wrote:

>In general the rp_filter sysctl, on by default for all
>interfaces since at least the Linux 2.4 era, prevents any interface
>from receiving packets where the source address would not be routable
>to that interface if used as an outgoing destination address.

On by default?

$ grep . /proc/sys/net/ipv4/conf/*/rp_filter
/proc/sys/net/ipv4/conf/all/rp_filter:0
/proc/sys/net/ipv4/conf/default/rp_filter:0
/proc/sys/net/ipv4/conf/eth0/rp_filter:0
/proc/sys/net/ipv4/conf/lo/rp_filter:0
/proc/sys/net/ipv4/conf/wlan0/rp_filter:0

It’s not, even the docs say:

| Default value is 0. Note that some distributions enable it in startup
| scripts.

Even OpenBSD does not enable it by default, but with a simple
pf.conf line (“antispoof for lo0”), with the caveat that this
also blocks traffic for local addresses of other interfaces
being sent over the loopback interface.

I think this calls for some actual testing…

bye,
//mirabilos
-- 
>> Why don't you use JavaScript? I also don't like enabling JavaScript in
> Because I use lynx as browser.
+1
	-- Octavio Alvarez, me and ⡍⠁⠗⠊⠕ (Mario Lang) on debian-devel

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.