![]() |
Adding large # of IP's to Phex block list? Anyone know how I can add an entire block list to Phex (MacPhex) without adding them one by one? Is there a file that contains the IP's to block? Thanks... |
The file is called security.xml It is located in the phex or .phex directory of your home directory. The file header is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <phex phex-version="0.9.5.57"> <security> The content is: <ip-access-rule> <description></description> <isDenyingRule>true</isDenyingRule> <isDisabled>false</isDisabled> <expiryDate>9223372036854775807</expiryDate> <isDeletedOnExpiry>false</isDeletedOnExpiry> <addressType>1</addressType> <ip>01010101</ip> <compareIP>FFFFFFFF</compareIP> </ip-access-rule> The file footer is: </security> </phex> The expiryDate is the time in millis since 1.1.1970. The above example is Unlimited. The addressType value meaning is: 1 - single address (<ip>) 2 - network mask ( <ip> and <compareIP> is mask ) 3 - network range ( <ip> is from IP and <compareIP> is to IP ) The IP address is in HEX format the above <ip> shows 1.1.1.1 and <compareIP> shows 255.255.255.255 I hope this helps you. If you have any questions please ask also if you like to suggest a different import format, I'm thinking about an import feature and like to get some suggestions about it. Gregor |
All times are GMT -7. The time now is 08:47 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.