Gnutella Forums  

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

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 7th, 2008
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default Add/Remove eligibleIPAddresses for specific SharedResources (SharedDirectory/SharedFi

Hi,

I just discovered this commit message by mariosk:

Quote:
Implementation of a new feature for Phex:
"Add/Remove eligibleIPAddresses for specific SharedResources (SharedDirectory/SharedFile)."
The GGEPBlock is now extended to support the origin IP address that searches for a SharedResource. If you need to use the new GGEPBlock extension you should call the following MessagePrefs setting:

MessagePrefs.UseExtendedOriginIpAddress.set(true);

The relevant API call to add a new eligible IP address for a SharedResource is:
PhexSecurityManager.getInstance().addIpSystemRuleL istToSharedResource(directory, friendIpAddress);
where directory is a SharedDirectory object and friendIpAddress is a dotted IP address string.

The relevant API call to remove a shared resource from the HashMap of the eligibleIpSystemRulesList is:
PhexSecurityManager.getInstance().removeIpSystemRu leListFromSharedResource(directory);
where directory is a SharedDirectory object.
- SourceForge.net Repository - [phex] Revision 4163

Could you tell us a bit more about the plans and ideas you have with the feature?

From the name, things like sharing only among friends/contacts come to my mind.

Amy I right, or am I way off?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.

Last edited by arne_bab; April 7th, 2008 at 02:30 PM. Reason: added link to commit message
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



All times are GMT -7. The time now is 06:17 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.