Skip to contentSkip to conversation

Hi...

DISCUSSION Daniel 4 participants 6 messages Jan 18, 2003 – Jan 19, 2003 netfilter

lore
Share & tools
lore

Daniel

author
#0 lore raw

Hi, my name is Daniel. I'm new to this list. I writing because I released the first version of Gtk-iptables which is a frontend for iptables based on Gtk written in C. You can find it at www.geocities.com/da_tes/gtk-iptables
It has the very basics of iptables but in the future will cover much more.
I would like to know your opinion about it and ideas too. Thanks.

Regards.
Daniel.

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html

#1 lore raw
Quoted 3 lines

www.geocities.com/da_tes/gtk-iptables
It has the very basics of iptables but in the future will cover much more.

Sure. Right now, it shows the current filter table.

It does system("iptables -L >/tmp/tables.tmp"), then reads that file.
HINT: popen() exists for exactly this purpose.

As far as I can see by glancing at the gtk mess, it also opens two windows with dummy select boxen.

What will gtk-iptables do to help me understand, and sanely manage, a more than trivial ruleset? What will it be that convinces me to run a GTK application as root? Assume I'm somewhat familiar with iptables, and use a combined mangle/nat/filter setup with about 30 things to do right at once. I.e. the usual mess. How could you help here?

best regards
Patrick

#2 lore raw
Quoted 2 lines · Patrick Schaaf

What will it be that convinces me to
run a GTK application as root?

I think it's not necessarily the consequence for a GUI. The GUI could output a script which you could later run as root. So you don't have to trust the GTK mess as root.

#3 lore raw
Quoted 7 lines · ZHAO Wei
Quoted 2 lines · Patrick Schaaf

What will it be that convinces me to
run a GTK application as root?

I think it's not necessarily the consequence for a GUI. The GUI could output a script which you could later run as root. So you don't have to trust the GTK mess as root.

Yeah, sure. I should not have mentioned that. My real points were in the unquoted parts.

How would a GUI help me understand and work with more than trivial rulesets?

If that point is not addressed, then it is my opinion that the development effort will be wasted (except as a learning experience.)

And I strongly think that there are better ways to learn iptables, than to write a GUI for it.

best regards
Patrick

author
#4 lore raw

Hi, thanks to all of you for share your opinion with me and be sure that I will be glad to add all your needs to gtk-iptables. Just give me time.

I do not write gtk-iptables because I want to learn how to use iptables, because I know how to use it, is just that I learn how to programm with Gtk and I thought that it will nice to have a GUI for iptables, that for people new to iptables will be much more easy and for advanced users much more quickly to make rules. Thanks again and keep sending comments and opinions.

Regards.
Daniel.

Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html

#5 lore raw
Quoted 10 lines · Daniel

Hi, thanks to all of you for share your opinion with me and be sure that I will be glad to add all your needs to gtk-iptables. Just give me time.

I do not write gtk-iptables because I want to learn how to use iptables, because I know how to use it, is just that I learn how to programm with Gtk and I thought that it will nice to have a GUI for iptables, that for people new to iptables will be much more easy and for advanced users much more quickly to make rules. Thanks again and keep sending comments and opinions.

Daniel,

Once when I had time I was working on "St. Elmo's Firewall", a gui that would work with IPTables rules.

It is a VERY difficult thing to decide how to present a GUI.

Just IPTables rules ? Or something abstracted and user friendly ?

With nmap type features ? With ability to ping and discover a local network, services, etc., ?

With ability to manage FreeS/Wan IPSec ?

Also, I was looking into settings that are affected in /proc related to networking. Click and enable, what value needs to go where...

And what modules need to be loaded ?

Also, everything in it has lots of Help explaining this that and the other thing.

As it is a prototype, the things that work best in the code I can dig up are the HELP, and the driving of Nmap.

What I have is a concept than happens to run and you are welcome to check it out for ideas and even take it over.

It is unlikely that I will find the time to do anything other that clean it up a bit and stick it on Sourceforge.

FYI
-AEF