int sockfd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
setsockopt(sockfd, IPPROTO_IP, IP_FW_SOCKET_TEE, 0, 0);
Dave Airlie wrote:
> this mail amused me ....
>> this was asked on netfilter list, and this person is in charge of a
> firewall.. what is the world coming to ... as it has been said if you
> aren't scared of setting up a firewall you probably shouldn't.. this guy
> missed networks 101 ...
>> Hi there All
>> I would like to know if I can with iptables duplicate a dest port.
>> so for example if I had a mail server on the outside of a iptables
> firewall, and I sendmail to this mail server, I want same mail delieved
> to that server and another mail server aswell.
>> can it be done .....if so what would the syntax be.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!