Great work thanks...
Phex currently compiles its security rules from bluetack.co.uk.
It merges ranges from the following lists:
Hijacked IP Blocks
IANA Reserved
Level 1 Blocklist
Spyware List
Not sure how much overlapping it has with peerguardian.
Here is the file that shoes the complete blocked ranges used:
http://svn.sourceforge.net/viewvc/ph...fg?view=markup
BTW: You can remove the lower part of your script which adds "the default rules that came set on my phex".
They are only used to store the trigger count across Phex sessions. Phex will still add its default rules when you remove these lines. The only thing you loose is the trigger count, which is only used for display/user information purpose.
Also note that Phex handles type 2 (ip/mask) slightly more performant then type 3 (ranges) addresses. It could make a difference on large lists.