Miki Shapiro wrote:
> some server applications back-resolve the IP of the clients that
> connect to them. Is this done by the server application or by an OS
> facility?
>
> It happened to me with ssh2d server.
>
> Can this somehow be disabled?
>
> I have a friend who set up samba and ISDN dial-on-demand, also on SuSE. He
> complained that every connection to samba triggered an internet
> connection. Can this be related?
It is done by the application (although, philosophically, you may claim
that by serving the app syscall, it is the kernel).
Usually, it is possible to confiugure the app to avoid it.
For example, you configure Apache to run about twice (!) faster, by the
following directive: "HostnameLookups Off".
Later, even if you need to resolve the whole log file / etc., it is still
much faster than doing it on-the-fly. In addition, doing it later by a
batch program, allows it to use caching.
Regarding the specific configuration for ssh: RTFM.
Nobody promises you that ssh has this option.
If this is the case (no option for ssh), then Read The *** Source. Adding
such an option is one of the simplest things to do (just wrap the func
that reverse resolve the IPs, to do nothing if an environment variable is
set. And don't forget to getenv() only once and save the result in a
static variable).
--
Eli Marmor
[EMAIL PROTECTED]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__________________________________________________________
Tel.: +972-9-766-1020 8 Yad-Harutzim St.
Fax.: +972-9-766-1314 P.O.B. 7004
Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]