D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => EBR-2310 => Topic started by: neb on February 26, 2008, 04:12:56 PM

Title: Bittorrent problems (Active connection limit?)
Post by: neb on February 26, 2008, 04:12:56 PM
I've had no problems with this router until running a bittorrent client (Azureus). As soon as Azureus is running, all other Internet applications (web browser, email) stall when trying to access the Internet.

I know it's not my computer, because I never experienced this with my old router. I've got the port forwarding set up correctly. Is the EBR-2310 slow at port forwarding?

I've also limited upload bandwidth (in Azureus configuration) to one third my maximum (lower than I used to have to go). This seemed to alleviate some congestion, but still a problem.

Then I dropped Azureus's total max connections from 800 to 400. This seemed to help a little, but not great. Is there any kind of active connection limit documented for the EBR-2310?

I also experimented turning on/off the QoS Engine in the EBR-2310 (suspecting it might be mistakenly prioritizing bittorrent traffic over http web connections). That did not seem to have any affect.

Anyone else experience bittorrent swamping their EBR-2310?
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on February 27, 2008, 01:42:09 PM
Here are some research resources, but no resolution found yet:

http://www.azureuswiki.com/index.php/Bad_routers

EBR-2310 not (yet) listed under known bad bittorrent/azureus routers, but other D-Link routers are. Reducing max connections has NOT helped.

http://www.azureuswiki.com/index.php/Good_settings

Notice that my max connections were WAY high (800 vs. recommended 167). Still, limiting connections has not helped. Whenever Azureus is run, all other internet traffic stalls. Any other help greatly appreciated.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: poorbiker on March 05, 2008, 05:39:02 PM
Is there a port forwarding tutoring site for those of us who are technologically challenged?  I can't get emule to work even after manually inputting the ports.  Help!!
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 05, 2008, 05:57:06 PM
The first step to successful port forwarding is knowing:

The EBR-2310 can make that second part tricky:

