Re: [RFC PATCH] Change "local" route table preference from 0 to 3fff, to permit send-to-self policy routing
From: Alexey Kuznetsov <hidden>
Date: 2004-06-18 20:45:29
From: Alexey Kuznetsov <hidden>
Date: 2004-06-18 20:45:29
Hello!
that problem. Something I'll look into further, unless somebody can tell me that having a host reply its own ARP requests, even when received over a real interface, isn't possible at all.
Sigh, do not you think that making undelatable local rule with preference 0 was an easy decision. This kills most of coolness of policy making yet. :-) Essentially, your patch becomes 100% legal after we kill the places where we ask "Is X.X.X.X our local address?". This thing with arp is one of many places when we have to do this to keep stack relatively coherent. We have several places where we do lookup directly in local table bypassing policy rules, because we just do not have enough information to look in right place.
kernel hacking, if there is a better way to change the "local" route table preference, I'm all ears.
No, really. It is the best. Not made only as fool proof, because adding almost any rule before local one shuts down networking completely. Alexey