Hi
I have my function hooked into pfil (2.1.6) incoming hook. I want append 6 bytes of data to the payload and route it to the local ip. I make a copy of original packet drop the original one. append data to new packet and route it. I tried using fr_fastroute but ire_route_lookup returns ire_fp_mp ( fastpath header ) null if destination ip parameter is local ip. Also i cannot depend on cache lookup as it is not reliable though cache lookup also return NULL for local ip. I tried an ugly way, I gave destination ip parameter a different ip ( any known ip other my local ip ) then in the fastpath path header I just over-write the destination mac address with local mac adddress "putnext" the
  packet. But in ethereal I see Frame check sequence incorrect.
My problem is I create an udp packet wrap it in an ip packet and I now want to route it to my machine itself
  but I am not able to do that. Any help will be appreciated.

Thanks in advance

SACHIN

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to