blocklist count

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

blocklist count

Postby me2018 » Sat Feb 10, 2018 7:42 am

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: 282
Joined: Sat Aug 08, 2009 3:14 pm

Re: blocklist count

Postby cfpp2p » Sat Feb 10, 2018 3:54 pm

They are grouped together in a range.
peace doesn't come without a price...
there is nothing truer on Earth or of the Universe

me2018
Posts: 2
Joined: Sat Feb 10, 2018 7:31 am

Re: blocklist count

Postby me2018 » Sat Feb 10, 2018 4:45 pm

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: 282
Joined: Sat Aug 08, 2009 3:14 pm

Re: blocklist count

Postby cfpp2p » Mon Feb 12, 2018 4:31 pm

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
peace doesn't come without a price...
there is nothing truer on Earth or of the Universe


Return to “General”