04-22-2014
2,
0
Join Date: Apr 2014
Last Activity: 22 April 2014, 6:28 PM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Packet forwarding to network stack
hello All,
I am not heavily conversant with *nix, so few of you may find the question to be naive.
Question : Will *nix Kernel process packets not originating from a loopback interface, but received on a loopback interface?
Scenario:
I have an application running which can strip packets of encapsulation , now once the packet is just IPv4 packet , I am trying to reprogram this application to hand over the packet-payload(IPV4 packet) back to network stack for IP routing.
How can I get this done?
Can I create a sockets to loopback interface and send the packet-payload(IPV4 packet) to the loopback interface? Will the kernel accept such packets to originating from loopback interface and still process it?
---------- Post updated 04-22-14 at 03:37 PM ---------- Previous update was 04-21-14 at 09:11 PM ----------
Bumping the thread , in hope of help