Page 1 of 1

Syn flood error in sys log

Posted: Sun Mar 20, 2011 11:59 am
by orkun
Hi,
I am using deluge 1.3.1 client on Pardus linux distrubition.
My problem is that, during deluge running, sometimes my internet connection and so deluge, becomes totally useless.
I checked the sys log there are syn flood errors like below.
I have to restart my ethernet interface using command line every time I have this problem.

Mar 20 11:37:02 pardus2011 kernel: [ 4639.820142] TCP: Possible SYN flooding on port 53559. Sending cookies.
Mar 20 11:37:04 pardus2011 kernel: [ 4642.446693] TCP: Possible SYN flooding on port 53559. Sending cookies.
Mar 20 11:37:05 pardus2011 kernel: [ 4643.327069] TCP: Possible SYN flooding on port 53559. Sending cookies.
Mar 20 11:37:06 pardus2011 kernel: [ 4643.750082] TCP: Possible SYN flooding on port 53559. Sending cookies.
Mar 20 11:37:08 pardus2011 kernel: [ 4645.808544] TCP: Possible SYN flooding on port 53559. Sending cookies.
Mar 20 11:37:08 pardus2011 kernel: [ 4646.115767] TCP: Possible SYN flooding on port 53559. Sending cookies.

Is there anyone who has same problem ?
How can I fix it ?

Re: Syn flood error in sys log

Posted: Sat Apr 02, 2011 3:39 am
by Menpachi Hibachi
I get those every once in a while on my ubuntu system, but there is no correlation with any other problems.

Re: Syn flood error in sys log

Posted: Sun Oct 16, 2011 4:25 pm
by deluge001
Check this link to disable syn cookies on your ubuntu box (BTW, this applies to other non-ubuntu systems as well, as long you know where is your sysctl.conf and your linux machine uses sysctl )

However turning off the SYN cookies leads to following message
TCP: Possible SYN flooding on port 64271. Dropping request.

And according to this Red Hat Bug Report it is possible that the application is root cause of the error

So I request Deluge developers to link into this issue.
I am happy to provide any logs/debug/traces if required.

Edit : Sorry, forgot to provide info
Client Version: 1.3.3
Libtorrent Version: 0.15.8.0
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

I believe I have deluge PPA enabled

I will post a debug level log soon

~S
PS: My torrents work just fine, but I am concerned that this is adversely affecting my bandwidth.