| Author |
Message |
ndujoe1
Joined: 04 Dec 2005 Posts: 616
|
Posted: Tue 21 Jun 2011, 08:44 Post subject:
How to tell which ports are open or in use? |
|
is there a command or application in Puppylinux 5.25 that declares the ports in use and their status: open or closed?
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7743 Location: Stratford, Ontario
|
Posted: Tue 21 Jun 2011, 10:48 Post subject:
|
|
Try Superscan from the Network menu. Use the Port Scanner section and use "localhost" as the Host name.
|
|
Back to top
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10817 Location: The Peoples Republic of California
|
Posted: Tue 21 Jun 2011, 11:05 Post subject:
|
|
| rcrsn51 wrote: | | Try Superscan from the Network menu. Use the Port Scanner section and use "localhost" as the Host name. |
Does it scan ports 1 - 65536 by default?
~
_________________ New! Puppy Linux Links Page
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9382 Location: SwedenEurope
|
Posted: Tue 21 Jun 2011, 11:36 Post subject:
|
|
Bruce I did not find it so I went to Console/Terminal and wrote
superscan and that started it.
one can specify the range of ports one want to scan
As usual it does not work for me it only says
host 127.0.0.1 but nothing else about which port is in use or not.
I mean port80 it would find real fast would it not. I waited minutes now
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
DPUP5520
Joined: 16 Feb 2011 Posts: 756
|
Posted: Tue 21 Jun 2011, 11:45 Post subject:
|
|
nooby it should be at the bottom of your Network menu. If you have java installed you could also use AngryIP http://www.murga-linux.com/puppy/viewtopic.php?t=67345
_________________ PupRescue 2.5
Puppy Crypt 528
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9382 Location: SwedenEurope
|
Posted: Tue 21 Jun 2011, 11:54 Post subject:
|
|
Thanks yes you are right but that did not help a bit because it did not tell any different result of the scan. Not even port 80 comes up dispite them in use now when I write to you.
Does one have to shut down firefox? I don't have java and don't plan to get one.
Superscanner has run for some 15 minutes still show no other result than the host
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
dogle
Joined: 11 Oct 2007 Posts: 302
|
Posted: Tue 21 Jun 2011, 12:28 Post subject:
|
|
I have no happy experience with Superscan (not least because of its lack of user information), in fact I have just had to force drop to CLI when it froze my 431.
Depending on purpose, perhaps nmap might help the OP? It is absent from the Puppy Package Manager in 5- series (but the early version nmap 4.03 from the 3- series works for me in the 4-series).
mohan34u did a lot of work a while back preparing nmap/zenmap PETs of later versions, but the links to his repository now fail ... anyone know if his efforts are preserved elsewhere?
FWIW, I have a strong interest in checking port 5060 status. Seems some naughty ISPs offering 'free routers' block 5060 at the router as an anti-competitive measure, to prevent use of rival VoIP services. SheildsUp and nmap appear to be confirming this ... which would explain weeks of frustration not getting PSip etc. to work properly.
(Thanks for the AngryIP link).
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 864 Location: .ar
|
Posted: Tue 21 Jun 2011, 15:05 Post subject:
|
|
Get nmap and:
That will show your open ports.
For ports being used, maybe this helps:
| Code: | | netstat -n | grep tcp* |
Regards.
_________________

|
|
Back to top
|
|
 |
DPUP5520
Joined: 16 Feb 2011 Posts: 756
|
Posted: Tue 21 Jun 2011, 16:23 Post subject:
|
|
if you're gonna use nmap to check your open ports do
| Code: | nmap 127.0.0.1
then
nmap -sU 127.0.0.1 |
the second one will scan for open ports utilizing udp whereas the first will not
_________________ PupRescue 2.5
Puppy Crypt 528
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Tue 21 Jun 2011, 17:23 Post subject:
|
|
The ports on my PC that are shown as open using nmap are
Interesting ports on localhost (127.0.0.1):
Not shown: 1024 closed ports
PORT STATE SERVICE
139/tcp open unknown
631/tcp open unknown
and using the -sU parameter, those are
Interesting ports on localhost (127.0.0.1):
Not shown: 1021 closed ports
PORT STATE SERVICE
137/udp open|filtered unknown
138/udp open|filtered unknown
631/udp open|filtered unknown
I have a DSL modem/router connected to my PC with a second wireless router connected to the DSL router.
So is the list of open ports look about right?
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7743 Location: Stratford, Ontario
|
Posted: Tue 21 Jun 2011, 17:51 Post subject:
|
|
| 8-bit wrote: | 139/tcp open unknown
631/tcp open unknown |
It looks like you are running a Samba server along with CUPS.
|
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2290 Location: Winsted, CT - USA
|
Posted: Tue 21 Jun 2011, 18:58 Post subject:
|
|
@8bit
Seek and ye shall find.
_________________ hangout: ##arch-ftw on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Wed 22 Jun 2011, 02:58 Post subject:
|
|
rcrsn51,
You are correct on both counts. Thanks for the reply.
AJ,
Thank you for the link that explains use of each port.
I'm a bit tired and did not think to do a web search.
Also, you have one interesting web site with interesting articles.
And it appears the government thinks so too.
Maybe I am just dense, but I could not see anything that would have been of interest to them.
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9382 Location: SwedenEurope
|
Posted: Wed 22 Jun 2011, 03:40 Post subject:
|
|
Maybe Netstat could show ports? I only fail to know how to tell it to?
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2623 Location: Earth
|
Posted: Wed 22 Jun 2011, 11:55 Post subject:
AngryIP |
|
I have used AngryIP since its inception. It has never failed me in my 11 years of using in both Windows and Linux. AND it finds port 80 too. If you're having a problem where it cannot find port 80 if your browser is open, I'd be interested to learn "how that is?" I used it many times ot help users on local LANs who are having some anomolies. Best tool I have ever found for fast accurate discovery.
For Puppy users, Get it from here (Linux use must have JAVA. All Microsoft OSs have JAVA built-in)
Hope this helps
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
|