Security Basics mailing list archives

RE: ACL router problem


From: "David Gillett" <gillettdavid () fhda edu>
Date: Mon, 18 Oct 2010 10:00:31 -0700

  I have, of course, got that backwards.

access-list 111 permit ip 1.2.3.4 5.6.7.8 255.255.255.255

should have identical effect to

access-list 111 permit ip 1.2.3.4 any

(Since this is an ACL, not a route, and so 255.255.255.255 means all bits
are wildcards.)

David Gillett



-----Original Message-----
From: David Gillett [mailto:gillettdavid () fhda edu]
Sent: Friday, October 08, 2010 14:12
To: 'Juan B'; 'Shain Singh'
Cc: 'security basics'
Subject: RE: ACL router problem

  Note that:

access-list 111 permit ip 1.2.3.4 5.6.7.8 255.255.255.255

should have identical effect to

access-list 111 permit ip 1.2.3.4 host 5.6.7.8

So I'm not sure that this new line really adds anything.

David Gillett



-----Original Message-----
From: Juan B [mailto:juanbabi () yahoo com]
Sent: Thursday, October 07, 2010 19:12
To: Shain Singh
Cc: security basics
Subject: Re: ACL router problem

hi Shain!

thanks a lot the command you told me:

access-list 111 permit ip host 192.168.8.139 192.168.1.15 255.255.255.255

worked !!!

now I need to enable all the lan to connect tho this host 192.168.1.15 so I
tried to add insted of the command you wrote this command:

access-list 111 permit tcp 192.168.0.0 0.0.255.255 192.168.1.15
255.255.255.255

or this one access-list 111 permit IP 192.168.0.0 0.0.255.255 192.168.1.15
255.255.255.255

but both didnt worked !!

any ideas??

thanks a lot !!

marco

--- On Thu, 10/7/10, Shain Singh <shain.singh () gmail com> wrote:

From: Shain Singh <shain.singh () gmail com>
Subject: Re: ACL router problem
To: "Juan B" <juanbabi () yahoo com>
Cc: "security basics" <security-basics () securityfocus com>
Date: Thursday, October 7, 2010, 7:38 PM There are a few things that
you would need to look into.

You have the "deny" entry at the bottom logged, when you try and
connect, do you see it in the logs? If so, it means you're not
matching your ACL entry up the top.

Depending on how secure this network needs to be, did you try allowing
all IP related traffic from your host instead of just TCP?

something like this could be where you would see a match.

access-list 111 permit ip host 192.168.8.139 192.168.1.15
255.255.255.255



On 8 October 2010 08:40, Juan B <juanbabi () yahoo com>
wrote:
Hi ALL !!

I need to connect from a host (192.168.8.139)in the
lan to host
192.168.1.15 so I put acl like this: ( I added the
first line )

access-list 111 permit tcp host 192.168.8.139 any access-list 111
permit tcp 192.168.0.0 0.0.255.255
host 192.168.8.2 eq
telnet
access-list 111 permit tcp host 192.168.8.7 any access-list 111
permit tcp 192.168.0.0 0.0.255.255 any
eq www
access-list 111 permit udp 192.168.0.0 0.0.255.255 any
eq domain
access-list 111 permit tcp 192.168.0.0 0.0.255.255 any
eq 443
access-list 111 permit tcp 192.168.0.0 0.0.255.255 any
eq 5900
access-list 111 permit ip host 192.168.8.198 any access-list 111
permit ip host 192.168.8.199 any access-list 111 permit icmp any any
echo-reply access-list 111 permit icmp any any echo access-list 111
permit icmp any any source-quench access-list 111 permit icmp any
any time-exceeded access-list 111 deny   icmp any any access-list
111 permit tcp any any established access-list 111 deny   ip any any
log

take a look also at line 3 of the acl this host is the
internal mail
server, from that mail server when I try to connect to
host
192.168.1.15 there is no problem !!! so I made a
similar entry to
enable connection from my host (192.168.8.139) but It
doesnt work !! I
know its a problem of the ACL beacuse when I remove
this ACL (which is
applied to vlan 1 BTW) the connection works!!

please help !
marco






----------------------------------------------------------------------
--
Securing Apache Web Server with thawte Digital
Certificate
In this guide we examine the importance of Apache-SSL
and who needs an SSL certificate.  We look at how SSL works, how it
benefits your company and how your customers can tell if a site is
secure. You will find out how to test, purchase, install and use a
thawte Digital Certificate on your Apache web server. Throughout, best
practices for set-up are highlighted to help you ensure efficient
ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6b
e442f727d1

----------------------------------------------------------------------
--





--
Shaineel Singh
e: shain.singh () gmail com
p: +61 422 921 951 begin_of_the_skype_highlighting              +61
422 921 951      end_of_the_skype_highlighting
w: http://buffet.shainsingh.com

--
"Too many have dispensed with generosity to practice charity" - Albert
Camus

thanks




------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate In this guide we
examine the importance of Apache-SSL and who needs an SSL certificate.  We
look at how SSL works, how it benefits your company and how your customers
can tell if a site is secure. You will find out how to test, purchase,
install and use a thawte Digital Certificate on your Apache web server.
Throughout, best practices for set-up are highlighted to help you ensure
efficient ongoing management of your encryption keys and digital
certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727
d1
------------------------------------------------------------------------


------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate In this guide we
examine the importance of Apache-SSL and who needs an SSL certificate.  We
look at how SSL works, how it benefits your company and how your customers
can tell if a site is secure. You will find out how to test, purchase,
install and use a thawte Digital Certificate on your Apache web server.
Throughout, best practices for set-up are highlighted to help you ensure
efficient ongoing management of your encryption keys and digital
certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727
d1
------------------------------------------------------------------------


------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


Current thread: