Deprecated: Function eregi() is deprecated in /var/www/web100515/html/mainfile.php on line 88

Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/web100515/html/includes/mx_system.php on line 31
Das Technische und Clubforum - Edonkey server problems
Willkommen bei eD2K-Serverboard
Suchen
Artikel
  · Registrieren/Einloggen Portal  ·  Artikel  ·  Artikel schreiben  ·  Lugdunix-/Eselforum  ·  Forum II  ·  Ausloggen  

  Hauptmenü
General
 Home
 Themen
 Artikel
 Downloads
 Links
 Bildergallerie
 Impressum

Community
 Ihr Account
 Memberliste
 Artikel schreiben
 Kalender
 Statistiken

Stuff
FAQ

Suchen

  Zusatz Menü

  
Folgende Benutzer haben heute Geburtstag:
Happy Birthday
· yfydufopi: 30 Jahre

  Neue Downloads

Neue Downloads
Neue Downloads ]


  
1: +++ www.eMuleSite.de +++
   [Visits: 2210 x]
2: Windowsforum
   [Visits: 1967 x]
3: Turboforum
   [Visits: 1951 x]
5: Linux-Club
   [Visits: 1718 x]
6: Das Linuxbuch
   [Visits: 1693 x]
7: adslforum bei G. Schwarz
   [Visits: 1670 x]
8: Das eMule - Handbuch
   [Visits: 1603 x]
9: Atelier Web Remote Commander
   [Visits: 1509 x]

  Terminkalender
November 2018
  1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Keine Termine fuer heute.

Termin vorschlagen Termin vorschlagen

  Menü II

Flatbooster


Das Technische und Clubforum Sie sind nicht eingeloggt


Nach unten
« vorheriges  nächstes »
Aufsteigend sortiern Absteigend sortieren      print
Autor: Betreff: Edonkey server problems
Newbie
Newbie

Member
Beiträge: 1
Registriert: 23/10/2007
Status: Offline
Geschlecht: männlich
red_folder.gif erstellt am: 23/10/2007 um 11:22  
Hi all,

Sorry to do this in English but my German language skills are rusty.
I try to run a donkey server (from lugdunum) on my linux box and have troubles.
Could anyone help me?

This is my donkey.ini:

name=Wcool
desc=Donkey
thisIP=83.x.x.x
listenIP=83.x.x.x
bindUDPIP=83.x.x.x
port=58130
seckey=<changed for secuity reasons> # Added by eserver. Should not be public
bverbose=true
logFile=true
verbose=true

The 83.x.x.x is a valid public IP address

The output that I get is this:

zlib Version : 1.2.3
scan_line()
dserver: has epoll interface !
Before alloc khash
Mem bloc at address 0xb7b57000
Could not bind UDP socket to port 0. error = 99
Could not bind UDP socket to port 58134. error = 99
Could not bind UDP obf socket to port 58144. error = 99
Could not open ipfilter.srv : No such file or directory
Could not open ipfilter.clnt : No such file or directory
Could not open ipfilter.slimit : No such file or directory
Could not open ipfilter.lowid : No such file or directory
Could not open ipfilter.opeers : No such file or directory
Could not open ipfilter.perip : No such file or directory
ipfilter.dat loaded. 229707 lines -> 162266 ranges
ip-to-country.csv loaded. 79440 lines -> 79440 ranges
Could not open fakes.txt : No such file or directory
Could not open incompletes.txt : No such file or directory
Could not bind UDP socket to port 58130. error = 99
Could not bind to port 58130, error code 99
Could not bind UDP socket to port 58138. error = 99
Could not bind UDP socket to port 58142. error = 99

I have opened port 58130 up to 58150 for UDP and TCP on my router.
AFAIK I don't have any firewall running on the linux box (Debian Etchy)

Does anyone know what is going on? Why does it try to bind to port 0, 58134, etc when I explicitly bind to 58130?

