Received: (qmail 2509 invoked from network); 2 Jun 1998 05:44:51 -0000 Message-Id: <199806020546.OAA29765@gungun.slab.ntt.co.jp> Date: Tue, 02 Jun 1998 14:46:53 +0900 From: Nobuyuki Miura Sender: miura@gungun.slab.ntt.co.jp To: apbugs@hyperreal.org Cc: apbugs@apache.org, miura@slab.ntt.co.jp Subject: Some log entries do not have full IP address >Number: 2340 >Category: mod_log-any >Synopsis: Some log entries do not have full IP address >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: duplicate >Submitter-Id: unknown >Arrival-Date: Mon Jun 1 22:50:02 PDT 1998 >Last-Modified: Mon Jun 15 07:26:18 PDT 1998 >Originator: >Organization: >Release: >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: coar State-Changed-When: Mon Jun 15 07:26:18 PDT 1998 State-Changed-Why: Duplicate of #2339. Class-Changed-From-To: sw-bug-duplicate Class-Changed-By: coar Class-Changed-When: Mon Jun 15 07:26:18 PDT 1998 Severity-Changed-From-To: serious-non-critical Severity-Changed-By: coar Severity-Changed-When: Mon Jun 15 07:26:18 PDT 1998 Responsible-Changed-From-To: gnats-admin-apache Responsible-Changed-By: coar Responsible-Changed-When: Mon Jun 15 07:26:18 PDT 1998 Responsible-Changed-Why: Putting back in mainstream db.. Category-Changed-From-To: pending-mod_log-any Category-Changed-By: coar Category-Changed-When: Mon Jun 15 07:26:18 PDT 1998 >Unformatted: I've encountered similar problem with PR number 2229. My environment is, apache_1.3b7 SunOS 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-2 bind-4.9.7-REL gcc-2.7.2.1 httpd.conf HostnameLookups off LogFormat "%a %l %u %t \"%r\" %>s %b" common CustomLog var/log/httpd/access_log common Outside mod_log_config there are also same problem. For example, REMOTE_ADDR, which is an enviromental value in CGI via mod_cgi, and Host field of /server-status via mod_status. Sometimes these are also only the first octet of the IP address. These values are not resolved value, so I think it's not resolver problem. I insert debugging code into fucntion "new_connection" (in http_main.c). conn->remote_ip is always no problem, so inet_ntoa works well. I'm wondering where it lacks rests of IP address...... Apahce_1.2.6 works without these problem, so I use it for the present. ---- Nobuyuki MIURA, NTT Software Labs. miura@slab.ntt.co.jp