|
|
#7300 - 03/20/04 04:42 PM
real Newb Question
|
UGN Member
Registered: 03/15/04
Posts: 419
Loc: VA
|
ok i have googled and searched but maybe i'm just not that good yet. can some on please tell me how i can see a list of my ports open and otherwise? is it a command line thing or is there a way to see from within windows. i run xp home on my desk and pro on my laptop.
_________________________
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
Top
|
|
|
|
Sponsored Links
Sponsor 
|
Sponsor Advertisements help keep UGN Security Online.
Support UGN Security by Purchasing our Sponsors Products.
|
| Top |
|
|
|
#7302 - 03/20/04 10:29 PM
Re: real Newb Question
|
UGN Member
Registered: 03/15/04
Posts: 419
Loc: VA
|
um maybe i googled it wrong but that shows me analog-x website and the utility just shows me how fast my modem is going? can you clarify?
_________________________
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
Top
|
|
|
|
#7304 - 03/21/04 12:57 AM
Re: real Newb Question
|
UGN Elite
   
Registered: 12/03/02
Posts: 3252
Loc: here
|
In DOS or cmd line.. Let me back up. Windows NT 4.0, Windows 2000, and Windows XP do not have DOS. They have a command line that looks a hell of a lot like DOS. Windows 95, 98, ME have DOS. For the point of this disscusion DOS and commandline are the same thing.(Even though they really are not) The netstat DOS help file is shown below Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -p proto Shows connections for the protocol specified by proto; proto may be TCP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.
The letters you see are known as switches or attributes. Each one dose something different. You can combine them to spit out even more info. Play with the switches a bit and you will see al kinds of good info. I think you might find netstat -s useful
_________________________
My New site OpenEyes
|
|
Top
|
|
|
|
#7305 - 03/21/04 01:37 AM
Re: real Newb Question
|
UGN Member
Registered: 03/15/04
Posts: 419
Loc: VA
|
outstanding info. For the first time ever since my curiosity in programming a computing was peaked again, i got staright friendly answers that made sense, without the flame. you guys rock. ty. and i gues that's why googling it didn't work. another thing where is the documentation on that sin? so i don't have to ask about comannd line stuff. as for the difference Between the command line and DOS, i'll google it 
_________________________
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
Top
|
|
|
|
#7307 - 03/21/04 01:46 AM
Re: real Newb Question
|
UGN Super Poster
Registered: 06/16/03
Posts: 807
Loc: Wisconsin
|
You can also use "command/?" to display help information: C:\>netstat/?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once."command help" also works: C:\>netstat help
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
C:\>heh Damn_newb, sintax is one of the most knowledgeable members here. He only flames when someone needs to be flamed. This wasnt a stupid question like he said. Also, about searching google for information on commands, type them in quotes like this: That acctually searches for the command, as well as the -an flag. In google, typing "-an" after something will mean that you dont want to return results that contain "an". Putting it in quotes searches for the exact string of text.
|
|
Top
|
|
|
|
#7308 - 03/21/04 02:03 AM
Re: real Newb Question
|
UGN Member
Registered: 03/15/04
Posts: 419
Loc: VA
|
well look at that, that was something i half knew, i knew anout the quotes for exact matches but not about the minus thing. and i typed it in and sure enough there it was and even how to read what i pulled up, woot.(oops gamer)
_________________________
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
Top
|
|
|
|
#7317 - 05/20/04 10:22 AM
Re: real Newb Question
|
Junior Member
Registered: 05/20/04
Posts: 1
Loc: brownwood tx
|
for future reference if i may, go to :[link removed]. this program will do alot of the work for you.
|
|
Top
|
|
|
|
#7323 - 05/26/04 01:56 AM
Re: real Newb Question
|
Community Owner
   
Registered: 02/28/02
Posts: 6958
Loc: Portland, OR; USA
|
|
|
Top
|
|
|
|
#7325 - 05/26/04 05:27 PM
Re: real Newb Question
|
Community Owner
   
Registered: 02/28/02
Posts: 6958
Loc: Portland, OR; USA
|
|
|
Top
|
|
|
|
#7327 - 05/27/04 11:55 AM
Re: real Newb Question
|
UGN Super Poster
Registered: 10/29/02
Posts: 616
Loc: The Beach
|
um.... http://scan.sygatetech.com/ and http://www.google.com/search?sourceid=navclient...=UTF-8&q=online+port+scan hehehe...that's always easier. Or nmap/saint/satan if your a linux user...just thought I'd say. Netstat for me, is getting old, I like it when people reinvent the wheel. As has been done, in revolutions since long before even written glyphs.
_________________________
"Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!"
|
|
Top
|
|
|
|
#7328 - 06/09/04 10:33 PM
Re: real Newb Question
|
Member
Registered: 10/24/03
Posts: 209
Loc: here.
|
On a related note: Anyone have a list of what programs use which ports? And which ports you don't want open? Also how to close them..
EDIT: I heard that port 5000 is a trojan port, and my computer is listening to it. What's it actually for?
_________________________
Those who say do not know. Those who know do not say.
|
|
Top
|
|
|
|
#7329 - 06/09/04 11:16 PM
Re: real Newb Question
|
UGN Elite
   
Registered: 12/03/02
Posts: 3252
Loc: here
|
http://www.iana.org/assignments/port-numbers Heh, now study the TCP/IP protocols on the ports you have questions about. No port is reserved for a trojan. A trojan may use a specific port but when the brain trust developed TCP/IP protocol suit they did not say lets reserve port XXXX for a trojan commplex-main 5000/tcp commplex-main 5000/udp Looks like port 5000 can be used with TCP or UDP RFC 739 TCP(TRANSMISSION CONTROL PROTOCOL) ftp://ftp.rfc-editor.org/in-notes/rfc793.txt RFC 768 UDP(User Datagram Protocol) ftp://ftp.rfc-editor.org/in-notes/rfc768.txt Think of TCP and UDP as similar but different protocols. Also study the OSI modle. Here is a basic TCP/IP protocol stack in relation to the OSI model  As you can see both UDP and TCP are on the transport layer of the OSI modle. This is because they are both used for transport. Read and understand what I just gave you and you will have better questions to ask. If you want to learn to network security.. Study the TCP/IP prtocol stack. Everything you do in a network involves at least several protocols. Learn how the work. How networking in general works. What each layer of the OSI modle describes. How the TCP/IP modle stack is laid out *When authentication starts* Oh and here is where number systems come in handy...
_________________________
My New site OpenEyes
|
|
Top
|
|
|
|
#7331 - 06/10/04 04:45 AM
Re: real Newb Question
|
Member
Registered: 10/24/03
Posts: 209
Loc: here.
|
Spanky.. I'll look into that. Gizmo: You make sense :p
_________________________
Those who say do not know. Those who know do not say.
|
|
Top
|
|
|
|
|