Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > New Feature Requests
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

New Feature Requests Your idea for a cool new feature. Or, a LimeWire annoyance that has to get changed.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 30th, 2002
Gnutella Aficionado
 
Join Date: March 13th, 2002
Location: Aachen
Posts: 832
Taliban is flying high
Default

Quote:
I love LimeWire, but there is no way to block people based on what client they use.
Here's how to block all non-limewire cliensts (solely for educational purpose):
Download the source code
Open the file core/com/limegroup/gnutella/filters/RequeryFilter.java
and edit this fuction (paste the three lines marked with ">>"):

private boolean allow(QueryRequest q) {
//Kill automated requeries from LW 2.3 and earlier.
byte[] guid=q.getGUID();
>> //Filter ALL none-LimeWire queries
>> if (!GUID.isLimeGUID(guid))
>> return false;
if (GUID.isLimeGUID(guid)) {
if (GUID.isLimeRequeryGUID(guid, 0) //LW 2.2.0-2.2.3
|| GUID.isLimeRequeryGUID(guid, 1)) { //LW 2.2.4-2.3.x
return false;
}
}
return true;
}

Compile and voilą, you are filtering all queries from non-limewire hosts, while at the same time being able to download from them. - I'm not encouraging anybody to do so, however (although it saves a lot of your bandwidth).

Blocking freeloaders is a lot more complicated and almost impossible. LimeWire's freeloader-blocking does NOT work except for browsers.
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:01 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.