Page 1 of 2

Blocklist blocks 10.0.0.0/8

Posted: Sun Nov 08, 2009 10:46 pm
by Centrius
Today i noticed that when the blocklist plug-in is enabled, my LAN IPs are blocked. This contains all IPs from 10.0.0.1 to 10.255.255.255.
I am using http://list.iblocklist.com/?list=bt_level1 and i am sure that these IPs are NOT included in the list.
Furthermore, i am using the same list with azureus and i have no problem getting LAN peers. I also tried a couple of other list just to be sure, but same result.

When the plug-in is disabled, i connect to LAN peers, no problem. When the plug-in is disabled i don't.

Are the LAN IPs blocked for some other reason by the plug-in?

Re: Blocklist blocks 10.0.0.0/8

Posted: Sun Nov 08, 2009 11:00 pm
by johnnyg
The bocklist plugin should only block the ip ranges you give it.

You may have found a bug, I'll investigate.

Re: Blocklist blocks 10.0.0.0/8

Posted: Mon Nov 09, 2009 5:34 am
by seqn
Maybe you already noticed, but there are several hundred lines in that blocklist with a colon in the description field, which might confuse the parser if it's expecting the IP range to be after the first colon.

Examples:

Code: Select all

Host GE FINANCE INDONESIA 1:1:124.81.64.160-124.81.64.175
ADSL: West London Waste Authority:213.254.164.48-213.254.164.55
Please see http://www.jeuxvideo.com/:217.174.215.0-217.174.215.255

Re: Blocklist blocks 10.0.0.0/8

Posted: Mon Nov 09, 2009 9:08 am
by johnnyg
I haven't been able to reproduce this however there have been a couple of other fixes to the blocklist which should hopefully fix it (which will be in the next RC).

@seqn: no I hadn't, cheers.

Re: Blocklist blocks 10.0.0.0/8

Posted: Wed Nov 25, 2009 9:09 pm
by Centrius
Still an issue in 1.2.0rc4.

Re: Blocklist blocks 10.0.0.0/8

Posted: Fri May 14, 2010 11:50 am
by Centrius
Still an issue in 1.2.3 :/

Re: Blocklist blocks 10.0.0.0/8

Posted: Sun May 16, 2010 7:48 am
by johnnyg
If you run the daemon with -L debug, do you see lines like:

Code: Select all

[DEBUG   ] 17:45:06 alertmanager:123 peer_blocked_alert: blocked peer: 10.0.0.1
?

Re: Blocklist blocks 10.0.0.0/8

Posted: Sun May 16, 2010 10:39 am
by Centrius
I only get:

Code: Select all

alex@alex-server:~$ deluged -L debug
alex@alex-server:~$ /usr/lib/pymodules/python2.6/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:611: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:496: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
I get this even if i just type: "deluged" without the parameters. I get the warnings the first time i remotely connect to the daemon(i have my server for downloading torrents). I think its irrelevant though.

I noticed this however:
When i launch deluge the torrents that have 10.0.0.0/8 peers start downloading normally. At the same time the blocklist list is being loaded. When the blocklist loading has nearly finished, all 10.0.0.0/8 peers get suddenly disconnected.

Re: Blocklist blocks 10.0.0.0/8

Posted: Sun May 16, 2010 12:22 pm
by johnnyg
Sorry, I should have been more clear: http://dev.deluge-torrent.org/wiki/Faq# ... ingenabled

By default the daemon runs in the background (so you can't see anything it prints), so you need to either tell it to not run in the background (-d) or tell it to log to a file (-l).

You can safely ignore those warnings.

In Deluge 1.3_RC1, you'll find the blocklist pauses the session until it's loaded.

Re: Blocklist blocks 10.0.0.0/8

Posted: Sun May 16, 2010 1:36 pm
by Centrius
OK, you were correct, i get tons of these, here are a few:

Code: Select all

[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.71.141.4
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.3.0.2
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.17.128.11
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.19.147.35
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.34.65.5
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.42.44.51
[DEBUG   ] 16:32:46 alertmanager:115 peer_blocked_alert: blocked peer: 10.70.25.11
edit: also, they appear after this message:

Code: Select all

 [DEBUG   ] 16:32:46 core:310 Blocklist import complete!