Simple checklist for a nice Emule experience

Deutsche Version

Contents

0.0 Minimum System Requirements
1.0 ISP Trouble
1.1 NAT
1.2 Port-filtering/ Traffic-shaping/ Port-blocking
1.3 High Transfer Volume
2. LAN/ Router
2.1 Portforwarding
2.2 Max. Connections
3.0 Client Computer
3.1 NIC Drivers
3.2 DSL Drivers
3.3 Minimizing Running Operating System Services
3.4 Closing Open Ports
3.5 Firewall And IP-Filter (On Emule-Client PC)
3.6 "Hardening" The TCP-Stack
4.0 Emule
4.1 Ports
4.2 Preferences/ Tips
4.3 Server
4.4 Kademlia
5.0 Remarks

0.0 Minimum System Requirements

These requirements are meant for Emule running 24/7 under high load, not for a 24 hour quickie. If you want to work, surf, play and watch movies at the same time, use a CPU with 1 GHz or more and at least 768 MB RAM.
For your own sake.

back to top

1.0 ISP Trouble

Many problems you experience with Emule originate at the choice of your internet service provider (isp).

1.1 NAT

Make sure you have an unrestricted internet connection !

Meaning : Your ISP assigns you a PUBLIC IP-address (abbr. IP), which is reachable from the internet, not a private IP-address, and you don't have to share it with a lot of other users (cf NAT, proxie).
If this is the case, you're effectively in a very big LAN with NO access to the router.

VERY BAD. You're stuck with LOWID, no matter what you try !

If you're unsure, don't hesitate to grill your ISP about this issue. Hey, they want your money, so you should get the real deal and not a cheap ripoff !

Change your ISP ASAP, if they make any trouble !

You can check your IP here : www.wieistmeineip.de or here : www.whatismyip.com .

Private IP-addresses (for LAN only):

10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

back to top

1.2 Port-filtering/ Traffic-shaping/ Port-blocking

Make sure your ISP doesn't use any of these techniques to harass the innocent P2P user. Many reselling companies for big internet carriers use this to "convince" high-end users to leave.

Vigilant studying of the "terms of use" before signing the contract for your internet connection is highly recommended. Roam online forums like www.dslreports.com to get first-hand experiences from other users !

back to top

1.3 High Transfer Volume

Same problem here with resellers and high transfer volume users.

Solution: Use big carriers as your ISP.
They usually don't block/shape p2p-usage and don't care about high transfer volumes.

They own those damn pipes.

back to top

2.0 LAN/Router

The next common area of trouble are internet connections via home routers or LANs.

2.1 Portforwarding

Remember: ALL connections have to pass your router !

back to top

2.2 Max. Connections

Most LAN/W-LAN/DSL/cable-routers can handle only a small number of simultaneous internet connections (usually around 200-250).

back to top

3.0 Client Computer

Now we are closing in on the troublemaking pc itself.

3.1 Networkcard (NIC) - Driver

Use up-to-date drivers for all your NIC's.

The default Windows drivers are mostly outdated and have problems coping with the number of network connections Emule is able to use. Problematic drivers can trigger the unpleasant "blue screen of death" "IRQ NOT LESS OR EQUAL", crashing Windows right when Emule is running fast.

To be able to update your network drivers, you first have to know your currently used network-chipset  and/or -manufacturer. If you have no user manual, the only way to be sure is opening your computer case and look for yourself. Don't trust your OS too much. Sometimes it doesn't recognize your NIC correctly and therefore installs wrong or 'far from optimal' network drivers.

Once you know your NIC's chipset, try Google or websites like www.driverguide.com to get up-to-date drivers for your OS.

back to top

3.2 DSL Driver

If you are NOT behind a router and connect to the internet via DSL-modem (pppoe):

With this type of connection the up- and downloading bandwidth are NOT independent. To upload with your maximum bandwidth and download with reasonable speed at the same time, or the other way around, use a trafficshaping tool like CfosSpeed (aka CFOS) (www.cfos.de). A good alternative to the standard Windows dsl-driver is raspppoe (www.raspppoe.com). Instead of using CfosSpeed you can use the USS (upload speed sense) function of Emule.

Both (CfosSpeed and USS) may work together or not. Try !

back to top

3.3 Minimizing Running Operating System Services

Warning: Not for complete noobs !

This is going to save memory and cpu resources and most importantly : you will have far less compatibility and security problems.

General rule: If you don't need a service, shut it down completely when possible !

For a comprehensive guide on OS-services, which ones you need and which not, look at www.blackviper.com.

In case this is too complicated for your liking, www.dingens.org, www.ntsvcfg.de offer tools for Win2000/XP, doing most (but not all) of the configurations for you. Still, very handy.

back to top

3.4 Closing Open Ports

Warning: Not for complete noobs !

