Setting source routing option using netfilter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to dynamically add IP_Options to the packet header in
2.6.23 kernel to perform strict source routing. I am using Netfilter
hooks (NF_IP_LOCAL_OUT hook) to intercept the packet before it goes
out of the host. If the IP_Options are set through setsockopt() in my
application, I am able to read those options using Netfilter. However,
I am not sure how to insert new IP_Options into packets originating
from another application. Could anyone please point me to some
documentation or sample code regarding this.

Thank you,

Ashwini.
-
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux