Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 04:36
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
How to tell which ports are open or in use?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [37 Posts]   Goto page: 1, 2, 3 Next
Author Message
ndujoe1

Joined: 04 Dec 2005
Posts: 698

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9034
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11084
Location: The Peoples Republic of California

PostPosted: 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
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: 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 use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
DPUP5520

Joined: 16 Feb 2011
Posts: 801

PostPosted: 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
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 21 Jun 2011, 11:54    Post subject:  

DPUP5520 wrote:
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


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 use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
dogle

Joined: 11 Oct 2007
Posts: 330

PostPosted: 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
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 895
Location: .ar

PostPosted: Tue 21 Jun 2011, 15:05    Post subject:  

Get nmap and:
Code:
nmap 127.0.0.1

That will show your open ports.

For ports being used, maybe this helps:
Code:
netstat -n | grep tcp*


Regards.

_________________

Back to top
View user's profile Send private message 
DPUP5520

Joined: 16 Feb 2011
Posts: 801

PostPosted: 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
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3364
Location: Oregon

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9034
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Tue 21 Jun 2011, 18:58    Post subject:  

@8bit

Seek and ye shall find.

_________________
hangout: ##b0rked 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
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3364
Location: Oregon

PostPosted: 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
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 22 Jun 2011, 03:40    Post subject:  

Maybe Netstat could show ports? I only fail to know how to tell it to?
_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4211
Location: Earth

PostPosted: 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 people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [37 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0809s ][ Queries: 13 (0.0066s) ][ GZIP on ]