Solved

How to deny TCP traffic by IP Address on ASA 5510

Posted on 2008-10-20
3
1,430 Views
Last Modified: 2012-05-05
I'm trying to hunt down a device on my network with an IP address of 192.168.1.75, not showing up in DHCP leases. The method I want to use in finding out what it is / who it belongs to is to deny all traffic to it at the firewall level, in hopes someone will speak up.  Is there a command that can do this?
0
Comment
Question by:djhath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
urgoll earned 500 total points
ID: 22760684
If you have managed switched, it might be easier to figure out its MAC address (using ping for example) once you have identified its subnet. Then query your switch to see where it hears that specific MAC address from. Once you have the port, it shouldn't be too difficult to get to the device.

That said, the way to block traffic is to create an access list and apply it to an interface. Suppose you have a firewall with two interfaces: inside and outside; support the offending device is on the inside. You could something like the snippet; it prevents the offending address from going outside (Internet, presumably), while allowing all other addresses. the acl_out prevents any incoming connections to it. There's no 'permit ip any any' on the acl_out access-list, as it would effectively open the firewall to all traffic.

IMPORTANT NOTE: do NOT copy paste the stuff below, what your access-lists should be depend on your topology, security policies and services you need to allow through.  The approach above (using managed switches) is much more preferable and doesn't depend on someone speaking up.

Good luck,
Christophe


access-list acl_in extended deny ip host 192.168.1.75 any
access-list acl_in extended permit  ip any any
access-group acl_in in interface inside
 
access-list acl_out deny ip host 192.168.1.75 any
...
access-group acl_out in interface outside

Open in new window

0
 
LVL 3

Author Comment

by:djhath
ID: 22760874
Thank you for your detailed explanation.

I identified the MAC address of the offending IP by ARP cache.  Moreover, I attempted to identify the MAC address by listing the address table on my Enterasys switching stack and there are no matching ones.  It could be a wireless device, I suppose.  

I believe I'm going to attempt the ACL on the firewall.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 22762169
Solarwinds Engineers toolset has a neat tool called switchport mapper. Download the free 30 day trial and run the application. It will compare the mac-address table with the arp cache of gateway router, use wins, netbios, dns lookups, use manufacturer table to tell you the brand of NIC. All of this together in a nice table for each port on the switch. It might help you.
http://www.solarwinds.com
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question