Great Circle Associates Firewalls
(November 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Subnetting and Cisco ACL's
From: "Tim Frost" <tim @ nz . eds . com>
Date: Thu, 14 Nov 1996 18:54:57 +0000
To: Corneliu Tanasa <cornel @ logicnet . ro>, Rob Sansom <sansom @ connectix . com>
Cc: firewalls @ GreatCircle . COM
In-reply-to: Corneliu Tanasa <cornel @ logicnet . ro> "Re: Subnetting and Cisco ACL's" (Nov 10, 1:24pm)
References: <199611081816 . KAA31409 @ apu . connectix . com> <3285BB89 . 1814E3ED @ logicnet . ro>

On Nov 10,  1:24pm, Corneliu Tanasa wrote:
> Subject: Re: Subnetting and Cisco ACL's
> Rob Sansom wrote:
>
> >  Here's the ACL I plan to use for this example:
> >
> > ! Deny spoofers
> > access-list 111 deny ip 123.456.789.0 0.0.0.255 any log
> > ! Permit ftp
> > access-list 111 permit tcp any host 123.456.789.35 eq ftp
> > ! Log the rest
> > access-list 111 deny ip any 123.456.789 0.0.0.255 log
> >
> > And how I plan to use it.
> >
> > int s0 ip access-group 111 in

> Yes, it seems to be correct.

Almost.  It is no good permitting ftp  unless you also permit the
ftp-data port.  That requires an additional line in the access list:

! Permit ftp data port as well
access-list 111 permit tcp any host 123.456.789.35 eq ftp-data \
established

NOTE: Setting the established flag assumes that your ftp server will be
 opening the data connection in response to a PORT command, rather than
operating in passive mode.

You may also need to permit other protocols, depending on your
configuration:

- DNS queries, so that the ftp server can log host names, rather than
the IP addresses

- icmp (echo request/reply, host/port unreachable)




> Abyway, I think that will be a good idea
> to filter also the (possible) spoofed packets that might leave your
> network.  I mean that it will be a good protection for the other
> providers...
>
> Add something like:
> ! Permit outgoing only for your packets
> access-list 112 permit ip 123.456.789.0 0.0.0.255 any
> ! Log and deny any spoofing attempt from your network
> access-list 112 deny ip any any log
>
> int s0
> ip access-group 111 in
> ip access-group 112 out
>
>
> Regards,
> Corneliu Tanasa
> Network Admin
> LOGIC TELECOM - ROMANIA
>
>-- End of excerpt from Corneliu Tanasa



Tim Frost

-- 
Tim Frost, Systems Engineer (Unix)  Email: Tim .
 Frost @
 nz .
 eds .
 com
EDS (NZ) Ltd,                       Voice: +64 4 495-0504
P.O. Box 3647,                      Fax:   +64 4 474-5130
Wellington, New Zealand.



References:
Indexed By Date Previous: Logging
From: "Leon O'Brien" <leon @ networx . com . au>
Next: Solaris routing (was Re: FW-1 documentation mistake.)
From: "Paul Miach" <P . Miach @ abm . com . au>
Indexed By Thread Previous: Re: Subnetting and Cisco ACL's
From: Corneliu Tanasa <cornel @ logicnet . ro>
Next: OS2 socks clients
From: IVAN <ospina @ ucsu . Colorado . EDU>

Google
 
Search Internet Search www.greatcircle.com