File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
network ip's scannnig
Joined: Jul 06, 2005
Jul 20, 2005 13:52:00
anybody knows how can i scan the network to find the available ip's on it
Joined: Jun 02, 2003
Jul 21, 2005 17:36:00
I guess that's not possible.
Of course you may iterate over all possible IPs, and ping them, but often firewalls drop icmp-echo-requests.
No answer isn't guaranteed to mean 'IP unused'.
If your network is the internet (it often is, isn't it?), and you would try to get every IP - what a fun for young people hanging around...
Why do you need it?
Joined: Apr 21, 2005
Jul 22, 2005 02:11:00
...plus there are problems of machines being turned off at that particular time, but which may still use a given IP.
Even if your network is using a DHCP server, I don't think there is a way to find out the available addresses - just a way to be assigned a new one.
Joined: Mar 06, 2001
Jul 22, 2005 02:46:00
... and (as I found out the hard way) it shows up as a port scan on any intrusion detection systems
I agree. Here's the link:
subject: network ip's scannnig
wanted IP scanner program
network ip's scanning
finding all ip address in a Network
Broadcasting to addresses
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015