Skip to contentSkip to conversation

port 113 ?

DISCUSSION Brent Clark 5 participants 5 messages Jan 13, 2005

lore
Share & tools
lore
#0 lore raw

Hi all

on my debian fw, im running virtually no services (as to which is the law) on my fw:

gate:~# netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN
tcp        0      0 192.168.111.10:22       0.0.0.0:*               LISTEN
tcp        0      0 192.168.111.10:3128     0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
udp        0      0 0.0.0.0:33644           0.0.0.0:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
gate:~#

Soo I would like to know, if it is advisable to stop identd. I have googled abit and from what I gather, its considered as dangerous and basically pointless to run. By removing / stopping this service, will it hamper hinder my users, other servers in any other way. I only run a mail and ftp server.

Kind Regards and thanks inadvance
Brent Clark

#1 lore raw
Quoted 18 lines

Hi all

on my debian fw, im running virtually no services (as to which is the law) on my fw:

gate:~# netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN
tcp        0      0 192.168.111.10:22       0.0.0.0:*               LISTEN
tcp        0      0 192.168.111.10:3128     0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
udp        0      0 0.0.0.0:33644           0.0.0.0:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
gate:~#
Quoted 10 lines

Soo I would like to know, if it is advisable to stop identd. I have googled abit and from what I gather, its considered as dangerous and basically pointless to run. By removing / stopping this service, will it hamper hinder my users, other servers in any other way. I only run a mail and ftp server.

Kind Regards and thanks inadvance
Brent Clark

You can stop ident daemon (which ever you have), as long as you don't need it ;)

Greets,
Klemen K.

#2 lore raw
In reply to Brent Clark

Am Do, den 13.01.2005 schrieb Brent Clark um 8:59:

Quoted 5 lines

Soo I would like to know, if it is advisable to stop identd. I have googled abit and from what I gather, its considered as dangerous and basically pointless to run. By removing / stopping this service, will it hamper hinder my users, other servers in any other way. I only run a mail and ftp server.

Yes you can stop it. It is not used by your ftp or mail server. Since it might be used by remote ftp or mailservers you are connecting to, you should take care that the packets destined at port 113 are not dropped but rejected (default, if no firewall is running). Otherwise you can experience delays.

Ralf

Signature · 1 line
Ralf Spenneberg <[email protected]>
#3 lore raw
In reply to Brent Clark
Quoted 5 lines · Brent Clark

Soo I would like to know, if it is advisable to stop identd. I have googled abit and from what I gather, its considered as dangerous and basically pointless to run. By removing / stopping this service, will it hamper hinder my users, other servers in any other way. I only run a mail and ftp server.

there are still mail servers out there configured to do an ident lookup prior to sending mail to you. i normally disable identd, but i always add a rule like this to speed up services that still request it:

  iptables -N ident
  iptables -A ident -p tcp --syn --dport 113 \
    -j REJECT --reject-with tcp-reset

iptables -A INPUT -j ident
iptables -A FORWARD -j ident

-j

--
"Ahh the Luftwaffe--the Washington Generals of the History Channel."
--The Simpsons

#4 lore raw
Quoted 11 lines · Jason Opperisano
Quoted 5 lines · Brent Clark

Soo I would like to know, if it is advisable to stop identd. I have googled abit and from what I gather, its considered as dangerous and basically pointless to run. By removing / stopping this service, will it hamper hinder my users, other servers in any other way. I only run a mail and ftp server.

there are still mail servers out there configured to do an ident lookup prior to sending mail to you. i normally disable identd, but i always add a rule like this to speed up services that still request it:

Quoted 7 lines
  iptables -N ident
  iptables -A ident -p tcp --syn --dport 113 \
    -j REJECT --reject-with tcp-reset

iptables -A INPUT -j ident
iptables -A FORWARD -j ident

besides sendmail, many <most?> irc servers also want to get a ident reply back, so one might want to add a rules for say a source ports of 6667 coming in and a dest port 113 on the inside that allows a faked reply from their pidentd or whatever they use.

Thanks,

Ron DuFresne

Signature · 11 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        admin & senior security consultant:  sysinfo.com
                        http://sysinfo.com

...Love is the ultimate outlaw.  It just won't adhere to rules.
The most any of us can do is sign on as it's accomplice.  Instead
of vowing to honor and obey, maybe we should swear to aid and abet.
That would mean that security is out of the question.  The words
"make" and "stay" become inappropriate.  My love for you has no
strings attached.  I love you for free...
                        -Tom Robins <Still Life With Woodpecker>