I'm using Qpopper 4.0.4 compiled with --enable-debugging only.
My question (with the details to follow) are:
1) Why is qpopper sending auth/IDENT requests (port 113) back to any
client that tries to connect?
2) How do I disable that in the program itself, i.e. not put a firewall
around qpopper to block port 113 requests? Or, how do I speed up the
authentication process?
If I'm outside the server network, there are 30 seconds after the
connection is established before I see:
+OK Qpopper (version 4.0.4) at mail.server.com starting.
On the client side I see no traffic from qpopper for 30 seconds after
the TCP Handshake is completed.
I ran ethereal on the server side and I saw that qpopper was sending
ident (port 113) (maybe every 10 seconds or so?) requests back to these
connections.
I looked at the source code and I saw this:
pop_init.c (lines 1173-1175)
DEBUG_LOG3 ( p, "(v%s) Servicing request from \"%s\" at %s",
VERSION, p->client, p->ipaddr );
return ( kerb_authenticate ( p, &cs ) );
Is kerb_authenticate to blame for the 30 second delay?
And the reason I looked there is because my log file with debugging
turned on looks like this:
May 29 00:18:01 mail popper[19902]: Debugging turned on (-d)
[pop_init.c:711]
May 29 00:18:01 mail popper[19902]: (v4.0.4) Servicing request from
"68.13.1.118" at 68.13.1.118 [pop_init.c:1173]
^^^^^^^^^^^^^^^^^
May 29 00:18:01 mail popper[19902]: before TLS; tls_support==0
[popper.c:180]
May 29 00:18:01 mail popper[19902]: Skipped TLS Init [popper.c:205]
May 29 00:18:01 mail popper[19902]: (v4.0.4) Intro [popper.c:247]
May 29 00:18:01 mail popper[19902]: +OK Qpopper (version 4.0.4) at
mail.isecuretrac.com starting. [popper.c:260]
^^^^^^^^^^^^
May 29 00:18:01 mail popper[19902]: Qpopper ready for input from (null)
at 68.13.1.118 [68.13.1.118] [popper.c:292]
May 29 00:18:01 mail popper[19902]: Received (12): "USER poliver"
[pop_get_command.c:105]
May 29 00:18:01 mail popper[19902]: home (13): '/home/poliver'
[pop_user.c:217]
May 29 00:18:01 mail popper[19902]: +OK Password required for poliver.
[pop_user.c:431]
Thanks for reading this.
Paul
--
--Paul-Oliver------ http://www.paultastic.com -------- paultastic.com -
Linux 2.4.18 #2 SMP Tue Apr 30 01:35:38 CDT 2002
7:43am up 29 days, 6:00, 8 users, load average: 0.09, 0.06, 0.01
-----------------------------------------------------------------------
Consider the daffodil. And while you're doing that, I'll be over here,
looking through your stuff.