OpenWrt Forum Archive

Topic: optimise linksys wrt54gs for p2p

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I use openwrt, and recently, I hade a problem with my mail server.
For some mails sometimes, he tells me an error message

It tells me that this error occurs with routers, firewalls and proxies and if I'm using a router, that I have to have the MTU setting is at 1500
The error can occur when the local network system aborts a connection. This would occur if WinSock aborts an established connection after data retransmission fails (receiver never acknowledges data sent on a datastream socket).
TCP/IP scenario: A connection will timeout if the local system doesn't receive an (ACK)nowledgement for data sent. It would also timeout if a (FIN)ish TCP packet is not ACK'd (and even if the FIN is ACK'd, it will eventually timeout if a FIN is not returned).

I'm asking if a software p2p can cause that, if he has many connections. (600 connexions in the same time, I put in my p2p soft).

How can I optimize openwrt with a p2p software? and also to try to optimize the connexions in my mail server?

Thanks :-)

Bye

Your details are a bit sparse.... It is technically possible, that a "mail connection" is aborted if the ACK's are dropped to often. Two remarks:

a) With 600 connections you better have a mighty big upstream;
b) try one of the QoS scripts that prioritize traffic, especially ACK packets.

The discussion might have continued from here.