ID:               21653
 Updated by:       [EMAIL PROTECTED]
 Reported By:      support at hostcolor dot com
 Status:           Feedback
 Bug Type:         Sockets related
 Operating System: RedHat 7.2
 PHP Version:      4.3.0
 New Comment:

When I visited your test page, it seemed to be working; the port-scans
triggered my port-sentry and that dropped the route to your machine.
So the only "problem" is that you see two separate error messages?
I've removed a redundant message from the stable branch.



Previous Comments:
------------------------------------------------------------------------

[2003-06-21 21:29:25] laudanp at yahoo dot com

Oops, I did not mean to place the "testpaul.php" file at the end,
however, here is the link again:

http://64.246.34.44/testpaul.php

Thank  you... don't mind the "test" in the file name, it contains the
code exact code as found at computercops.biz I linked to way above.

Paul

------------------------------------------------------------------------

[2003-06-21 21:28:01] laudanp at yahoo dot com

Hi folks, we finally have a new server, and we just now installed the
CVS Stable build from your recommended download:

http://snaps.php.net/php4-STABLE-latest.tar.gz

You can see the phpinfo here:

http://64.246.34.44/phpinfo.php

And you can see the port scan page here, and the same exact errors show
up in this STABLE CVS 4.3.3RC2-dev build that I downloaded via your
recommended link.

So it appears, this is an actual bug as you can see other folks are
running into the same issue.

What is the next step?  I'd like to help in debugging this issue such
that it can be resolve sooner rather than later.

Thank you,

Paul Laudanski
http://64.246.34.44/testpaul.php

------------------------------------------------------------------------

[2003-06-20 02:20:23] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

For those of you using Linux, if the ECN suggestion does not work for
you, please try the latest stable snapshot as it contains a linux
specific workaround that *might* solve your problem.

If it does, report back here and we can make the workaround a more
portable solution.

------------------------------------------------------------------------

[2003-06-19 23:22:35] kmaier at jkaugust dot com

We were running into this exact problem and it was driving us nuts.... 
but.... we noticed it happened after a kernel upgrade where ECN was
enabled by default.

Try disabling it with:

echo 0 >/proc/sys/net/ipv4/tcp_ecn

... and see if the errors go away.

More info on ECN is here:   http://gtf.org/garzik/ecn/

-ken

------------------------------------------------------------------------

[2003-06-19 15:52:31] caitlin at meowww dot com

I just started seeing this bug in code that worked for PHP 4.1.2 (never
saw this error for almost a year of daily use) when my ISP upgraded to
4.3.2.  I am using it in a pop mail reader.  I don't see this error
every time I try to connect to the mail server, just randomly, although
it tends to occur many times in a row if I reload the page.

The code looks like this: 

 $this->Socket = fsockopen($server, $port, $errno, $errstr, 5);
 socket_set_timeout($this->Socket, 5);

Where $port = 110 for a pop mail reader, and $server is the address of
my mail server.

Originally the timeout was set to 30, but I read a post by another user
who eliminated this problem by lowering their timeout.  That didn't
work for me.  Whether the time out was 5 or 30 seconds, the error would
return immediately.

Here's my ISP's system software versions: 

OS: RedHat 7.3
Apache: 1.3.27
Mysql: 3.23.56
Tomcat: 4.1.12
JDK: 1.4.1
PHP: 4.3.2
PERL: 5.6

Thanks for any help in a fix or workaround for this bug, which is
affecting me daily.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21653

-- 
Edit this bug report at http://bugs.php.net/?id=21653&edit=1

Reply via email to