LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2007, 08:45 AM   #1
yiux
LQ Newbie
 
Registered: Jan 2007
Location: Mauritius
Distribution: Debian 4.0R0
Posts: 11

Rep: Reputation: 0
graphical Linux router with firewall functionalities


hello guys, its has been some times that am working on this project.
I have been using iptables to configure linux as firewall and i' have been using ip, route, ifconfig and tc to make my linux box act as a router.

The aim of my project is to make these configuration much easier, therefore am using a web interface to interact with iptables, ip and route. Am using html and php (using exec to execute the commands) in apache server in order to do this.

To extract information for display, lets say for example i want to display the rules for a chain (root@linux # iptables -L INPUT) am using sed, grep, cut and wc to extract the required info. There is no problem on this side. Everything works fine.

My question is:
> Is there a way that i can interact directly with netfilter to get the rules and any firewall configuration instead of extracting the data from the output.
>same for the router part.
>is there a way to get the information about the network devices (UP/DOWN, ip address, mac, etc) separately.


for short i just want to know if there are system call for this.



Note:
>Please bare with me for writting that much!! But i think i must give as much info possible 4 u to help me.
>I've already have a look at many firewall builder interfaces or linux router available. For my project, i should develop my own!

Thanks in advance for your help.

Last edited by yiux; 02-21-2007 at 01:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
Linux Router / Firewall stlouis Linux - Hardware 1 08-01-2006 10:36 AM
linux as router/gateway/firewall to dsl-router sjoerdvvu Linux - Networking 2 02-24-2006 10:56 PM
linux as a firewall+router Doug Hammond Linux - Networking 1 02-03-2005 10:18 AM
Linux and XP NOS functionalities farhan Linux - Networking 5 12-06-2004 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration