LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Searching a service using port scan from several subnets (https://www.linuxquestions.org/questions/linux-enterprise-47/searching-a-service-using-port-scan-from-several-subnets-4175427680/)

Kaustuv 09-17-2012 01:30 PM

Searching a service using port scan from several subnets
 
Hi,

In my organization, we have different subnets. I don't know on which machine a particular service is running. It can be in different subnet than my source machine(from which machine I am trying to find out the machine IP & port number on which that service is running).

I know "nmap" can help me to port scan the service for a particular network(e.g like: nmap -PN <network-address/subnet-mask>

Is possible to use "nmap" in smarter way so that it can find all the subnets dynamically from routing table of every the routers & do the port scanning simultaneously to discover the services?

Is any other tool available to fulfill my requirement?

Regards,
Kaustuv

acid_kewpie 09-18-2012 05:49 AM

how do you suppose you'll get the routing tables from the routers?? That's no mean feat.

genese 09-18-2012 06:26 AM

Quote:

Originally Posted by Kaustuv (Post 4782529)

Is any other tool available to fulfill my requirement?

There are SNMP based tools that can do network discovery. Search google for SNMP tools.

You'll need of course the community names of your routers.


All times are GMT -5. The time now is 10:04 AM.