Le Thu, Mar 17, 2022 at 04:31:06PM +0100, Alexander Bluhm a écrit : > On Thu, Mar 17, 2022 at 11:35:52AM +0000, Stuart Henderson wrote: > > Seems that "route sourceaddr" is not honoured by ping/traceroute, > > presumably because of raw sockets. Is this fixable? > > > > (I haven't used sourceaddr myself before, it seems a nice idea but > > also seems like it would have many corner cases, so I just stayed with > > my old NAT rules instead - Ian mentioned this problem and I gave it > > a spin to check for myself). > > There was a diff on tech@ > > https://marc.info/?l=openbsd-tech&m=163967885319481&w=2 > > But it did not fit into pcb and network layer and was not MP safe. > > bluhm >
There is also a diff for ping(8)/traceroute(8) on tech@ : https://marc.info/?l=openbsd-tech&m=163977557605168&w=2 But this in only like putting a band-aid on a wooden leg. At least ping(8) and traceroute(8) have options to force source. Unfortunately, I don't have the time these days to work on it seriously. Denis