Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 9th, 2003
noia
Guest
 
Posts: n/a
Default 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...
Reply With Quote
  #2 (permalink)  
Old December 10th, 2003
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

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
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
list of providers that don't block file sharing apps osu_uma Connection Problems 70 January 21st, 2009 02:14 PM
quick and dirty perl peerguardian to phex IP block list converter blahblahblabh Development Open Discussion 1 August 29th, 2006 01:48 AM
Here's my block list - what's yours look like? nerryj Download/Upload Problems 2 July 22nd, 2005 12:39 PM
block list osu_uma Open Discussion topics 2 June 21st, 2003 04:14 PM
List of IPs to add to your BLOCK / DENY lists ! Chateau General Gnutella / Gnutella Network Discussion 0 November 28th, 2002 01:53 AM


All times are GMT -7. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.