| View previous topic :: View next topic |
| Author |
Message |
Berni neophyte
Joined: 16 Dec 2006 Posts: 33 Location: Germany
|
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
Berni neophyte
Joined: 16 Dec 2006 Posts: 33 Location: Germany
|
Posted: Thu Sep 11, 2008 12:11 am Post subject: |
|
|
| I tested it for a few days and it works fine. Thanks for the patch! |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Tue Apr 10, 2012 6:32 pm Post subject: |
|
|
It seems the owner of whatismyip.org changed the rules as MLDonkeys IP discovery
does not work anymore: http://www.whatismyip.com/faq/automation.asp
Here is a proposed patch, based on the link above:
| Code: | --- src/daemon/common/commonGlobals.ml 2010-11-01 18:19:23.000000000 +0100
+++ src/daemon/common/commonGlobals.ml 2012-04-10 20:24:25.000000000 +0200
@@ -836,7 +836,7 @@
if !verbose then lprintf_nl "started IP discovery";
let module H = Http_client in
let r = { H.basic_request with
- H.req_url = Url.of_string "http://whatismyip.org/";
+ H.req_url = Url.of_string "http://automation.whatismyip.com/n09230945.asp";
H.req_proxy = !CommonOptions.http_proxy;
H.req_max_retry = 10;
H.req_user_agent = get_user_agent () } |
I think MLDonkey on its own obeys the rules of whatismyip.org as it only optionally
checks for WAN IP on startup and when SIGHUP is received. I hope no 3rd party
script does something else  _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
|
| Back to top |
|
 |
Sandokan neophyte
Joined: 08 May 2008 Posts: 19 Location: Italy
|
Posted: Fri May 25, 2012 9:35 pm Post subject: |
|
|
Could be possible to set ip discovery address in downloads.ini as for web infos?
This could prevent recompiling the binaries to change only a simple string address.
Sandokan. |
|
| Back to top |
|
 |
Serge_K neophyte
Joined: 08 Oct 2010 Posts: 43 Location: Moscow, Russia
|
Posted: Thu Feb 07, 2013 7:14 am Post subject: |
|
|
IP discovery doesn't work any more.
| Code: |
2013/02/06 23:11:09 [cO] downloaded IP discovery page, parsing...
2013/02/06 23:11:09 [cO] IP discovery parse error: Not_found
|
|
|
| Back to top |
|
 |
|