riskable
06-29-2009, 07:02 PM
So tomorrow is a pretty big day and not a peep in the forum? I swear adrianatkins and I must be the only contestants.
Anyway, if anyone wants to so see what I'm up against with my iptables parser, have a look at this:
http://codepad.org/VvrMKsKu
The goal is to make an IPTables() object that can not only parse the active firewall configuration (which it can already do) but can also save it in /etc/firewall.user as iptables commands. I also want it to be able to parse /etc/firewall.user as if it were a running config and then compare the running config against the config in firewall.user.
In theory, because I've included an interface to edit /etc/firewall.user directly I suppose I'm meeting the contest requirement but I'm pretty sure I can get this done in time. I might hold off on the super IPTables() object until I finish everything else first. I love a challenge though so we'll see =)
Anyway, if anyone wants to so see what I'm up against with my iptables parser, have a look at this:
http://codepad.org/VvrMKsKu
The goal is to make an IPTables() object that can not only parse the active firewall configuration (which it can already do) but can also save it in /etc/firewall.user as iptables commands. I also want it to be able to parse /etc/firewall.user as if it were a running config and then compare the running config against the config in firewall.user.
In theory, because I've included an interface to edit /etc/firewall.user directly I suppose I'm meeting the contest requirement but I'm pretty sure I can get this done in time. I might hold off on the super IPTables() object until I finish everything else first. I love a challenge though so we'll see =)