|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-19 11:07 UTC] php at silisoftware dot com
gethostbyaddr() crashes Apache (v1.3.24) when looking up certain IPs. Example script:
echo gethostbyaddr('208.133.226.85');
Every other IP I've tried (so far about 40,000) didn't have any problems. I tried the above line on another server running PHP4.2.2, Apache v1.3.26 and some form of Linux (2.4.9-31) and that had no problems.
Probably related: the Windows port of Webalizer crashes when performing DNS lookups on the same line of the log file, so I suspect it's something to do with DNS lookups in Windows (?).
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 05:00:01 2025 UTC |
This does have a very suspicious nameserver: For authoritative answers, see: mitsui.com 3600 IN SOA nyc0x001.mitsui.com amonty.nyc.mitsui.com( 130 ;serial (version) 3600 ;refresh period 600 ;retry refresh this often 86400 ;expiration period 3600 ;minimum TTL ) nyc0x001 But indeed - if Webalizer freaks out, the bug is probably in XP. You may have stumbled upon something really nice here.