blocklist count

Discussion of Transmission that doesn't fit in the other categories
Post Reply
me2018
Posts: 2
Joined: Sat Feb 10, 2018 7:31 am

blocklist count

Post by me2018 »

I've compiled a blocklist which contains 924491 unique entries. However when this is imported into transmission it reports 'Blocklist has 284,099 rules'.

What happened with the other 640392 entries?
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: blocklist count

Post by cfpp2p »

They are grouped together in a range.
me2018
Posts: 2
Joined: Sat Feb 10, 2018 7:31 am

Re: blocklist count

Post by me2018 »

What does that mean exactly? Is there parsing on the address range in each line?

Would '123 bads:123.123.123.1-123.123.123.200' omit ''456 bads:123.123.123.10-123.123.123.100'
cfpp2p
Posts: 290
Joined: Sat Aug 08, 2009 3:14 pm

Re: blocklist count

Post by cfpp2p »

ranges can span. for example a blocklist to ban all:

block ALL x:0.0.0.0-255.255.255.255

to block all but two ips:

block ALL x:0.0.0.0-10.0.0.211
block ALL x:10.0.0.213-192.168.1.76
block ALL x:192.168.1.78-255.255.255.255

So transmission will sort out your blocklist to produce the most efficient compact blocklist from all of your blocklist entries. See blocklist.c https://github.com/transmission/transmi ... locklist.c
Post Reply