Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Firewalls
[Top] [All Lists]

Re: Iptables rules comparation

Subject: Re: Iptables rules comparation
Date: Tue, 26 Oct 2004 06:16:29 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


you could run both rule sets, then redirect the details to files, then
diff them...

# fw1.sh
# iptables -L -n -v > fw1.txt
# fw2.sh
# iptables -L -n -v > fw2.txt
# diff fw1.txt fw2.txt

Just make sure you flush the rules at the beginning of your scripts.

phil


J.R. Barreras wrote:
Hi all!
How can I do compare iptables rule sets produced by different scripts?
Any tools? Ideas?

Waiting for yours reply, thanks in advance...

Best wishes!
Barreras






- --

+==========================
+ Phil Dyer
+ email: phil.dyer@cox.net
+==========================


-----BEGIN PGP SIGNATURE-----
Comment: Public Key: http://www.dyermaker.org/gpgkey.asc

iD8DBQFBfiP90q9tKssDeQcRAhiGAJ97epPlmDlYGTh4I8GsNpVvQzCnMACeJM5J
DOCoYykE7/4d6odk5kQRSVo=
=9Buc
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>