Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > GnucDNA Based Clients > Gnucleus (Windows)
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read


Welcome To Gnutella Forums

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! (click here)

If you have any problems with the registration process or your account login, please contact us. Your email address must be legitimate and verified before becoming a full member of the forums. Please be sure to disable any spam filters you may have for our website, so that email messages can reach you.

Once registered but before posting, members MUST READ the FORUM RULES (click here) and LimeWire/FrostWire users should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program. Whilst forum helpers are happy to help where they can, without these system details your post might be ignored. And wise to read How to create a New Thread

Thank you
Deutsch? Español? Français? Nederlands?
Hilfe in Deutsch, Ayuda en español, Aide en français, Hulp in het Nederlands

Forum Rules

Support Forums

Before you post to one of the specific Client Help and Support Conferences in Gnutella Client Forums please look through other threads and Stickies that may answer your questions. Most problems are not new. The Search function is most useful. Also the red Stickies have answers to the most commonly asked questions. (over 90 percent).
If your problem is not resolved by a search of the forums, please take the next step and post in the appropriate forum. There are many members who will be glad to help.
If you are new to the world of file sharing please do not be shy! Everyone was ‘new’ when they first started.

When posting, please include details for:
Your Operating System ....... Your version of your Gnutella Client ....... Your Internet connection (56K, Cable, DSL) ....... The exact error message, if one pops up
Any other relevant information that you think may help ....... Try to make your post descriptive, specific, and clear so members can quickly and efficiently help you
LimeWire and FrostWire users need to supply these details >>> System details - help us to help you (click on blue link)

Moderators

There are senior members on the forums who serve as Moderators. These volunteers keep the board organized and moving.
Moderators are authorized to: (in order of increasing severity)
Move posts to the correct forums. Many times, members post in the wrong forum. These off-topic posts may impede the normal operation of the forum.
Edit posts. Moderators will edit posts that are offensive or break any of the House Rules.
Delete posts. Posts that cannot be edited to comply with the House Rules will be deleted.
Restrict members. This is one of the last punishments before a member is banned. Restrictions may include placing all new posts in a moderation queue or temporarily banning the offender.
Ban members. The most severe punishment. Three or more moderators or administrators must agree to the ban for this action to occur. Banning is reserved for very severe offenses and members who, after many warnings, fail to comply with the House Rules. Banning is permanent. Bans cannot be removed by the moderators and probably won't be removed by the administration.


The Rules

1. Warez, copyright violation, or any other illegal activity may NOT be linked or expressed in any form. Topics discussing techniques for violating these laws and messages containing locations of web sites or other servers hosting illegal content will be silently removed. Multiple offenses will result in consequences.

2. Spamming and excessive advertising will not be tolerated.

3. There will be no excessive use of profanity in any forum.

4. There will be no racial, ethnic, or gender based insults, or any other personal attacks.

5. Pictures may be attached to posts and signatures if they are not sexually explicit or offensive.

6. Remember to post in the correct forum. Take your time to look at other threads and see where your post will go. If your post is placed in the wrong forum it will be moved by a moderator.

7. If you see a post in the wrong forum or in violation of the House Rules, please contact a moderator via Private Message or the "Report this post to a moderator" link at the bottom of every post. Please do not respond directly to the member - a moderator will do what is required.

8. Any impersonation of a forum member in any mode of communication is strictly prohibited and will result in banning.

9. Multiple copies of the same post will not be tolerated. Post your question, comment, or complaint only once. There is no need to express yourself more than once. Duplicate posts will be deleted with little or no warning.

10. Posts should have descriptive subjects. Vague titles such as "Help!", "Why?", and the like may not get enough attention to the contents.

11. Do not divulge anyone's personal information in the forum, not even your own. This includes e-mail addresses, IP addresses, age, house address, and any other distinguishing information. Don´t use eMail addresses in your nick.

12. Signatures may be used as long as they are not offensive or sexually explicit.

13. Failure to show that you have read the forum rules may result in forum rules breach infraction points or warnings awarded against you which may later total up to an automatic temporary or permanent ban. Supplying system details is a prerequisite in most cases, particularly with connection or installation issues.

Violation of any of these rules will bring consequences, determined on a case-by-case basis.


Thank You! Thanks for taking the time to read these forum guidelines. We hope your visit is helpful and mutually beneficial to the entire community.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 12th, 2002
Unregistered
 

Posts: n/a
Default Mad as hell and won't take vinnie anymore!

Swabby, please add a little edit box so I can have a choice as to who's network I don't want to contribute to, in my case I don't want to contribute my files to any commercial ventures on gnutella.
In the box I can put as many client ID id names as I want to block sharing / connecting to, comma separated. If I include a version number then only that version is included. If you can add a wildcard "*" for the version number that would be nice too.
Thanks for a great open source program.
Reply With Quote
  #2 (permalink)  
Old March 12th, 2002
Unregistered
 

Posts: n/a
Default

Here it is, simply replace CGnuNode::ParseHandshake in the file "GnuNode.cpp" with the following and recompile! Add as many checks as you like for each $$$ client you would like to block. (4 total lines, two places to check the connect strings, added to the original code, see below)

Code:
/////////////////////////////////////////////////////////////////////////////
// New connections

bool CGnuNode::ParseHandshake(CString Data, byte* Stream, int StreamLength)
{
	int i;
	CString Handshake;
	CString NetworkName = m_pDoc->ModeNetwork;
	bool	Guerilla = false;

	// Making an inbound connect
	if(m_Inbound)
	{
		// Version 6
		if(Data.Find("\r\n\r\n") != -1)
		{
			Handshake = Data.Mid(0, Data.Find("\r\n\r\n") + 4);
			m_Handshake += Handshake;

			if(m_Handshake.Find("GUERILLA ") != -1)
			{
				NetworkName = "GUERILLA";
				Guerilla    = true;
			}

			// keep any BS off my screen
			if(Handshake.Find("BearShare") != -1) { Close(); return true; }


			// Connect string, GNUTELLA CONNECT/0.6\r\n
			if(Handshake.Find(NetworkName + " CONNECT/") != -1)
			{
				if(m_pPrefs->m_NetworkModel == NETWORK_PRIVATE && m_pPrefs->m_Lan)
					if(Handshake.Find("LAN: " + m_pPrefs->m_LanName + "\r\n") == -1)
					{
						Close();
						return true;
					}

				Send_ConnectOK(true, false, Guerilla);

				return true;
			}

			// Ok string, GNUTELLA/0.6 200 OK\r\n
			else if(Handshake.Find(" 200 OK\r\n") != -1)
			{
				SetConnected();

				// Stream begins
				for(i = 0; i < StreamLength - 4; i++)
					if(strncmp((char*) &Stream[i], "\r\n\r\n", 4) == 0)
					{
						m_dwExtraLength = StreamLength - (i + 4);
						memcpy(m_pExtra, &Stream[i + 4], m_dwExtraLength);
					}

				return true;
			}
		}

		// Version 4
		else if(Data.Find(VERSION_4_CONNECT) != -1 && !m_pPrefs->m_Lan)
		{
			m_Handshake += "GNUTELLA CONNECT/0.4\r\n";

			Send_ConnectOK(false, false, false);
			SetConnected();

			return true;
		}
	}

	// Making an outbound connect
	else
	{
		if((m_pDoc->ModeVersion6 || m_pPrefs->m_NetworkModel == NETWORK_PRIVATE) && Data.Find("\r\n\r\n") != -1)
		{
			Handshake = Data.Mid(0, Data.Find("\r\n\r\n") + 4);
			m_Handshake += Handshake;

			// Ok string, GNUTELLA/0.6 200 OK\r\n
			if(Handshake.Find(" 200 OK\r\n") != -1)
			{

			// keep any BS off my screen
			if(Handshake.Find("BearShare") != -1) { Close(); return true; }


				// Check if remote host has our IP
				int ipPos = Handshake.Find("Remote-IP: ");
				if(ipPos != -1)
				{
					ipPos  += 11;
					int ipBack = Handshake.Find("\r\n", ipPos);

					m_pPrefs->m_LocalHost = StrtoIP( Handshake.Mid(ipPos, ipBack - ipPos));
				}


				if(m_pPrefs->m_NetworkModel == NETWORK_PRIVATE && m_pPrefs->m_Lan)
					if(Handshake.Find("LAN: " + m_pPrefs->m_LanName + "\r\n") == -1)
					{
						Close();
						return true;
					}

				Send_ConnectOK(true, true, false);

				SetConnected();
			}
			else
				Close();

			return true;
		}
		else if(Data.Find(VERSION_4_CONNECT_OK) != -1)
		{
			m_Handshake += "GNUTELLA OK\r\n";

			// Stream begins
			for(i = 0; i < StreamLength - 2; i++)
				if(strncmp((char*) &Stream[i], "\n\n", 2) == 0)
				{
					m_dwExtraLength = StreamLength - (i + 2);
					memcpy(m_pExtra, &Stream[i + 2], m_dwExtraLength);
				}

			SetConnected();

			return true;
		}
	}

	return false;
}
Reply With Quote
  #3 (permalink)  
