Capture packets without route
Hello,
I try to write an implementation of one of the on-demand routing protocol (AODV) and have small trouble. When packet arrive from the network they normaly appear in PRE_ROUTING hook without any route testing. But host packets comming from transport level are have route testing before LOCAL_OUT hook in the ip_queue_xmit() function. And packets without appropriate route are dropped before reach the hook.
To solve this problem I use fake default route via TAP interface. My question is does any other solution exists?
Signature · 2 lines
Best regards, BlackCat