Are you using the EBR-2310 to dynamically assign IP addresses to your internal (LAN) machines? That is, are your internal computers configured to use DHCP (versus static IP addresses)?

Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 06, 2008, 06:26:50 AM
By the way, read my new post (http://forums.dlink.com/index.php?topic=1385.0) on the EBR-2310's lack of DHCP Static Reservation, which explains why DHCP with port forwarding is likely to fail on this router. You may need to fall back on static IP assignment to get port forwarding to work consistently.

http://forums.dlink.com/index.php?topic=1385.0

I hope this helps you understand the issues. If you have other port forwarding questions about this router, I encourage you to start a new topic in this forum.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Fatman on March 06, 2008, 09:01:15 AM
I avoided jumping in on this thread until now as I am not a big user of Bittorrent, nor do I work with this router enough to have input on a limit to the number of connections.

However I can tell you that I will be personally ensuring the creation of a tutorial on port forwarding with this router, and it will not require any features not present on this router regardless of what you see in this thread.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 06, 2008, 09:35:41 AM
A tutorial would be great. For the record, this router is completely capable of working with Bittorrent, games, and other software requiring port forwarding. The issue is that it will take some configuration, which I find to be more technical than it aught to be for most users.

Regarding bittorrent, I've tried every configuration setting in Azureus. It seems that there is about a 10 minute period when the router is completely congested (no web pages can load, email stalls). After that, connectivity is better, but can still stall out now and then.

I hope this helps others with similar problems.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: David on March 07, 2008, 12:50:46 PM
What you are attempting seems to be overloading the NAT processor on the unit. For your desired functionality I would recommend purchasing a high end router such as a DGL-4500 or a DIR-655.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 07, 2008, 01:25:59 PM
Thank you very much, Atomsk, for your insightful, technical explanation of what might be going on.

Can you tell me if the NAT processor has a harder time with in-bound connections, or is it just an overall (in/out) capacity?  If in-bound connections are more "expensive," then I can tweak how things are run to primarily use outbound connections, if it avoids swamping the device.

(I'll also take a look at the DGL-4500 & DIR-655 - thanks for the suggestions.)
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 07, 2008, 02:31:19 PM
Usually the EBR/WBR line are not really recommended for people with high bandwidth needs. BT is known as a connection hog, I would look at limiting inbound connections as well as out bound. It's not a matter of expense, more total allowed concurrent connections.
What H/W_Ver is your router?
Title: Re: Bittorrent problems (Active connection limit?)
Post by: David on March 07, 2008, 03:19:55 PM
Is there a port forwarding tutoring site for those of us who are technologically challenged?  I can't get emule to work even after manually inputting the ports.  Help!!

Have you tried entering the IP address of your computer in the DMZ section within the configuration page? It can be found from the advanced>firewall settings tab.

This link may also help.

http://portforward.com/english/routers/port_forwarding/Dlink/EBR-2310/EBR-2310index.htm (http://portforward.com/english/routers/port_forwarding/Dlink/EBR-2310/EBR-2310index.htm)

Title: Re: Bittorrent problems (Active connection limit?)
Post by: David on March 07, 2008, 03:24:13 PM
What H/W_Ver is your router?


He has a B1.  ;D 2.01 fw if I'm correct.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 07, 2008, 03:24:29 PM
Spec: D-Link EBR-2310, Hardware: B1, Firmware: 2.01
Notice: Firmware 2.01 is on the device, but only 2.00 listed for download. (http://www.dlink.com/products/support.asp?pid=478&pv=110&sec=0)

I've been tweaking everything I can in the Azureus bittorrent client. On the router, I've experimented with turning off Statefull Packet Inspection and Quality of Service engine, with no clear results. Overall, bittorrent will work, but causes initial (and intermittent) congestion.

For the price, the EBR-2310 is fine for a small home network, and has a decent feature set. It's certainly easier to manage than a Linux LEAF Bering floppy-boot firewall on old, cobbled-together hardware.

Thanks for the diagnosis.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 07, 2008, 03:28:03 PM
Thats ODD the Rev B is good hardware. Unless they locked the connection limit of that unit to match the revA, that thing is a IP3K NAT CPU.
I'll check in to it.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 07, 2008, 03:31:27 PM
Have you tried entering the IP address of your computer in the DMZ section within the configuration page? It can be found from the advanced>firewall settings tab.

This link may also help. http://portforward.com/english/routers/port_forwarding/Dlink/EBR-2310/EBR-2310index.htm

Turning on DMZ is like turning off the firewall. Yes, it might make eMule/Azureus work, but don't do it unless you really don't want any protection for your computer. Also notice that the user manual has several warnings that setting a DMZ is dangerous with DHCP because another computer could accidentally become the DMZ (unprotected) computer when that IP is reassigned. I do not recommend using a DMZ with this router (unless you use static IPs).

Regarding portforward.com: That looks like a very comprehensive site! Just note that their screenshots for the EBR-2310 port forwarding are outdated. Pretty much the same, though.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 13, 2008, 08:10:43 AM
Thats ODD the Rev B is good hardware. Unless they locked the connection limit of that unit to match the revA, that thing is a IP3K NAT CPU. I'll check in to it.

Lycan, any information on the EBR-2310's NAT CPU? Is there a lock on the connection limit? Should it be performing better?

Thanks for looking into it.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 14, 2008, 09:21:56 AM
It's not locked to anyones knowledge. I'd be interested in a packet capture of your WAN and LAN. See whats going on there. I'll hit up the PM for that unit see what he says.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 14, 2008, 09:58:29 AM
Thanks for your efforts. I'll try to help as best I can. I look forward to hearing what you find out from the PM. (I'm guessing that's the Product Manager, not the Prime Minister...)

Summary of my experience so far:

Despite continued tweaking, Bittorrent (at least Azureus) essentially blocks all other access to the Internet (from any computer on my LAN) when running. I'm certainly not swamping the upstream or downstream bandwidth of my Internet connection.

Web pages stall on "Connecting to..." (not DNS lookup or data transmitting). Same with email or any other TCP connection. My VOIP phone seems to work fine. Also notice that Azureus itself seems to operate properly, but there are many "Scrape Timeout" problems (these are HTTP connections to trackers, which fail just like the other Web connections).

I was suspicious of the QoS Engine, but was not able to conclude that it was a factor one way or the other (would need more testing).

There is always the chance I've configured something wrong, in either/both the router or Azureus. I've not had any problem like this with my previous router, though.

I have NOT yet tried any serious gaming (like Americas Army), which usually use UDP, to see if other applications cause this problem.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 17, 2008, 05:19:49 PM
Try setting the QoS prirorty for BT to 255?
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 18, 2008, 09:30:14 AM
The only QoS control this router offers is On/Off.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 18, 2008, 03:19:29 PM
Then thats the issue, it's classifing it to low. I had the same issue with the 655 and BT, until I specified the priority to be 255.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 19, 2008, 08:56:03 AM
This router seems to have the capability to perform much better. The provided software (firmware configuration system) just does not offer good control. I hope D-Link releases a better version of the firmware for this router.

Regarding QoS with Bittorrent (Azureus client), I did try turning off QoS with no noticeable impact. However, I probably did not run the experiment long enough to observe valid results. I'll try BT again someday without QoS and report what I experience.

Thank you for looking into this. Even though this is not the most capable router (I never expected it to be), I'm glad to know it's not just something I've set up wrong.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 26, 2008, 10:09:28 AM
I tried turning of the QoS Engine to no avail. When Azureus is running, my Internet connection is clogged. This shows up as "Connecting to..." timeouts for TCP-based (including HTTP) connections. It's not a DNS lookup slowdown, or any UDP-based services (such as my VOIP phone, internet radio, or games).

Web pages take forever to connect and often time out. This is for all computers on my network, too, while bittorrent is active.

I've found no Azureus configuration that can improve this situation, but I'm willing to try things, if anyone has any experience in these matters.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: Lycan on March 26, 2008, 10:27:38 AM
The issue is the lack of configurable QoS.
Sounds like you need to upgrade. Something lihe the DIR-655.
Title: Re: Bittorrent problems (Active connection limit?)
Post by: neb on March 26, 2008, 11:03:46 AM
The issue is the lack of configurable QoS.

I see. I thought that by turning off QoS altogether, the bittorrent traffic would not be over-prioritized. However, you're implying there is just too much traffic for the router to handle, so the bittorent traffic should be de-prioritized (so the router can let through other traffic first).

Thanks for the diagnosis. My primary reason for buying this router was its cheap price (that is, if they stop hassling me about the rebate, which I fulfilled perfectly.). I'm moving down from a LEAF Bering Firewall, so I'm just getting used to the cramped space.

Regarding Azureus, the only one configuration that might have made some tiny amount of difference was configuring the Max Number of Simultaneous Outgoing Connection Attempts to 1 (down from 10 default). That way, only one of this router's series of pipes is consumed at a time...

Thanks for your help. These forums are very useful.