open ports
Hello,
I am a newb with linux but am trying out it for a while a I am stuck on debian. i setup a proftpd server and it works great and that is all i want it for. I ran a portscan on it from my widows machine and it was showing that smtp and pop3 were open. I did remove exim4 from the machine and from the runlevels. I also did a netstat -tan to verify that nothing is listening on 25 from a windows box I can telnet to the ip /port25/110 and it will look like it is connecting but I see not text on te screen, just black. it acts differently then when i connect to another port and like 112 or something like that where it will say connect failed. basicaaly are both 110/25 open? and what is using them? This was a plane jane debian install with just proftpd added. |
fuser -vn tcp 25
will show u what is working on local "tcp 25" port, actually just care about PID of that program. after that u can do ps aux |grep PID to see more details. good luck. |
Thanks maxut. i have that a try but it did not bring up anything at all. but my portscan still says that they are open.
|
interesting. if nothing listens to tcp 25, u should get "connection refused" message at client side while trying to telnet that port. at least it works like that here (linux to linux). maybe windoze doesnt work like that. maybe something wrong with your portscan or network (firewall) configuration at linux side.
edit: u must have root rights, when u use fuser. sorry i forgot to tell about that before. good luck |
hello again. It must have been something with the port scanner i was using. I ran nmap and it reports that only 21 is open.
Thank you. |
All times are GMT -5. The time now is 12:52 PM. |