Skip to contentSkip to conversation

Iptables vs. Cisco PIX

DISCUSSION Alejandro Cabrera Obed 5 participants 7 messages Apr 8, 2005 – Apr 10, 2005

lore
Share & tools
lore
#0 lore raw

Hi people !!!

This time I want to know your opinion about iptables vs. Cisco PIX....where would you use each of them ????
Is it the same using iptables or PIX in big corporations with heavy Internet traffic ???? Which is considered the "best" and why ???

I use iptables since a long time, but my network is under 50 workstations.

Thanks for your comments, they're welcome.

At last, I suggest the tutorial from Jose Negreira at www.iptableslinux.com, it's really good for persons who start into iptables world.

Thnking in advance,

Alejandro

#1 lore raw
Quoted 11 lines · Alejandro Cabrera Obed

Hi people !!!

This time I want to know your opinion about iptables vs. Cisco PIX....where would you use each of them ????
Is it the same using iptables or PIX in big corporations with heavy Internet traffic ???? Which is considered the "best" and why ???

I use iptables since a long time, but my network is under 50 workstations.

Thanks for your comments, they're welcome.

From personal experience, iptables shrugs off syn flood attacks better than anything out there. You can't beat it for the price. A colleague tested a PIX 550(?) and his Nokia running Checkpoint. We've tested Checkpoint running on Quad Xeon Dell PowerEdge 6650. A DDoS attack from a irc bot will render them useless. Checkpoint is just bad architecture. Even though you explicitly tell Checkpoint to drop certain packets, Checkpoint will still add those dropped packets to its connection table. You can try reducing the timeout, but we haven't found it to be terribly useful. He also found that SmartDefense just chokes HTTP traffic. The only Checkpoint product to do better was SecurePlatform using Corrent's Turbocards. While the connection table doesn't fill up on the PIX, the CPU still gets overloaded, so you can't make new legitimate connections easily. I don't know how the more industrial versions of PIX will do, though.

We have a quad PIII Dell PowerEdge 6450 running iptables protecting the residence halls on a college campus. It gets syn flooded constantly, handles 90k peak connections, load average of 1.0, all on 1GB of RAM. The only short coming of iptables is the lack distributed management and lack of a high availability solution. Distributed management is only a problem if you're managing more than several firewalls. And, lack of HA makes it harder to deploy iptables fully on the enterprise.

Signature · 3 lines
Jiann-Ming Su
"I have to decide between two equally frightening options. 
 If I wanted to do that, I'd vote." --Duckman
#2 lore raw
Quoted 1 line · Jiann-Ming Su

On Apr 8, 2005 11:05 AM, Alejandro Cabrera Obed <[email protected]> wrote:

<snip>

Quoted 8 lines

We have a quad PIII Dell PowerEdge 6450 running iptables protecting the residence halls on a college campus. It gets syn flooded constantly, handles 90k peak connections, load average of 1.0, all on 1GB of RAM. The only short coming of iptables is the lack distributed management and lack of a high availability solution. Distributed management is only a problem if you're managing more than several firewalls. And, lack of HA makes it harder to deploy iptables fully on the enterprise.

Distributed management for iptables (and other firewalls) is exactly the goal of the ISCS project (http://iscs.sourceforge.net). The project provides a more efficient administration tool than the most expensive management frameworks like Solsoft, SmartPipes or Provider1 and is entirely open source.

As my hours available for the project have reduced dramatically over the last eight months, we (the seven other volunteers plus myself) could use as much help as anyone can give. If you are in need of distributed management capability for iptables (as well as *swan, kernel IPSec, iproute2, network level user authentication and some PKI management) or have an academic interest and some time available, please contact me via e-mail or phone. Thanks - John

Signature · 7 lines
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[email protected]

Financially sustainable open source development
http://www.opensourcedevel.com
#3 lore raw
In reply to Alejandro Cabrera Obed

I personally would not claim to know Cisco PIX in any way shape or form as I have done VERY little work with them. That being said I have done a little bit of work on PIXies (is that how you would say PIX plural?) and found it to be more than a little bit odd. I'm not saying that there is any thing wrong with them, I'm just not very comfortable working with them. IMHO if my money is on the line I'm going ot use a Linux box running IPTables IPRoute2 every time that I can.

Grant. . . .

Quoted 3 lines

Hi people !!!

This time I want to know your opinion about iptables vs. Cisco

PIX....where

Quoted 2 lines

would you use each of them ????
Is it the same using iptables or PIX in big corporations with heavy

Internet

Quoted 7 lines

traffic ???? Which is considered the "best" and why ???

I use iptables since a long time, but my network is under 50 workstations.

Thanks for your comments, they're welcome.

At last, I suggest the tutorial from Jose Negreira at

www.iptableslinux.com,

Quoted 5 lines

it's really good for persons who start into iptables world.

Thnking in advance,

Alejandro

#4 lore raw
In reply to Alejandro Cabrera Obed
Quoted 4 lines · Alejandro Cabrera Obed

Hi people !!!

Hi :)

I would say that while Iptables is a set of Block to build a Wall , Cisco PIX is a pre-built Wall you just have to paint and let it shine.

Iptables gives for sure a lot of opportunities of configuration and traffic control that a Cisco Pix does not and i think is not possible to forget that Iptables-Firewall is a complete Linux system with all the advantages this can gives, for example a cron-tab, scripting , and so on.

I think that , as always, the choice depends on your needs from the device. If you need a statefull firewall failover your choose is done because iptables is not ready to do it yet while Cisco PIX does it in a clear and fast way.

