Discussion Locked

what is the difference

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
between firewall and proxy server?

5 replies

by some guy in seattle

This can be a long convoluted answer.

Basically a proxy server will cache information from accessed web pages so they will not have to be downloaded every time, unless there's a change. A proxying device functioning as a "firewall" also acts as an intermediate device to limit direct connections between a client and server. This helps in the event someone wants to directly attack your devices (other than the firewall) that might be vulnerable to certain attacks (buffer overflows, whatever). Remember, most proxies are not firewalls!

A firewall applies some kind of filtering engine to apply a policy of whatever the administrator wants to control. Some firewalls, after filtering, will not limit direct connections between clients and servers. But...some firewalls will also act as proxy servers (example, Raptor) which will.

Basically there are three types of firewalls:
*packet filters (such as cisco PIX) - look at each packet, regardless of state (SYN, RST, etc.) and apply filtering rulebase to determine whether to let pass or block. Cons=cannot always catch sophisticated attacks.
*stateful inspection (easy example, Checkpoint) - look at the state of the application-layer info (example - can sometimes determine if traffic on port 80 is actually http/html or ftp set to port 80) and transport/session-layer info (sequence numbers and bit flags set - SYN, SYN/ACK, ACK, RST, etc.) to determine if traffic is allowed to pass. Cons=slower and expensive.
*proxy firewall - as described above, cons=also slow, cannot always catch more sophisticated attacks.

Some newer types of firewalls, like NetScreen are hardware based and are much quicker, maybe not so robust and "tweakable" as a stateful inspection type but that's the tradeoff between performance, manageability, and security.

Hope that helps,

by jamesrl

A firewall is a device which controls the traffic between your network and another network, usually the Internet. It uses routing protocols to define, filter, block and route traffic. It is the guardian of your network from the big bad world out there. It can be a simple $100 piece of hardware or a big fast Unix server running specialised software - depends on your need. Typically it has two or more NICs

A proxy server can be a separate box, or in some setups is on the same box. Its purpose is to make your use of the net more efficient by acting as a cache for the traffic. So if you proxy your web traffic it will store in memory some of the recent and/or most accessed pages in order to lessen the load on your connection to the net. Sophisticated proxies also allow filering of content etc.

Best way to think of it is that a firewall protects your network from the Internet, and a proxy is inside the firewall, caching your net traffic.

James

This discussion is closed to new replies.