port scanner

  • Thread starter Thread starter Jonny
  • Start date Start date
J

Jonny

My scanner will be used to identify what services are
running on a particular system on a closed network.

Just wondering if there are any specific ports that i
should watch/scan.

thanks,

/Jonny
 
Jonny,

All of them? However, just because a port is open, doesn't mean that a
service is running on that port. There are well-defined ports that are used
typically, but it isn't required. I could run an NNTP server on port 80,
and an HTTP server on port 119.

Hope this helps.
 
if i wanted to find out what ports are open on a remote
machine... through c# where would i start?

-----Original Message-----
Jonny,

All of them? However, just because a port is open, doesn't mean that a
service is running on that port. There are well-defined ports that are used
typically, but it isn't required. I could run an NNTP server on port 80,
and an HTTP server on port 119.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

My scanner will be used to identify what services are
running on a particular system on a closed network.

Just wondering if there are any specific ports that i
should watch/scan.

thanks,

/Jonny


.
 
Jonny,

You would want to look at the classes in the System.Net.Sockets
namespace, particularly the Socket class. This should give you what you are
looking for.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Jonny said:
if i wanted to find out what ports are open on a remote
machine... through c# where would i start?

-----Original Message-----
Jonny,

All of them? However, just because a port is open, doesn't mean that a
service is running on that port. There are well-defined ports that are used
typically, but it isn't required. I could run an NNTP server on port 80,
and an HTTP server on port 119.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

My scanner will be used to identify what services are
running on a particular system on a closed network.

Just wondering if there are any specific ports that i
should watch/scan.

thanks,

/Jonny


.
 
Back
Top