If you're NOT behind a router, you're exposing your computer directly to the "wild" internet with lots of "open by default" ports. You can check it out here: https://grc.com/x/ne.dll?bh0bkyd2 or here: http://scan.sygate.com.
Even if you're already using a firewall to protect yourself, it might not work correctly if it is badly configured. Or you may have shut it down/disabled it either by choice or accident. So, closing those ports in the first place is always a good idea !

My favourite guide for this task is here: http://www.hsc.fr/ressources/breves/min_srv_res_win.en.html.en

After that there should be NO open ports left, but better check it again.

back to top

3.5 Firewall And IP-Filter (On Emule-Client PC)

After performing 3.3 and 3.4 there are only two firewall related issues left:

back to top

3.6 "Hardening" The TCP-Stack

Warning: Not for complete noobs !

There are tools and guides to change the standard network configuration, for your computer to be less vulnerable against many common attacks (like DOS), even without a firewall. Consider this only if you are able to repair any problems yourself, because this requires the manual changing of registry settings.

http://www.sniff-em.com/harden-it.shtml Automatic tool : Harden-it
Microsoft:
http://support.microsoft.com/kb/324270/en-us/ Windows Server 2003
http://support.microsoft.com/kb/315669/en-us/ Windows 2000/XP
http://www.microsoft.com/technet/security/topics/Serversecurity/tcg/tcgch00.mspx Threats and Countermeasures
Other:
http://www.winguides.com/registry/display.php/1237/

back to top

4.0 Emule

Now we finally arrive at the application in question.

4.1 Ports

The current official Emule client (.46c) is using an additional port to the ones you can set in the preferences.
It's called 'serverudpport' and can be set only in the 'preferences.ini' textfile in the config directory.

So the whole set of used ports is:

When using a router, those ports have to be forwarded (2.1).

My personal choice for the first three ports is on my system 55, 56, 57.

This way most users with a 'bad ISP' (see portblocking) can still connect to my Emule without problems. Ports below 1024 are usually left untouched by ISP's. On a Windows NT/2000/XP pc you can find a list of ports and their common use in this textfile :

WINDOWS\system32\drivers\etc\services .

Just be sure you don't choose a port which is already being used on your computer.
In such a case, you will see an errormessage in the serverlog:
Fatal Error: Unable to create socket on port xxxx

Tools to help you include: ActivePorts (www.protect-me.com/freeware.html), TCPView (www.sysinternals.com/Utilities/TcpView.html), X-Netstat (www.freshsw.com) or "netstat" in the Windows commandconsole.

If it is too difficult for you to decide which ports below 1024 to use, you can choose ports over 10000 more freely. Those are often used for online games.

In theory any port between 1 and 65535 is possible.

back to top

4.2 Preferences/ Tips

back to top

4.3 Server

Lately there is an increasing number of fake servers appearing in the ed2k-network, spying on users, spreading fake search results and sources. There are countermeasures to avoid these servers. Time will tell, how effective they really are:

Razorback 2.0 and 2.1 are gone as of Feb. 23rd.
Now all Razorback servers are fake !

The procedure itself hasn't changed, only the source of a clean server list:

1. Delete server.met or delete all servers in your server list, if Emule is running.
2. In the server-preferences disable "update server list when a client connects".
3. Enable "autoconnect to servers in static list only".
4. Enable "don't remove static server".
5. Load a clean server list either manually with ed2k://|serverlist|http://corpo.free.fr/server.met|/ or add http://corpo.free.fr/server.met to addresses.dat as only entry.
6. Enable "auto-update server list at startup".
7. Choose 5-10 servers you trust as static servers.
8. Get a new and up-to-date IP-filterlist from Bluetack once a week.
9. Reload the IP-filterlist in security-preferences and enable "filter servers too".

back to top

4.4 Kademlia

The Kademlia-implementation (serverless network) in the current Emule-clients (.47) has reached a point to be a very good alternative to the old serverbased network. Users with enough upload-bandwidth (min. 128 KBit) can use both systems simultaneously.

Users with routers or USB-devices might run into problems, though. Often they are not able to use KAD.

Some "security" applications like ZoneAlarm or the "worm protection" in Norton products can cause havoc as well.

back to top

5.0 Remarks

Those recommendations are based on my own experiences with my Emule client-usage and internet connection since 2002 and the help of other users.
Your own experiences might differ from that. To be sure, your have to try it by yourself.

And thanks go to (in alphabetical order, just to be fair):
Anabolic-Frolic, Ashrak, crf, dani_555, fluke667, fractal.design, leuk_he, Paingiver, sauberesocke, SYS 64738, Unyure, xscarab, ...

 

Comments, corrections, suggestion, additions, ... are welcome.
Send a PM to qm2003 in the official Emule forum http://forum.Emule-project.net.

This checklist may be copied and quoted freely, as long as the author "qm2003" is referred to and a link to http://home.arcor.de/qm2003 is set. A short notice (mailto:qm2003@arcor.de) is eligible, but not mandatory.

last updated: March 06 2006