View Single Post
  #4 (permalink)  
Old March 6th, 2006
f00bar f00bar is offline
Novicius
 
Join Date: March 5th, 2006
Posts: 4
f00bar is flying high
Default

Quote:
Originally posted by GregorK
I will check this...

it might be that the rules are only checked when collecting IPs... meaning when they first enter Phex from any network source.
...but already collected and cached IPs might not be checked again before a connection attempt is made...
I just built the latest version from CVS to test this issue. I deleted all the files in my phex configuration directory (~/.phex) and and created a new security.xml with a rule as follows:

Code:
        <ip-access-rule>
            <description>Deny all.</description>
            <isDenyingRule>true</isDenyingRule>
            <isDisabled>false</isDisabled>
            <triggerCount>0</triggerCount>
            <expiryDate>9223372036854775807</expiryDate>
            <isDeletedOnExpiry>false</isDeletedOnExpiry>
            <addressType>3</addressType>
            <ip>00000000</ip>
            <compareIP>FFFFFFFF</compareIP>
        </ip-access-rule>
Starting phex results in no connections. However, if I activate Ultrapeer mode, the security rule is bypassed and all connections are allowed.
Reply With Quote