Re: MSG_ERRQUEUE in socket recvmsg ?
- Reply: Kurt Jaeger : "Re: MSG_ERRQUEUE in socket recvmsg ?"
- In reply to: Kurt Jaeger : "MSG_ERRQUEUE in socket recvmsg ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Nov 2024 18:37:11 UTC
On Tue, Nov 26, 2024 at 1:37 PM Kurt Jaeger <pi@freebsd.org> wrote: > Hello, > > there's a tool called tracepath (similar to traceroute) and some > implementation in python: > > https://github.com/keiichishima/pytracepath > > It depends on recv(2) having some MSG_ERRQUEUE flag. > > Does anyone know if that is being worked on or if there's > a reason that FreeBSD does not have that flag ? > > Thanks! > > -- > pi@FreeBSD.org +49 171 3101372 Now what ? > > It looks like pytracepath not only uses that non-standard flag to enable reporting of errors for some optional purpose, but relies on the specific format of those errors, such as the embedded IP addresses, to implement its core functionality. That tool is completely locked into Linux. FreeBSD's traceroute is implemented using raw sockets instead. Regards Damjan