[no subject]

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


"What this basically does is that ipi_ifindex will override any routing
table decision and force the packet out of that very interface.
Furthermore, if there is no routing table entry for the destination via
that interface, the destination will be assumed to be on-link and will
not be routed via a gateway. Note that no error will be returned to
userspace and if the destination does not respond to an ARP request on
that very link, the packet will be silently dropped."

so chrony would need to figure out if using outgoing interface won't
cause silent drop.

That would mean implementing "ip route get A from B" variant
(RTM_GETROUTE) and checking if that route is thru gateway (as I
understand accuracy you mention makes sense in local lan only, when
there are multiple interfaces to the same network) and if it is using
gateway and interfaces don't match then avoid forcing interface.

Ugly.

-- 
Arkadiusz MiÅ?kiewicz, arekm / ( maven.pl | pld-linux.org )

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/