LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Close Port 113 and 389 (https://www.linuxquestions.org/questions/linux-security-4/close-port-113-and-389-a-2343/)

sillobo 05-07-2001 02:28 PM

Close Port 113 and 389
 
Hi,

I was checking my newly install Linux firewall the other day and found out that port 113 and 389 are opened. They are the ident auth port and LDAP port respectively. Although my ipchain rules have blocked anything attempts to come in, I still don't feel too comfortable about having two opened ports which I have no service running on. I checked /etc/services and I have everything commented out already. xinetd has nothing in it. Init script does not contain any service/server daemon. Anyone has any idea why these two ports got opened? And how can I close them? Thanks for any and all the help



[Edited by sillobo on 05-07-2001 at 06:35 PM]

raz 05-08-2001 06:59 AM

Type netstat -p
See what service is using the port then go into the /etc/rc.d directory and check out which runlevel file is starting it up on boot and remove the start script.

fixed..

A little known fact is that port 113 is used by some email servers.
If you block it, emails will take longer to come in. "the server try's port 113 and timeouts on the Auth port then SMTP's that data".

So your correct to block them as port 113 is a v-bad port to have open on a system.

/Raz

sillobo 05-08-2001 01:43 PM

Thanks.
 
Thanks for your pointers. I figured that ident is running. Port 113 is now closed. :)

twister 05-12-2001 06:35 PM

What's wrong with having port 113 open?

How can ppl hack through this port?


raz 05-14-2001 03:38 AM

They don't hack through it.

It can give back information on the ID name of a socket connection to a remote system. "known as AUTH port"

This information is then used to help in hacking through some other means of entry, like brute force passwd guessing. etc etc etc.

It's normally used for IRC and SMTP, but now it's considered outdated and should be switched off.

/Raz

prasannas 05-15-2001 09:10 AM

help me out for ldap installation
 
Pls help me out.how to install ldap server in linux 7.0.
its giving error messg that its not bind

rgds
Prasanna S



Quote:

Originally posted by razbot
They don't hack through it.

It can give back information on the ID name of a socket connection to a remote system. "known as AUTH port"

This information is then used to help in hacking through some other means of entry, like brute force passwd guessing. etc etc etc.

It's normally used for IRC and SMTP, but now it's considered outdated and should be switched off.

/Raz


raz 05-15-2001 09:37 AM

Prasannas,

Check out http://www.linuxdoc.org/HOWTO/LDAP-HOWTO.html
Read this and if you get stuck give the Linux general forum a shout.

/Raz


All times are GMT -5. The time now is 03:53 AM.