* Nix (suse@nix.hispeed.com) [010319 08:56]:
At 03:55 AM 17/03/2001, you wrote:
Does anyone know of a way to stop popper from doing ident and reverse dns lookups everytime someone connects?
If you are running it from inetd, keep in mind that SuSE's tcpd build has -DALWAYS_RFC931 set. This means that identd username lookups are *always* attempted, not just when you've asked for them in /etc/hosts.[allow|deny].
grrr... Yes I am.. is there any way to disable this behavior without recompiling?
Since it's a compile-time option, not that I know of. It's fairly simple to fix though: Install the tcpd source package and change the line "+AUTH = -DALWAYS_RFC931" to "+#AUTH = -DALWAYS_RFC931" in /usr/src/packages/SOURCES/tcp_wrappers_7.6.dif. Then run cd /usr/src/packages/SPECS && rpm -bb tcpd.spec and you should have a new rpm in /usr/src/packages/RPMS/{arch}. This *really* speeds up tcpd connections since it no longer has to wait for the inevitable identd timeout--the change made a tremendous difference on an ftp server that we all know and love. Of course, you can still selectively do these username lookups if you want to; see hosts_access(5) for more info. -- -ckm