Received: (qmail 2504 invoked from network); 2 Jun 1998 05:44:49 -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: 2339 >Category: mod_log-any >Synopsis: Some log entries do not have full IP address >Confidential: yes >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Mon Jun 1 22:50:01 PDT 1998 >Last-Modified: Mon Jun 15 07:28:46 PDT 1998 >Originator: miura@gungun.slab.ntt.co.jp >Organization: >Release: 1.3b7 >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:28:45 PDT 1998 State-Changed-Why: This issue is being tracked in PR #2229, as you noted. Please watch that report for status. Originator-Changed-From-To: -miura@gungun.slab.ntt.co.jp Originator-Changed-By: coar Originator-Changed-When: Mon Jun 15 07:28:45 PDT 1998 Release-Changed-From-To: -1.3b7 Release-Changed-By: coar Release-Changed-When: Mon Jun 15 07:28:45 PDT 1998 Responsible-Changed-From-To: gnats-admin-apache Responsible-Changed-By: coar Responsible-Changed-When: Mon Jun 15 07:28:45 PDT 1998 Responsible-Changed-Why: Putting back into mainstream db. Category-Changed-From-To: pending-mod_log-any Category-Changed-By: coar Category-Changed-When: Mon Jun 15 07:28:45 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