LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-01-2002, 12:37 PM   #1
thatsme
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
Question random ports


I run Slackware 8.1 (2.2.21+Owl) ...
When i run nmap like:
nmap 127.0.0.1
i see only my open ports, but run nmap one, after one (Up arrow + Enter, Up arrow + Enter) i saw that sometimes (one for ~7scans) thats i have open one port more. After another scan this port disapered ... This ports are random, and i don't think that this is some trojan, or somthing like that, because this same situation i have station witch have never been connected to some network ...
But why i see this ports
 
Old 08-02-2002, 08:37 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It might glitch, try namp --help to see what nmap really is. It is very powerful tool, needless to say you can use decoys to desguise yourself from the target machine,
run nmap with -p option in this case you can specify the range of ports to be scanned, and one more point - nmap accuracy is very high when you run it against a remote machine. If you were on the network I'd have suggested to scan this particular machine from another machine on the network, but you said there is no networking. Are connecting to the net with this system? If so then there is more if's:
Code:
if (machine.is_connected_to_net()){
  if (there_is_a_remote_machine_available())
   scan_your_machine_from_the_remote_location();
  else 
    find_a_remote_machine()
}
else 
 there_is_nothing_to_worry_about=true;

Last edited by neo77777; 08-02-2002 at 08:39 AM.
 
Old 08-02-2002, 11:15 AM   #3
thatsme
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Machine witch i have scan now is connected to net, but to scan i used loopback(127.0.0.1) - not remote scan ... hmm, i know how much powerful tool is nmap, but nmap 127.0.0.1 is example of /etc/services range TCP connect() portscan ... still i dont know why sometimes i se open ports ..

this is example:

-------------------------------------------------
Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1542 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
110/tcp open pop-3
113/tcp open auth
953/tcp open rndc
------------------------------------------------
after 8 'fast' scans (short time betwen them - using UpArrow)i see normal ports + something new:
-----------------------------------------------
1440/tcp open eicon-slp
-----------------------------------------------
after another fast scan i don't see 1440, but there is new:
-----------------------------------------------
2605/tcp open bgpd
-----------------------------------------------
after this i wait maby one second and i make new scan and now i see only my normal ports ...
maby machine is too slow p120+seti+4*Screen+and much more, and that's why sometimes it showr open ports even if they aren't =/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
random no.s cranium2004 Programming 9 04-10-2005 05:37 PM
random numbers deveraux83 Programming 2 02-28-2005 05:36 PM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 12:12 PM
random reboots rclawson Mandriva 3 10-26-2003 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration