To change of port name in nmap

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat To change of port name in nmap
# 1  
Old 05-02-2009
To change of port name in nmap

Hi,

Is it possible to change the nmap port name: For eg:

21/tcp open ftp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
836/tcp open unknown
843/tcp open unknown
953/tcp open rndc

I need to change the port number 836 unknown to the name of the service that I am using. for eg: I need to change to ssh .I have tried with changing in the /etc/services files, but no luck, it does not shows up while I nmap the port.

could you please advice me where it is possible or not.
# 2  
Old 05-02-2009
Hello,

If I am understanding you correctly, you need to edit the sshd_config file to listen on port 836. There is an option in there that allows you to use a non-standard port.

The /etc/services file I think just tells you common application to port mappings so I don't believe editing this file is going to make much difference--i think. Hope this helps Smilie
# 3  
Old 05-02-2009
Yes, you are on the way. The thing is I should not see the port name as unknown instead of that I should get the service name. Is it possible to do that?

Last edited by gsiva; 05-02-2009 at 04:53 AM..
# 4  
Old 05-03-2009
hello again,

i'm not 100% sure, but maybe editing the services file to reflect the change you want would yield the result your after........

don't quote me on this however. maybe google it i'm sure you'll find the info or else someone can confirm this here [?]

hope this helps
# 5  
Old 05-03-2009
disregard my last post.......i just RE-read your first post

maybe you would need to edit the file first, restart some service, then check again................

i would be interested to know if you find anything out though

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

How to change from tty03 to tty00 serial port in AIX 5.x?

Hi, We use AIX 5.x, and we have an application that use the info from a server through a serial port tty00. Some days ago, we bought a new two port serial board, and the server assign this new ports as tty02 and tty03, and leaves tty00 and tty01 as unavailable. We cant modify the program and... (4 Replies)
Discussion started by: trevian3969
4 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. Shell Programming and Scripting

Need a command to change the port region

portsuf=25 port=20925 I need to replace 09 with 25 It should be like 22525. Can some please help with command or script. (4 Replies)
Discussion started by: bhas85
4 Replies

4. Cybersecurity

Help with NMAP

I'm seeing a persistent address showing up on my firewall router logs. The address is 10.98.115.9:67, and is broadcasting to 255.255.255.255. I know that this would typically signal a BOOTP service, such as a bootp server announcing itself on the network. But I can't isolate which machine it... (3 Replies)
Discussion started by: renoir611
3 Replies

5. Solaris

How To Change 5 port Ip Address Solaris?

Hello i'm newbie in solaris, anybody know how to change five port solaris 10? exmpe: bge0, bge1, bge2, etc. anybody can help me with the script implementasi... and logical how solaris work. thank so much:b: (2 Replies)
Discussion started by: yanto85
2 Replies

6. IP Networking

Unknown open port: "6881/tcp open bittorrent-tracker" found with nmap

Hi. I ran nmap on my server, and I get the following: Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT Interesting ports on -------- (-----): Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 6881/tcp open bittorrent-tracker The... (0 Replies)
Discussion started by: Rledley
0 Replies

7. AIX

nmap on aix 5.2

I'm trying to compile nmap 4.11 on an aix 5.2 machine and get the following error when attempting the 'make' command; make "Makefile", line 1: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 14: make: 1254-055 Dependency line needs colon or double colon... (2 Replies)
Discussion started by: zuessh
2 Replies

8. SCO

Change FTP port UnixWare

Hi there, I have a client who wants to FTP to his server (UW7.1.4). He don't wants to use the standard 21 port but a differtent port like 8210. I added an extra ftp1line in the /etc/services and /etc/inetd.conf as same as the original ftp line. Restarted TCP/IP but when I connect with an... (0 Replies)
Discussion started by: p.vvugt
0 Replies

9. Cybersecurity

Nmap

I am pretty new at running nmap ,and i have some doubt about some o/ps the nmap shows I tried to scan my own system for UDP open ports I see that if i use one UDP port say 13 It shows that its in open state , etc But if i scan for the whole UDP ports in the nmap-services . I gives te... (2 Replies)
Discussion started by: DPAI
2 Replies
Login or Register to Ask a Question