I would always use a Cisco Pix as Border Firewall because of its reliability and performance, also because i would not do specific or particular filter at this level of network. I would instead use a Linux/Iptables firewall at 'User Level' because it would let me to do ANYTHING i want and because at this level i could , maybe, leave the statefull failover out to have the maximum flexibility possible.

bye
<P>

#5 lore raw

You make some very good points. You are also correct in the fact that at your border firewall you need to be more liberal in what you let through as you don't have the flexibility to shut down what comes in on a bulk pattern, but you could shut things down based on their destination, or have a small sub chain set aside for each system and redirect traffic in to each sub chain depending on what system it is destined for. As far as the redundancy / fail over you can accomplish much the same thing via VRRP in Linux with two firewalls configured identically. In this case you would have two firewalls with their IP on the network both of which would be imulating a 3rd IP which would be the IP that all systems would use as their gateway. This way the VRRP enabled Linux nodes would constantly pole each other to make sure that they are alive and functional. If one of them goes down the other
takes up the slack in a very short amount of time (I'm not sure what it is, I think it's
less than 30 seconds). Granted I have never messed with VRRP my self but from the reading that I have done on it this is EXACTLY what it is meant for. Virtual Router Redundancy Protocol (VRRP) is the industry standard of Cisco's Hot Standby Router Protocol (HSRP). You can also look at some of the Linux clustering technologies but I don't think they are exactly appropriate here.

Of course there is also the fact that there are a LOT of people that know how to work with PIXies and could come in after you are hit by a Greyhound buss and take over, where there are relatively few people that could walk in and take over a complex Linux IPTables, IPRoute2, VRRP firewall. But to each his own.

Grant. . . .

Quoted 36 lines · Francesco Ciocchetti
Quoted 4 lines · Alejandro Cabrera Obed

Hi people !!!

Hi :)

I would say that while Iptables is a set of Block to build a Wall , Cisco PIX is a pre-built Wall you just have to paint and let it shine.

Iptables gives for sure a lot of opportunities of configuration and traffic control that a Cisco Pix does not and i think is not possible to forget that Iptables-Firewall is a complete Linux system with all the advantages this can gives, for example a cron-tab, scripting , and so on.

I think that , as always, the choice depends on your needs from the device. If you need a statefull firewall failover your choose is done because iptables is not ready to do it yet while Cisco PIX does it in a clear and fast way.

I would always use a Cisco Pix as Border Firewall because of its reliability and performance, also because i would not do specific or particular filter at this level of network. I would instead use a Linux/Iptables firewall at 'User Level' because it would let me to do ANYTHING i want and because at this level i could , maybe, leave the statefull failover out to have the maximum flexibility possible.

bye
<P>

#6 lore raw
Quoted 7 lines · Grant Taylor

You make some very good points. You are also correct in the fact that at your border firewall you need to be more liberal in what you let through as you don't have the flexibility to shut down what comes in on a bulk pattern, but you could shut things down based on their destination, or have a small sub chain set aside for each system and redirect traffic in to each sub chain depending on what system it is destined for.

What i tried to imagine is a situation where you can have both solution (Pix and Iptables) without looking at money or Knowledge. In Such a situation i would choose what i said, a PIX Firewall to manage an 'higher level' filtering , static configuration for Public IP and filtering for the 'internet' access to public services.
I think that an iptables based firewall is much more usable in the opposite situation where you need to filter traffic 'from users' to 'Internet or Internal Serivces', where you would like to use features that PIX has not as Transparent Firewall, Schedulers (Linux Rulez;) ) , Special Target as TARPIT, Port Scan detection, filtering on TIME or Connection/IP, Byte/IP and so on ...
The power of chains in iptables is something that is Unreachable for PIX & C. and there resides the flexibility of a Netfilter firewall but is not so simple to understand and implement as is an 'access-list ... access-group....' commands.

Quoted 6 lines

As far as the redundancy / fail over you can accomplish much the
same thing via VRRP in Linux with two firewalls configured identically. In this case you would have two firewalls with their IP on the network both of which would be imulating a 3rd IP which would be the IP that all systems would use as their gateway. This way the VRRP enabled Linux nodes would constantly pole each other to make sure

Quoted 9 lines

that they are alive and functional. If one of them goes down the other takes up the slack in a very short amount of time (I'm not sure what it is, I think it's less than 30 seconds). Granted I have never messed with VRRP my self but from the reading that I have done on it this is EXACTLY what it is meant for. Virtual Router Redundancy Protocol (VRRP) is the industry standard of Cisco's Hot Standby Router Protocol (HSRP). You can also look at some of the Linux clustering technologies but I don't think they are exactly appropriate here.

VRRP , and all the implementaion that in linux are available, could gives redundancy but not a Statefull one.
In Fact HSRP is used on Cisco Routers but not on PIX Firewall. With the ctnetlink libs will be possible to have a statefull failover also on linux/iptables but is not ready yet (unlucky).

Quoted 6 lines

Of course there is also the fact that there are a LOT of people that know how to work with PIXies and could come in after you are hit by a Greyhound buss and take over, where there are relatively few people that could walk in and take over a complex Linux IPTables, IPRoute2, VRRP firewall. But to each his own.

Yep, i think that there is a reverse relationship beetween Iptables and PIX Firewalls and i've seen it a lot of time ...
who know how to work with a complex environment such Iptables + iproute2
+ VPN + VRRP will find PIXOS Simple and fast but the reverse will not ;) as usual ... Linux/Netfilter open your mind , the 'OTHERS' teach you how to open or close a port ;)

Quoted 4 lines

Grant. . . .

Bye
<P>