Old March 12th, 2002
Unregistered
 

Posts: n/a
Default

For uploads, modify CGnuUpload::OnReceive in the file GnuUpload.cpp, two lines added for one header check, works for push or normal uploads.

Code:
void CGnuUpload::OnReceive(int nErrorCode)
{
	byte* pBuff = new byte[6000];

	DWORD dwBuffLength = Receive(pBuff, 4096);

	switch (dwBuffLength)
	{
	case 0:
		m_pShell->m_Error = "Bad Push";
		Close();
		delete [] pBuff;
		return;
		break;
	case SOCKET_ERROR:
		m_pShell->m_Error = "Bad Push";
		Close();
		delete [] pBuff;
		return;
		break;
	}

	pBuff[dwBuffLength] = 0;
	CString Header(pBuff);
	m_pShell->m_Handshake += Header;
	m_pShell->m_GetRequest += Header;

	// New Upload
	if(m_pShell->m_GetRequest.Find("\r\n\r\n") != -1)
	{
		CString Handshake = m_pShell->m_GetRequest;

		// keep any BS off my screen
		if(Handshake.Find("BearShare") != -1) Close();

		if(Handshake.Find("GET /get/") == 0)
		{
			// Get Node info
			CString Host;
			UINT    nPort;
			GetPeerName(Host, nPort);

			// Set Variables
			m_pShell->m_Host = StrtoIP(Host);
			m_pShell->m_Port = 0;

			m_pShell->VerifyFile(Handshake);
		}
		else
		{
			m_pShell->m_Error = "Bad Push";
			Close();
		}
	}

	delete [] pBuff;

	CAsyncSocket::OnReceive(nErrorCode);
}
Reply With Quote
  #4 (permalink)  
Old March 13th, 2002
theSelkie
 

Posts: n/a
Default

how stupid is that?
i mean maybe BS is a client for less advanced users etc. etc.
!!BUT!! all those users have files YOU want
why block em

and in addition to that you would be the person throwing the first stone (you know? thats from the bible) until now no one blocked a client from the network (as far as i know).
do you want to do that? be the first to block? and even worse use gnucleus for it? the bad image of the "blocker" might fall back on gnucleus....

what did vinne do to you?
Reply With Quote
  #5 (permalink)  
Old March 13th, 2002
Unregistered
 

Posts: n/a
Default

Where have you been? Vinnie cut off xolox and has moved toward a bearshare only network.
Reply With Quote
  #6 (permalink)  
Old March 14th, 2002
theSelkie
 

Posts: n/a
Default

uhm
he blocked xolox?
all i read was that IF he would block a client, xolox would be his first choice
but if he really blocks it, sorry
Reply With Quote
  #7 (permalink)  
Old March 14th, 2002
Gnubie
 

Join Date: June 8th, 2001
Posts: 39
Aeroe
Default

even though i hate BS and vinnie, starting a war between clients won't help anything.
basically the best damage would to recommend users to switch to gnucleus.


vinnie is all in it for profit (obviously), nothing wrong with that. but what he does ****es me off.
and yes he Did just recently block xolox. he seemed to have changed his mind awhile back while he weighed the option.
__________________
Reply With Quote
  #8 (permalink)  
Old March 14th, 2002
Senior Member
 

Join Date: September 21st, 2001
Posts: 111
gnutellafan
Default hypocrits

Ok, you hate BS because you think it block Xolox (well 2.5 will not work with 0.4 HSs, but BS doesnt stop ANY clients from uploading/downloading from it) so you want to block BS. Aint dat da sh*t.

BS only prefers to connect to other BS clients. It is still connected to the rest of the network. It is just better for BS users to be connected to eachother (as LW does) to take more advantage of features that BS has that other clients dont yet.

Since you know how to program why dont you be a bit more productive and help improve gnucleus and the network. It would be a much better route than working on destroying the network!

BTW, most of the people that upload from me are non-BS users

Last edited by gnutellafan : March 14th, 2002 at 03:02 PM.
Reply With Quote
  #9 (permalink)  
Old March 14th, 2002
Senior Member
 

