redirecting connections to userspace

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

 



Hello,

I'd like to forward TCP connections coming from intranet to my gateway to userspace programs on the gateway.

For example,
host A on the intranet tries to connect to host B on the Internet using gateway G. Upon receiving the connection, gateway G sends the original connection destination (B and port) to a userspace program, and sends the network data to/from the program.

Is it possible to achieve that using netfilter?

So far, I've only found ipqueue, which operates on the packet level - a little too low for me. The other solution would be to use VPN, but I don't get the flexibility of writing my own program then.

Thanks in advance!

Cheers,
rhn
--
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