Noah Roberts wrote:
> prg wrote:
>
> > Linux processing will never be as "fast" as a level 3/4/5 switch
with
> > _port_ asic processors (think Cisco Catalyst and LightStream).
Latency
> > will be greater under load and and you will never achieve "wire
speed"
> > throughput.
> >
> > That said, if the upstream connection to ISP/provider is 6Mbit and
> > internally bound local traffic is not routing through the Linux
box,
>
> I think that is my greatest worry, it is. The main purpose of the
linux
> box is to protect the main network from those on the other side.
>
> Here is that diagram I wanted to post (now that I am at home I can):
>
> VLAN A <---no route----> VLAN D
> Main Campus----Linux FW----Packet shaper->ISP
> | <- 801.2Q Tagged
> L2 SW
> / \
> (VLAN B) Dorms Semi-public 802.11 (VLAN C)
My personal inclination is always to have the firewall do just its one
task of keeping the bad guys from getting in and allowing legit traffic
out. It's tough enough without burdening it with other duties -- it's
also tougher on me to maintain multiple funcitons on one
machine/firewall. Thus the classic and still quite sensible layout of
3 nics -- (a) to ISP, (b) to DMZ, and (c) to internal network. Why not
place an "inside" router/firewall just downstream of the Linux FW for
your internal routing needs -- it could be Linux as well.
That way you can keep the lan internal traffic -- which may get pretty
heavy in terms of bandwidth use simply because of the greater
host-to-host link speed. That is, try to segregate this internal
traffic flow from the Linux FW's duties of managing external packets.
I think it would be more flexible also as you would not have to worry
so much that "fixing" one function (say, internal routing) would
"break" the other (FW) function.
> If the Vlan tagging is an issue I can probably just add a 4th
card...and
> of course any load information I can get on that stuff is also
needed.
A separate internal router would help a lot with this, as you may find
that you have to make more changes here than anywhere else. Would also
allow you some internal routing control -- policy routing or queueing
-- as internal needs/demands change. Especially so with wifi access --
as people get used to it they will want more of it
> Dorms contain about 200 computers, 99% being windows xp and 98% run
by
> total invalids when it comes to computer maintenence (and sometimes
it
> is worse than that). The 802 network is going to be places like the
> cafeteria and such where students can do school work on laptops. We
> cannot trust ANY of these computers but we need to let them onto our
> network so that they can access certain resources they need for
homework
> and such.
As needs develop, you could also place a Linux box to help just with
the wifi connections. Nice thing about using Linux as a router/fw is
that with older hardware (meaning less $) you can deploy them where you
need them, when you need them. Most networks don't require high port
density routers -- a box that will hold 2-4 cards (single or
multi-port) and accept 64-512 MB ram can handle just about anything.
Good quality -- ie., server class -- nics will help a lot with GigE
connections.
> Currently the main campus and the dorms are directly connected
through a
> basic router. There is minimal protection. We use NetReg to
register
> dorm computers and theoretically keep them from harming the main
> network. But that is based on a lot of assumptions such as the basic
> stupidity of the average virus author, that assumes that malicious
> traffic will not pass a gateway or try ip addresses outside the
> computer's configured network. I really hate that idea...if I was a
> virus author I would pass that gateway...
>
> NetReg uses a fake DHCP and DNS to trick computers into going to a
> registration site when they try to go to google or something. It is
> pretty easily bypassed by anyone with half a brain...which isn't
/much/
> of a worry here but still.
>
> A website is used to register computers so that the DHCP will give a
> "valid" ip and directions to the gateway. This website contains a
> program that must run on the local computer that checks for SP2 and
> norton or mcafee.
Yes, I spent an hour reading up on NetReg before posting, and ...
> So I am using a different idea to develop an in-between solution that
is
> a little harder to bypass (not much mind you, but more than even
> semi-literate people know how to do). In speaking on the NetReg list
it
> was brought up that it doesn't scale well. So I am trying to figure
out
> just what the barriers are.
>
> An overall description of what I am doing is now available online at
> http://sourceforge.net/projects/fwreg and is in the documentation
file
> download. I just finished it at work today.
I'll check out your stuff. Like you, I was immediately struck by what
seemed rather lax security built into NetReg. So long as you don't try
to make dhcp perform functions it was not built for and understand its
limitations though, I can see where the "automatic" registration --
tightened up a bit -- could be a great aid in those hectic "new student
influx" periods.
> You could use NetReg and a 'hardware' firewall but I think there are
> limitations there as well.
The main limitation being that MAC addresses don't migrate along with
the normal packet flow -- just IPs and the next hop MAC.
> The firewall rather needs to know a lot more
> than the average box solution does I think. What I am doing now is
> rather basic and could be done with one but further down the line I
> doubt it. I just don't like the blackhole dns idea, it seems to much
> like security through obscurity to me.
Actually, quite a few sites use DNS records and mail authentication as
a "quick-n-dirty" network authentication mechanism. I think it's
because the mail server is already in place and requires DNS for _its_
operation, so why not just "extend" it for other uses. Presto, DHCP
and MAC addresses are available, so lets cross reference the data and
have "network authentication". YUK
Of course, a _great_ deal of this lies with the clients being Windows
and either not multi-user capable at all or defaulting to Admin/root
user access without a password. Jimeney ;[grrrrrrr
I'll check with you after viewing your stuff.
good weekend ,
prg
email above disabled