aMule Bug Tracker - aMule
View Issue Details
0001789aMulePreferencespublic2018-07-09 12:252018-07-09 12:25
LinuxUbuntu18.04 Desktop
0001789: aMule is not using proxy configured in preferences to download nodes.dat and servers.met
aMule always tries to download nodes.dat and servers.met directly, ignoring both aMule HTTP or Socks5 proxy preferences and system proxy settings. Also environment variables http_proxy, https_proxy, socks_proxy are ignored.
 Both files have to be downloaded (and updated too) manually and placed in ~/.amule directory if host is behind firewall with proxy.
1. Set HTTP or Socks5 proxy enable flag and proxy type, host and port settings at aMule preferences (optional - at system config, and optional - environment variables at ~/.bashrc, need to import .bashrc to bash if in console).
2. Start tcpdump at terminal session on data interface
3. Start aMule (from graphic interface or optional - from terminal session)
4. Press update button on server.met (ED2k tab) or nodes.dat (KAD tab)
5. Seeing direct HTTP request attempt to in tcpdump output and error messages in aMule log like below while aMule KAD and ED2K protocols are using proxy settings without any problems for search and downloads:

13:16:38.894352 IP ubuntu.45432 > Flags [S], seq 441771513, win 29200, options [mss 1460,sackOK,TS val 2467241725 ecr 0,nop,wscale 7], length 0
13:16:38.894835 IP > ubuntu.45432: Flags [R.], seq 0, ack 441771514, win 0, length 0

aMule log:
2018-07-09 13:16:38: HTTP: WARNING: Void response on stream creation
2018-07-09 13:16:38: Invalid response from HTTP download server
2018-07-09 13:16:38: Failed to download server.met from [^]

Note: in dump is reverse resolution of IP of
No tags attached.
Issue History
2018-07-09 12:25konstantingNew Issue

There are no notes attached to this issue.