Skip to contentSkip to conversation

Firewall / Web Monitor

DISCUSSION Paul Kraus 3 participants 3 messages Oct 30, 2002

lore
Share & tools
lore

Paul Kraus

author
#0 lore raw

I have a network of about 25 pcs and 4 servers. With moderate internet traffic. What kind of machine do you think I would need for a firewall only box? Ipchains or Iptables ( I have some experience with the latter and non with Ipchains). I would also like to be able to log where everyone is going. Such as what sites they are visiting, the time, and the pc that is making the request. Then if we see fit I would like to come up with a list of sites that they can visit while restricting all others. I would like to have this list be able to be split based on the different departments. One list for Accounts Payable one for inventory control, ect. Thanks for info. From what I have been reading squid can do this but squid says it's a caching server. I don't really think I need to cache pages though.

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

BEGIN:VCARD
VERSION:2.1
N:Kraus;Paul
FN:Paul Kraus ([email protected])
ORG:PEL Supply Company
TITLE:Network Administrator
TEL;WORK;VOICE:(216) 267-5775
TEL;CELL;VOICE:(216) 410-5526
TEL;WORK;FAX:(216) 267-6176
ADR;WORK:;;4666 Manufacturing Road;Cleveland;Ohio;44135;United States of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:4666 Manufacturing Road=0D=0ACleveland, Ohio 44135=0D=0AUnited States of Ame= rica
ADR;HOME:;;;;;;United States
LABEL;HOME:United States
URL;WORK:http://www.pelsupply.com
EMAIL;PREF;INTERNET:[email protected]
REV:20020416T182124Z
END:VCARD

#1 lore raw
Quoted 4 lines · Paul Kraus

I have a network of about 25 pcs and 4 servers. With moderate internet traffic. What kind of machine do you think I would need for a firewall only box? Ipchains or Iptables ( I have some experience with the latter and non with Ipchains). I would also like to be able to log where

Quoted 8 lines

everyone is going. Such as what sites they are visiting, the time, and the pc that is making the request. Then if we see fit I would like to come up with a list of sites that they can visit while restricting all others. I would like to have this list be able to be split based on the different departments. One list for Accounts Payable one for inventory control, ect. Thanks for info. From what I have been reading squid can do this but squid says it's a caching server. I don't really think I need to cache pages though.

Paul,

Squid does indeed do all the jobs your asking for.

The cache side of it is not a problem as you can turn the cache off or restrict the size of the downloaded files to help keep the cache from becoming too large.

The ACL controls will allow you to set which sites can be accessed by which users at which times of the day. The sites that are allowed/disallowed are held in plain text files for easy reading or updating from the web (www.hklc.com maintain an on-line set of undesirable websites that can be used for blocking in squid. These are mainly porn and warez sites).

I use SARG (http://web.onda.com.br/orso/index.html) for reporting on who is looking at what.

--
Carl

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Paul Kraus
Quoted 4 lines · Paul Kraus

I have a network of about 25 pcs and 4 servers. With moderate internet traffic. What kind of machine do you think I would need for a firewall only box? Ipchains or Iptables ( I have some experience with the latter and non with Ipchains). I would also like to be able to log where

Quoted 8 lines

everyone is going. Such as what sites they are visiting, the time, and the pc that is making the request. Then if we see fit I would like to come up with a list of sites that they can visit while restricting all others. I would like to have this list be able to be split based on the different departments. One list for Accounts Payable one for inventory control, ect. Thanks for info. From what I have been reading squid can do this but squid says it's a caching server. I don't really think I need to cache pages though.

Choice of hardware depends on how fast your Internet connection is, and how busy it is. "moderate Internet traffic" is a bit too vague here. If your external connection is DS-1 speed or lower, then even a 486-40 will be fast enough to handle routing; in practice, though, I'd use the slowest Pentium machine I had in my "spares" pile, just so I could use pci-based NICs. If you do use a proxy server, that requires a bit more muscle, but not all that much (a moderate Pentium still will handle DS-1 speeds, but you'll want more memory and scratch disk space for the caching).

For tracking connections, you have two basic options:

1. Allow direct connections to the Internet (the next option will clarify what "direct" means) and use ipchains or iptables logging to keep track of who is going where.

2. Require use of a proxy server and use its logs to keep track of who is going where.

Whether you need to cache pages, a la Squid, depends on a lot of things. Basically it is a tradeoff between local, scratch storage and load on your Internet connection, and that requires cas-by-case analysis. How many cache-able pages your users access also matters.

I am unclear on what you mean by "have this list be able to be split". Once created, either an iptables or a Squid log can be analyzed based on anything that it includes. That means you can sort (or group) by source IP address, and if sensible address ranges are associated with the different departments, that should allow you to do what you want on that score.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs