Welcome! Log In Create A New Profile

Advanced

"List Priority" - Priority of the list.

Posted by Anonymous User 
Anonymous User
"List Priority" - Priority of the list.
February 05, 2011 11:17AM
Hi all.

I want to set "List Priority".

1. You can specify a value,between 1 and 100(ex: 1,10,20,30,...,90,100). A larger value means higher priority.
2. If Peerblock matches two(or more) lists,the IP list(the HIGHER priority) will be used.(See Ex.1)
3. If a IP is matching two(or more) lists with the same priority,it will be "ALLOWED > BLOCKED".(See Ex.2 and 3)

__________________________________
Example.

My Setting---
aaa.txt Block Priority:30
bbb.txt Allow Priority:20
ccc.txt Block Priority:20

* aaa.txt
GOOGLE:8.8.8.8-8.8.8.8

* bbb.txt
TEST:1.1.1.1-1.1.1.1
GOOGLE:8.8.8.8-8.8.8.8

* ccc.txt
TEST:1.1.1.1-1.1.1.1
__________________________________
Ex.1
Come from IP:8.8.8.8 -> match aaa.txt and bbb.txt
-> Priority 30(Higher) aaa.txt was used -> So this ip will be BLOCKed.

Ex.2
Come from IP:1.1.1.1 -> match bbb.txt and ccc.txt
-> Same Priority:20,Allow and Block -> So this ip will be ALLOWed.

Ex.3
"BLOCK 20" + "ALLOW 20" = "ALLOW 20"
"BLOCK 20" + "BLOCK 20" = "BLOCK 20"
"ALLOW 20" + "ALLOW 20" = "ALLOW 20"



Edited 1 time(s). Last edit at 02/05/2011 11:26AM by Chermsky.
Re: "List Priority" - Priority of the list.
February 05, 2011 12:29PM
Interesting Suggestion, I have not seen anything quite like this before.

Just FYI - Currently, PeerBlock allow list(s) overrides block list(s). If the IP 8.8.8.8 is in a allow and block list, the IP will be allowed.

Your suggestion would create some interesting effects in the number of blocked/allowed IP, as some lists overlap like,

"Default P2P List"( Bluetack level1 ) and "Primary Threats" ( TBG ) (( Just for example )).

Country lists, for example, would also have some interesting effects, as they tend to overlap other lists.
Anonymous User
Re: "List Priority" - Priority of the list.
February 05, 2011 12:57PM
>some interesting effects in the number of blocked/allowed IP

PB 1.1: Blocking 1,650,032,151 IPs
PB New Ver.: Blocking "about" 1,650,032,151 IPs ((1-2)+3+4)

List 1: Block Pri:10
List 2: Allow Pri:10
List 3: Block Pri:20
List 4: Block Pri:30

________________________________________________________
I want to block some IPs whenever those are listed as ALLOW.

PeerBlock 1.1(now) --- It will be ALLOWed
List 1: Allow:8.8.8.8
List 2: Block:8.8.8.8

PeerBlock New Ver.--- It will be BLOCked.
List 1: Allow:8.8.8.8 Prio.:10
List 2: Block:8.8.8.8 Prio.:20 (High)



Edited 3 time(s). Last edit at 02/05/2011 01:02PM by Chermsky.
Sorry, only registered users may post in this forum.

Click here to login