Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Rodent of Unusual Size [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED], Apache bug database [EMAIL PROTECTED] Cc: Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Tue, 09 Jun 1998 10:38:43 -0400 Glenn Fleishman wrote: Unfortunately, I am not sophisticated enough to figure out where to put -lresolv reference. The new Configuration stuff is great, but I can't figure out where you modify library tags like I used to. Any advice would be useful, as I assume other SunOS users have the potential to have this error, too. By new Configuration stuff I assume you mean the ./configure script. That's an alternate method, not a replacement for what you're used to using. You can still modify your Configuration file and then do a ./Configure; make to build the server - that hasn't changed. #ken P-)} Ken Coarhttp://Web.Golux.Com/coar/ Apache Group member http://www.apache.org/ Apache Server for Dummies http://Web.Golux.Com/coar/ASFD/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
[In order for any reply to be added to the PR database, ] [you need to include [EMAIL PROTECTED] in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] Synopsis: DNS lookup in logs reports host, first number in dotted quads State-Changed-From-To: open-feedback State-Changed-By: dgaudet State-Changed-When: Sun Jun 7 23:26:51 PDT 1998 State-Changed-Why: waiting to find out if the patch I sent does the job
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Mon, 8 Jun 1998 08:57:20 -0800 Installing the revision 1.34 patch did it! No problems. Removing the bind library includes reduced the binary back to reasonable size, too (about 500K, which is unbelievably small for how much it does). Thanks so much for the help! You can close this ticket. (I'm experiencing an unrelated problem, I hope, that I have another ticket open for - mod_usertrack doesn't appear to be reading existing Cookie's correctly...I'm hoping it's unrelated.)
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Mon, 8 Jun 1998 10:21:11 -0800 Sorry, I was wrong about one thing. The code change in user track now makes visit cookies (Apache=) that weren't in the same format as 1.2. In 1.2, just the first part (hostname or first number in dotted quad) were concatenated with the tick counter. But with this code change, the logging now works (I see how those two issues are related) but the cookie contains the entire FQDN or IP number. Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Dean Gaudet [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Mon, 8 Jun 1998 10:49:43 -0700 (PDT) That was a deliberate change... it shouldn't break anything, the cookie value is just an opaque token that's supposed to differ from one client to another. Is it causing you trouble? Dean On Mon, 8 Jun 1998, Glenn Fleishman wrote: Sorry, I was wrong about one thing. The code change in user track now makes visit cookies (Apache=) that weren't in the same format as 1.2. In 1.2, just the first part (hostname or first number in dotted quad) were concatenated with the tick counter. But with this code change, the logging now works (I see how those two issues are related) but the cookie contains the entire FQDN or IP number. Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
[In order for any reply to be added to the PR database, ] [you need to include [EMAIL PROTECTED] in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] Synopsis: DNS lookup in logs reports host, first number in dotted quads State-Changed-From-To: feedback-closed State-Changed-By: dgaudet State-Changed-When: Mon Jun 8 11:19:55 PDT 1998 State-Changed-Why: user is happy :) Thanks for using apache! Dean
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Mon, 8 Jun 1998 10:58:19 -0800 At 9:49 AM -0800 6/8/98, Dean Gaudet wrote: That was a deliberate change... it shouldn't break anything, the cookie value is just an opaque token that's supposed to differ from one client to another. Is it causing you trouble? Thought it was unintentional. It makes it longer, but that's not that big of a deal. We're done, then! Thanks so much! Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 17:39:56 -0800 At 12:15 PM -0800 6/6/98, Dean Gaudet wrote: It depends on how you've got it installed. If you've got the resolv+ package installed then you probably linked against it, since that modifies the shared libcs. But otherwise I think you need to add -lresolv or something like that, it's been a long time since I've had to deal with sunos4. Iinstalled gcc 2.8.1 and BIND 8.1.2 and still had the problem, so I'm assuming the resolver library is the thing. Unfortunately, I am not sophisticated enough to figure out where to put -lresolv reference. The new Configuration stuff is great, but I can't figure out where you modify library tags like I used to. Any advice would be useful, as I assume other SunOS users have the potential to have this error, too. Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Dean Gaudet [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 18:26:34 -0700 (PDT) I don't use the new configuration stuff, I don't know how to do it either. You can still use the old configuration stuff. And in that, you should put: EXTRA_LIBS=-L/usr/local/bind/lib -lbind EXTRA_CFLAGS=-I/usr/local/bind/include Tell us how that goes... Dean
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 20:48:58 -0800 EXTRA_LIBS=-L/usr/local/bind/lib -lbind EXTRA_CFLAGS=-I/usr/local/bind/include These flags can be added to src/Makefile after running configure and they get used. The executable ballooned in size: Before -rwxr-xr-x 1 root 499712 Jun 6 17:20 /usr/apache13/sbin/httpd After -rwxr-xr-x 1 root 1146880 Jun 6 20:05 src/httpd However, it did work just fine - but the problem persists. Still getting just the fragment. Thanks.
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Dean Gaudet [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 20:54:54 -0700 (PDT) I honestly don't know what to say. The problem doesn't happen anywhere except sunos 4.x, so I'd say it's a problem on that system... and there's not anything I know to work around it in apache... maybe you can pester folks on a sunos 4.x specific mailing-list/newsgroup. Someone else has to have solved this issue. Dean On Sat, 6 Jun 1998, Glenn Fleishman wrote: EXTRA_LIBS=-L/usr/local/bind/lib -lbind EXTRA_CFLAGS=-I/usr/local/bind/include These flags can be added to src/Makefile after running configure and they get used. The executable ballooned in size: Before -rwxr-xr-x 1 root 499712 Jun 6 17:20 /usr/apache13/sbin/httpd After -rwxr-xr-x 1 root 1146880 Jun 6 20:05 src/httpd However, it did work just fine - but the problem persists. Still getting just the fragment. Thanks. Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sun, 7 Jun 1998 08:57:24 -0800 At 7:54 PM -0800 6/6/98, Dean Gaudet wrote: I honestly don't know what to say. The problem doesn't happen anywhere except sunos 4.x, so I'd say it's a problem on that system... and there's not anything I know to work around it in apache... maybe you can pester folks on a sunos 4.x specific mailing-list/newsgroup. Someone else has to have solved this issue. I do thank you for the time on this, and it is a bizarre one. I'm running CERN and Apache 1.2.x without any problems in logging on the same box. The problem only appeared with 1.3.0, so I was hoping there was a clear code change that would have caused it. I guess not! I'll poke around on comp.sys.sun.admin and so forth. Maybe leave this ticket in feedback mode so when I find a solution I can cc back to it and you to make sure it gets closed and logged in the database. Glenn
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sun, 7 Jun 1998 11:20:24 -0800 One related point, too, before I forget: it may not be a BIND problem per se, as the first number in a dotted quad is being used, too, not just the host name without an FQDN. If it were just the latter, I could log IPs, but the IPs are also broken: just 204 instead of 204.94.44.1. I'll dig through the code again, too, and see if I can find something wrong. Hopefully, someone else will report this - and be a Sun developer with a solution!
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Dean Gaudet [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 12:50:54 -0700 (PDT) Did you link against the bind libraries explicitly? Sunos 4.x has some very interesting ideas w.r.t. name lookup, DNS, and NIS/YP. In particular, things should work fine if you use the bind libraries explicitly. Or if you don't use NIS/YP. Also take a peek in your /etc/hosts to see if you've got all the entries listed with the FQDN first. Dean
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Glenn Fleishman [EMAIL PROTECTED] To: Dean Gaudet [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 13:09:09 -0800 At 11:50 AM -0800 6/6/98, Dean Gaudet wrote: Did you link against the bind libraries explicitly? Sunos 4.x has some very interesting ideas w.r.t. name lookup, DNS, and NIS/YP. In particular, things should work fine if you use the bind libraries explicitly. Or if you don't use NIS/YP. Also take a peek in your /etc/hosts to see if you've got all the entries listed with the FQDN first. On the bind subject: I didn't do it explicitly, but apache is performing lookups in some cases, just not all. How do I link explicitly? In all the software I've compiled over the last four years, this hasn't been a problem with this OS (or I've been lucky). On the NIS/YP front: we use it, but barely. Just enough to avoid having to replace it, but not for any real purpose. It's set up to use DNS primarily. /etc/hosts: not sure why this affects externally looked-up FQDNs - can you explain? Does an FQDN in the /etc/hosts file force DNS involvement in resolver lookups? That seems odd. Glenn Fleishman, unsolicited pundit. see my mug: http://www.glenns.org freelance technical writer, perl hacker, Adobe Magazine columnist/editor co-author of Real World Scanning Halftones, 2d edition http://rwsh.com technical director, Phinney-Bischoff Design Househttp://www.pbdh.com director of operations, i/us Corporation http://www.i-us.com chair, Web Marketing '98/D.C. http://www.thunderlizard.com/webmarketing/
Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads
The following reply was made to PR mod_log-any/2366; it has been noted by GNATS. From: Dean Gaudet [EMAIL PROTECTED] To: Glenn Fleishman [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_log-any/2366: DNS lookup in logs reports host, first number in dotted quads Date: Sat, 6 Jun 1998 13:15:34 -0700 (PDT) On Sat, 6 Jun 1998, Glenn Fleishman wrote: On the bind subject: I didn't do it explicitly, but apache is performing lookups in some cases, just not all. How do I link explicitly? In all the software I've compiled over the last four years, this hasn't been a problem with this OS (or I've been lucky). It depends on how you've got it installed. If you've got the resolv+ package installed then you probably linked against it, since that modifies the shared libcs. But otherwise I think you need to add -lresolv or something like that, it's been a long time since I've had to deal with sunos4. On the NIS/YP front: we use it, but barely. Just enough to avoid having to replace it, but not for any real purpose. It's set up to use DNS primarily. Yeah that's enough to cause troubles. /etc/hosts: not sure why this affects externally looked-up FQDNs - can you explain? Does an FQDN in the /etc/hosts file force DNS involvement in resolver lookups? That seems odd. It won't affect external stuff. It'll only affect stuff that has entries in /etc/hosts. Dean