[Exim] identd timeouts - exim 3.33

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Paul Wilson
Dátum:  
Címzett: exim-users
Tárgy: [Exim] identd timeouts - exim 3.33
It seems the huge majority of ISPs out there filter port 113/identd.
Because of this, exim hangs for 30 seconds on a new inbound connection
because of the 30 second timeout (rfc1413_query_timeout,
globals.c/globals.h). I fixed this in my own copy by adding a
identd_timeout var set to 1 second to globals.c/globals.h and applied
the below diff to verify.c. My questions are: firstly, will this ever be
a config option instead of requiring the rfc 1413 timeout value?
Secondly, if not, is there another way to do what I'm doing without
hacking the source of each new distribution?

Thanks

Paul

--- ../../exim-3.33/src/verify.c        Wed Aug 15 06:09:13 2001
+++ verify.c    Sat Nov 24 16:25:37 2001
@@ -1228,9 +1228,9 @@
  verify_get_ident(int socket)
  {
  sender_ident = NULL;
-if (rfc1413_query_timeout > 0 && verify_check_host(&rfc1413_hosts, 
FALSE))
+if (identd_timeout > 0 && verify_check_host(&rfc1413_hosts, FALSE))
    {
-  char *ident_ptr = ident_id(socket, rfc1413_query_timeout);
+  char *ident_ptr = ident_id(socket, identd_timeout);
    if (ident_ptr != NULL)
      {
      strncpy(ident_buffer, ident_ptr, sizeof(ident_buffer));