Join Date: September 21st, 2001
Posts: 111
gnutellafan
Default

Xolox is dead people. LET IT GO!!! The only thing it had was multisource dl. That was great!! It forced all the other clients to finally add it. Now that they have it and xolox is no longer being developed let it go.

If someone can talk to the xolox programmers and get the source code that would be great. But until that time use a living client.
Reply With Quote
  #10 (permalink)  
Old March 14th, 2002
Senior Member
 

Join Date: September 21st, 2001
Posts: 111
gnutellafan
Default

I dont know anything about coding so you will have to tell me. Does your code prevent you from downloading from BS or are you just a LEECH?
Reply With Quote
  #11 (permalink)  
Old March 14th, 2002
theSelki
 

Posts: n/a
Default

i just tried bearshare2.5beta13 and i must say its amazing
there is ALOT of content i never discovered when using gnucleus/limewire/phex/whatever
AND it works! i click a file and it gets downloaded... BS finds more sources etc. and BS has hashes...

and most sources i find are BS, most clients in my "hosts" tab also... this scares me a little :/
will it become 2 networks? "bearshare" and "gnutella" ?

(i have already seen polls asking "what do you use: 1. edonkey 2. bearshare 3.gnutella ....)


if only bearshares user interface was a little more fitting for "pro"-users
i want "extended info"
Reply With Quote
  #12 (permalink)  
Old March 14th, 2002
Senior Member
 

Join Date: September 21st, 2001
Posts: 111
gnutellafan
Default

Vinnie has been "tweaking" the host cache to be sure that the networks remain connected. I dont remember the exact numbers but BS clients will clump together but maintain many connections to the rest of the network. All you need to do is look at the search results to see that results are coming from all over and thus the network is still connected. Blocking BS will only make the situation everyone here is complaining about worse.

For anyone that hates BS, try the latest beta (14 I believe). As soon as 2.5 goes public 3.0 code is ready for testing. This will introduce ultrapeers which will make the BS cluster very small, thus providing for even more connectivity to the rest of the network.

2.5 also introduces download meshes for finding more sources!! What a great feature.

Last edited by gnutellafan : March 14th, 2002 at 03:00 PM.
Reply With Quote
  #13 (permalink)  
Old March 14th, 2002
Junior Member
 

Join Date: November 22nd, 2001
Location: Germany
Posts: 7
Agnostic
Default

i think they really want to get 2.5 "final" ... that must be the third version for today
Reply With Quote
  #14 (permalink)  
Old March 15th, 2002
Unregistered
 

Posts: n/a
Default Re: hypocrits

Quote:
Originally posted by gnutellafan
Ok, you hate BS because you think it block Xolox
You don't get it
1. Vinnie wants to own his own little network, LET HIM!
2. I don't want to support his little network $$, that's why I don't use BearShare!
3. He makes $$ from his little network, greed doesn't belong on gnutella, see what the RIAA is doing via GREED!
4. Commercial interests will bow down to forces such as RIAA MPAA and you will get screwed in the end! Your privacy is at risk!
5. Vinnnie's attitude of total domination sucks, he needs to get a real job.
6. Commercial interests have now lost to a open source client and will do anything to regain their position as "#1", this is GREED at work! Watch out!
7. I like being part of the network, not some "outsider" looking in and like being able to connect WITHIN a network.

Do you like being a "outsider" ?
Reply With Quote
  #15 (permalink)  
Old March 15th, 2002
backmann's Avatar
Stranger
 

Join Date: November 29th, 2001
Location: Buenos Aires, Argentina
Posts: 869
backmann
Angry

I was using Gnotella and had to move to another GNet client because of BS. Enough siad.

Ivan
"In the dark we make a brighter light"
__________________
Gnutella Forums en Español!
Reply With Quote
Reply



Thread Tools
Display Modes

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

vB 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
Re: Re: Vinnie, You have no excuse Unregistered Site Feedback 0 July 6th, 2002 11:23 AM
Vinnie vs. Morgwen??? Morgwen General Gnutella / Gnutella Network Discussion 21 December 30th, 2001 06:22 AM
Vinnie kills Phex, mad as hell Unregistered Gnucleus (Windows) 0 July 16th, 2001 11:17 AM
*Vinnie... Unregistered Open Discussion 2 May 25th, 2001 11:09 AM


All times are GMT -7. The time now is 11:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2007 Gnutelliums LLC.
All Rights Reserved.