On Fri Dec 19, 2025 at 3:41 PM UTC, nepomuk1 wrote:
> Hi list,
>
> Playing with rdomains, I was a little bit surprised that a normal
> user is able to change the rtable of one of their running processes,
> as long as it is using the default rtable (0):
>
> user$ route -T1 exec ping <address in rtable1>
>
> I was pointed to getrtable(2) which indeed documents this behavior.
> I wonder why rtable 0 is special in this regard, and if documenting
> this behavior in rdomain(4) would be useful?
>
> Please CC' me in replies, I am not on the list, thanks.

Hi,

man(2) getrtable seems to explain this. I imagine there could be a place
for it in rdomain(4).

One possible compounding factor is that ping is setuid, but I think it
would work either way in this instance.

Thank you for sharing! This is interesting either way. I haven't used
rdomains yet.

-Henrich

Reply via email to