Redhat fresh install port 1025
Hi all,
I have a redhat box that has port 1025 open. Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on mike (127.0.0.1): (The 1595 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 80/tcp open http 1025/tcp open NFS-or-IIS 10000/tcp open snet-sensor-mgmt I closed port 1024 and sun rpc by doing: chkconfig --level 0123456 portmap off chkconfig --level 12345 nfslock off service nfslock stop now i want to disable port 1025. if i do this: lsof -iTCP:1025 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME xinetd 1640 root 5u IPv4 2275 TCP mike:1025 (LISTEN) I see it's xinetd. how can i fix it? |
Use 'chkconfig --list | more' to give you a listing of all the service states. At the bottom of the output should be a subsection of all the xinetd-based services. Just see which ones xinetd is running and shut them off with chkconfig (chkconfig <service_name> off). You can also manually edit the files in the /etc/xinetd.d/ subdirectory and comment out whichever service file you want to shut off, but just using chkconfig is easier.
|
Ok i will try that but with the more option it gives more ok, cause i always do chkconfig --list...
|
someone knows wich prog use port 1025 ?
|
i just killed the xinet.rd service and restarted it.. the port was gone :)
|
All times are GMT -5. The time now is 09:23 PM. |