Skip to content

Commit

Permalink
use recvmsg(2), CMSG_DATA(3) to improve UDP server-host accuracy
Browse files Browse the repository at this point in the history
also, portability (it works on MirBSD)
  • Loading branch information
mirabilos committed Jun 16, 2024
1 parent d190ea1 commit 084bdd8
Show file tree
Hide file tree
Showing 2 changed files with 277 additions and 13 deletions.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ The responses are plaintext JSON currently as follows:

client-l3 can be IPv4 and server-l3 can be IPv6 at the same time
if v4-mapped or (*shudder…*) NAT64 are used. *-l3 can be IPv4 but
*-host an IPv6 address, for similar cases.
*-host an IPv6 address, for similar cases. There can be an extra
lnx.specdst member for UDP on Solaris and Linux.

In case of trouble, *-host can be "(unknown)", *-port "(???)".

Expand Down
Loading

0 comments on commit 084bdd8

Please sign in to comment.