Does anyone know where I can lookup error 99? Source code would be no problem.

Thanks a lot.

Jeroen
Profil anzeigen Nach allen Beiträgen dieses Users suchen
Administrator
Newbie

ganzneu
Beiträge: 9
Registriert: 26/4/2003
Status: Offline
red_folder.gif erstellt am: 23/10/2007 um 18:50  
hi Wcool and welcome,

..."I have opened port 58130 up to 58150 for UDP and TCP on my router.
AFAIK I don't have any firewall running on the linux box (Debian Etchy)"...

hm, wich kind of line you are using to run the eserver???
sdsl, adsl???
static ip, dyn ip???

why do you run a router before your linux-box???


ade neuxxxxx


____________________
Server: maxx1462 macht urlaub port: 9955
Profil anzeigen Nach allen Beiträgen dieses Users suchen Antwort 1
Gast

Gast
red_folder.gif erstellt am: 24/10/2007 um 11:46  
Hi Ganzneu, thanks for your reply.

OK bare with me :) it's a long story.

I am a member of a wifi amateur network in Ireland (www.thewan.net).
We use Direct Connect to share files with each other but have a lot of trouble connecting over different versions/platforms. Also DC just doesn't have a good feature list.

What I want to try is to setup is an edonkey server for this network only (around 60 nodes). My home LAN is on 192.168 subnet and the WAN is on 10.x.x.x network. My LAN has a connection both the internet (my ip is 83.xxx) and the WAN (10.xxx)

Ultimately what I like to setup is an Edonkey server on my 192.168.0.10 computer that has portwarding to the WAN (10.x)
So my WAN ip will be something like 10.xxx and LAN ip 192.168.0.10
The router will portforward 10.xxx to 192.168.0.10 for (a) certain port(s)

Ok now you say: where does the 83.x come in? Well to complicate things I am in South Africa right now for another 2 months. I have SSH and VNC access over the internet. So for testing reasons I want to temporarily configure the server to use 83.xxx not 10.xxx
I can test the setup here by using a client. When all is working I only have to change the ip from 83xxx to 10xxx

I thought my portforwarding was ok but it seems not :(
Antwort 2
Administrator
Newbie

ganzneu
Beiträge: 9
Registriert: 26/4/2003
Status: Offline
red_folder.gif erstellt am: 25/10/2007 um 06:52  
hi Wcool,

Ok, you didn't answer my questions, but i found a little about your ip :cool:

The ISP you are using for dialup seams to be a cable-provider.

Cable-provider often using line discipline like a proxy- or dhcpserver.

This means for P2P, in this case - ed2k - all needed ports, client and/or server can't be forwarded by router, you might have LowID.

Ok, some more little help.

..."My home LAN is on 192.168 subnet and the WAN is on 10.x.x.x network. My LAN has a connection both the internet (my ip is 83.xxx) and the WAN (10.xxx)"...

Ip-ranges like 10.x.y.z, 192.168.x.y are used by (L)ocal (A)rea (N)etworks.
In your case, look at your debian-box "vi /etc/network/interfaces"

..."
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.233
"...
When your NIC is configured like this, your eserver have to know your public IP. 83.x.y.z
In this case a dyndns-client like ddclient, inside debian, might be helpful.

your donkey.ini:
...
thisIP=83.x.x.x
listenIP=83.x.x.x
bindUDPIP=83.x.x.x
...
have to be changed to:
...
thisIP=83.x.x.x (or like thisIP=$var and var is found by a little script with the help of ddclient e.x.)
listenIP=
bindUDPIP=
should be left blank. configured by eserver itself.
...

...
port=58130
...
your tcpport is set to 58130 by donkey.ini, eserver sets automatically udpport=58134, portTCPOBF=58130, portUDPOBF=58144. (might be seen with "screen -r" and "print")

...
bverbose=true
logFile=true
verbose=true
...
should left blank or in your case set false. (with "screen -r" and "bverbose=false", ...)

eserver will swap your ram and harddisk with useless information very fast.

At the end the same question, why do you use or need a router???
If you have a debian-box you have several helpful tools inside to configure your debian-box as a router, too. apt-get, aptitude or synaptic will be your friends installing little tools like, pppoeconf, iproute and more. ipkungfu or arno-iptables - inside your debian-box - you might setup a little firewall-script using NAT and so on for security and nating your LAN.

hm, ... more questions???

ade neuxxxxx


____________________
Server: maxx1462 macht urlaub port: 9955
Profil anzeigen Nach allen Beiträgen dieses Users suchen Antwort 3
Gast

Gast
red_folder.gif erstellt am: 25/10/2007 um 23:50  
Thanks Ganzneu,

Well I am pretty sure that my provider does not block any port.
There is no need as there is a bandwidth limit of 30Gb per month.

This server is used for all sorts of services, from webserver, SSH, torrent server, FTP etc, I can make it part of the 83 range (by making it my entry point for that) or part of the 10 range, but I prefer not.

Both the 83 and 10 range have a router, and all my LAN computers run on 192 (about 7 computers). I do this on purpose. ps the way they are connected is by a static rule: the 83 router just sends all 10x traffic to the other router that routes it to the wifi network. Naturally only 1 dhcp server is active.

In any application (like torrents) i could just open a port on one of the routers and forward it to 192.168.0.10

This is how my etc/network/interfaces file looks like

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

I configured my router to always give 192.168.0.10 to this server.

You know I didn't expect it to be this difficult and was surprised that the source is not open (I could do some tracing then).
But likely I do something wrong :)
Antwort 4
Administrator
Newbie

ganzneu
Beiträge: 9
Registriert: 26/4/2003
Status: Offline
red_folder.gif erstellt am: 26/10/2007 um 09:26  
Hi Wcool,

...
Well I am pretty sure that my provider does not block any port.
...
might be or not :)
...
There is no need as there is a bandwidth limit of 30Gb per month
...
Hm, 30GB, is that true? - a eserver running "public=true" produces more then "1TB" per month. Depends not on users connected to eserver, depends on users connected to ed2k-net worldwide might be 5 mio or more users.


Ok, -
..."This server is used for all sorts of services ... - ...Naturally only 1 dhcp server is active."...

- I have some services like you, but i prefer my debian-box routing all that traffic, managed by a little help of Traffic shaping.

...
You know I didn't expect it to be this difficult and was surprised that the source is not open (I could do some tracing then)
...
Hm, there are mighty interrests and reasons not to open the source. One of them might be, there are enough fake-servers outside flooding the net with silly bits and bytes. :cool:
...
But likely I do something wrong
...
I agree.
...

Ok, let us try to become your eserver corresponding with the world.
At first the debian-box should be configured with a static IP, inside your LAN, not given per dhcp by script and your router(s).
And further on it might be helpful to have a look at the setup-menu of your router configuring incoming and outgoing pakets/traffic to be forwarded to a static IP and ports.

ade neuxxxxx

ps: You have PN!!!


____________________
Server: maxx1462 macht urlaub port: 9955
Profil anzeigen Nach allen Beiträgen dieses Users suchen Antwort 5
« vorheriges  nächstes »        print
Nach oben


mxBoard, © 2006 by pragmaMx.org, based on eBoard, XMB and XForum


-
Alle Logos und Warenzeichen auf dieser Seite sind Eigentum der jeweiligen Besitzer und Lizenzhalter.
Im übrigen gilt Haftungsausschluss. Weitere Details finden Sie im Impressum.
Die Artikel sind geistiges Eigentum des/der jeweiligen Autoren, alles andere © 2003 - 2007 by eD2K-Serverboard
Diese Webseite basiert auf pragmaMx 0.1.9. Dieses CMS ist frei erhältlich.