is there a firewall does not base on iptables in linux?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
is there a firewall does not base on iptables in linux?
Hi,all
i want to write a tool like firewall. i will inspect all
ip packet and do some changes on it before pass it to
TCP and APP, or resend to network.
i have read some firewall source code of linux, but almost of them
base on the linux utility iptables. so, i can't change the packet
and only can make a decision droping or accepting or etc. that is
so discouraged.
What are you trying to do? Iptables lets you mangle packets, and it's based on netfilter which is plugged into the kernel. The packet mangling should be available in the API too. Read the docs at www.netfilter.org
Iptables also has a queue feature which can be used to pass packets to userland where you can process them with your own home brew utility. For example, here's a Perl utility for manipulating packets once they're handed off: http://aspn.activestate.com/ASPN/Cod...q/IPQueue.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.