MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Port test problem

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
PaceyIV
neophyte


Joined: 10 Aug 2013
Posts: 2

PostPosted: Sun Aug 11, 2013 11:43 am    Post subject: Port test problem Reply with quote

When I try to run the port test in the MLDonkey WebUI I always get this error message:
Porttest finished 6m 39s ago
Error : Connection closed : peer

I add this port forwarding rules in the Web UI of my router:
- 6881-6882 TCP for Bittorent
- 4080 TCP for the WebUI

I can access to the WebUI from outside my network, so I know how to do with port forwarding....

I also try to configure port forwarding with upnpc
Code:

upnpc : miniupnpc library test client. (c) 2006-2010 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.1.254:40013/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.254:40013/ctl/IPConn
Local LAN ip address : 192.168.1.1
Connection Type : IP_Routed
Status : Connected, uptime=845260s, LastConnectionError : ERROR_NONE
  Time started : Thu Aug  1 18:45:04 2013
MaxBitRateDown : 4200000 bps   MaxBitRateUp 4200000 bps
ExternalIPAddress = MY-EXTERNAL-IP
 0 UDP 35583->192.168.1.101:35583 'Skype UDP at 192.168.1.101:35583 (2406)' ''
 1 TCP 35583->192.168.1.101:35583 'Skype TCP at 192.168.1.101:35583 (2406)' ''
 2 TCP  6882->192.168.1.1:6882  'libminiupnpc' ''
 3 TCP  6881->192.168.1.1:6881  'libminiupnpc' ''
 4 UDP 12241->192.168.1.1:12241 'libminiupnpc' ''
 5 UDP  1935->192.168.1.100:1935  'NAT-PMP 848657' ''
 6 TCP  1935->192.168.1.100:1935  'NAT-PMP 848657' ''
GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)


I'm using MLDonkey 3.1.3 compiled by myself in a armhf environment:
OCaml version: 3.12.1 - C compiler version: 4.6 - C++ compiler version: 4.6
Built on: Linux armv7l 3.3.0-agheller.1 (little endian) with glibc 2.13
Configure args: '--enable-option-checking=fatal' '--enable-upnp-natpmp' 'CFLAGS=-g -Os' 'CXXFLAGS=-g -Os'
Features: threads zlib-1.2.7 bzip2-1.0.6 gd(jpg/png-1.2.49) iconv(active) no-magic no-upnp no-natpmp no-check-bounds

I try to compile with upnp enabled but don't works and if I force to compile with this library localy I always get and error: too few parameters for a function.


Regards,
PaceyIV
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 595

PostPosted: Sun Sep 01, 2013 4:06 pm    Post subject: Reply with quote

Currently all the methods mldonkey uses for port test are unavailable, we need to devise a new method.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
PaceyIV
neophyte


Joined: 10 Aug 2013
Posts: 2

PostPosted: Sun Sep 01, 2013 4:27 pm    Post subject: Reply with quote

It's not exact.
EDonkey can check port correctly.
Only Bittorent can't.
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 595

PostPosted: Mon Sep 02, 2013 3:43 am    Post subject: Reply with quote

You are right. Looks like we will be able to reuse edonkey porttest for bittorrent too.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
ygrek
professional


Joined: 20 Mar 2010
Posts: 595

PostPosted: Mon Sep 02, 2013 4:28 pm    Post subject: Reply with quote

Looks like EDK porttest code needs some improvement, but it can be used for BT ports - please test https://github.com/ygrek/mldonkey/commit/c4989d54b18fc94f2c35afcfd67c0b9199207347
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo