Netdev List
 help / color / mirror / Atom feed
* how to search for the best route from userspace in netlink?
@ 2019-09-02 22:07 Dave Taht
  2019-09-03  3:13 ` David Ahern
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Taht @ 2019-09-02 22:07 UTC (permalink / raw)
  To: Linux Kernel Network Developers

Windows has the "RtmGetMostSpecificDestination" call:
https://docs.microsoft.com/en-us/windows/win32/rras/search-for-the-best-route

In particular, I wanted to search for the best route, AND pick up the
PMTU from that (if it existed)
for older UDP applications like dnssec[1] and newer ones like QUIC[2].
The alternatives, which
basically include probing perpetually and/or picking really low
values, seem increasingly less than
optimal.

Put in a wrapper around bpf[3]'s lpm calls? Create a new netlink message?

[1] https://github.com/dns-violations/dnsflagday/issues/125
[2] https://tools.ietf.org/html/draft-ietf-quic-transport-22#section-14.1
[3] https://github.com/torvalds/linux/blob/master/kernel/bpf/lpm_trie.c#L164

-- 

Dave Täht
CTO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-831-205-9740

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-03  9:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-02 22:07 how to search for the best route from userspace in netlink? Dave Taht
2019-09-03  3:13 ` David Ahern
2019-09-03  9:29   ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox