IPBlocklist: IP addresses or networks

Anyone or @timf knows what type of Blocklist can be used for the IP Address Blocklist.
The header of /var/ipfire/ipblocklist/sources file says

protect against various threats, such as IP addresses or networks

What does ‘networks’ mean? Is it ASN, or even domain name list or hostfile?

The sources file has a field that mentions IP or net-list as well

‘parser’ => ‘ip-or-net-list’,
‘parser’ => ‘dshield’,

I have been experimenting with lists and today I added a source with IP addresses but it wouldn’t accept it so I started experimenting with other versions of the same list and IPFIre accepted and updated the list using a ‘hostfile’ or ‘domain list’.

Here are some examples:

IP list,

103.117.141.67
104.129.12.248
104.234.30.15
104.234.30.253
106.15.183.184
107.173.15.132
114.55.101.133
124.223.97.164

Domain list mixed with IP list

000002020303mbi3.rf.gd
000073736377.weebly.com
00007771011.weebly.com
123.ge
124.223.97.164
124.71.18.215

Hosts file

0.0.0.0 000002020303mbi3.rf.gd
0.0.0.0 000073736377.weebly.com
0.0.0.0 00007771011.weebly.com
0.0.0.0 0022-987987987.codeanyapp.com
0.0.0.0 004agreementmail.weebly.com
0.0.0.0 0083736uedgdgdvdhdddjbjbkfuygwjguygruygsjreau.weeblysite.com
0.0.0.0 0099887766.wixsite.com

12.34.56.78 = ip
123.0.0.0/16 = network (-range)

2 Likes