Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Host Connections (https://www.gnutellaforums.com/host-connections/)
-   -   New Trick To Make BearShare Connect To Gnutella! (https://www.gnutellaforums.com/host-connections/100749-new-trick-make-bearshare-connect-gnutella.html)

File_Girl71 July 29th, 2012 11:47 AM

New Trick To Make BearShare Connect To Gnutella!
 
I have the same problem as many users is haunted by because of BearShare is not connecting to Gnutella network no matter what I do...I know 100% my BearShare is not firewalled, so her I have to think new and figure out a better way then only change the connect.txt file in hope to finally get connected! The BearShare 5.1.0b25 has a forced Ultrapeer function to use which other BearShare versions do not have. I know when BearShare hit Ultrapeer mode it connects to the Gnutella network no matter what, and I started to think is it possible to push other BearShare versions to Ultrapeer mode and get connected to Gnutella network instead of get frustrated by never ever get connected.. I have found a very simple solution to do and kick any BearShare from 4.7.3.2 to 5.2.5.9 into Ultrapeer mode, and here is how!!!

Before you can use the Ultrapeer mode trick below, you must be sure you are not "FIREWALLED" and the "connect.txt" in db folder located by default C:\Program Files\BearShare\db is not to old. Replase it if it is... You will find a new one here if needed: BearShare Connect Fix installer

1.) If BearShare is runnig and trying to get connected and not do so, just exit BearShare so it shuts down completely...

2.) Locate the BearShare installation folder which is by default C:\Program Files\BearShare, and find this file here: FreePeers.ini

3.) Open FreePeers.ini file with any txt editor you like to use like Notepad/Notpad ++.

4.) Find this section [FirewallLogic] in the FreePeers.ini and it should look like the code below:

Code:


[FirewallLogic]
bTcpNFW = Yes ; yes if Tcp non-firewalled.
TcpIP = 10.0.0.1 ; Tcp IP.
bUdpNFW = No ; yes if Udp non-firewalled.
bUdpSolNFW = No ; yes if Udp solicited non-firewalled.
UdpIP =  ; Udp IP.
UdpPort = 6348 ; Udp port.

5.) And change this line from (No): bUdpNFW = No ; yes if Udp non-firewalled.

to (Yes): bUdpNFW = Yes ; yes if Udp non-firewalled.

And copy the Tcpip and add it to Udpip, and the changed code will look like this:

Code:


[FirewallLogic]
bTcpNFW = Yes ; yes if Tcp non-firewalled.
TcpIP = 10.0.0.1 ; Tcp IP.
bUdpNFW = Yes ; yes if Udp non-firewalled.
bUdpSolNFW = No ; yes if Udp solicited non-firewalled.
UdpIP = 10.0.0.1 ; Udp IP.
UdpPort = 6348 ; Udp port.

So move on to the next step...

6.) Find this section [HostLogic] in the FreePeers.ini and it should look like the code below:

Code:


[HostLogic]
modeAutoConnect = Yes ; Automatically establish connections
modeAccept = Yes ; Accept incoming connections
m_bEverUltrapeerCapable = No ; Has client ever been an Ultrapeer
m_everUPExpire = 0xD8822D18B315E440 ; EverUltrapeer expiration date

7.) And change this line from (No): m_bEverUltrapeerCapable = No ; Has client ever been an Ultrapeer

to (Yes): m_bEverUltrapeerCapable = Yes ; Has client ever been an Ultrapeer

And the changed code will look like this:

Code:


[HostLogic]
modeAutoConnect = Yes ; Automatically establish connections
modeAccept = Yes ; Accept incoming connections
m_bEverUltrapeerCapable = Yes ; Has client ever been an Ultrapeer
m_everUPExpire = 0xD8822D18B315E440 ; EverUltrapeer expiration date

8.) Save the changes in the FreePeers.ini file, and fire up BearShare and wait a few sec and it will Kick in to Ultrapeer mode and finally get connected...

Edit by LOTR: Also check post #13 about UP expiry date here if BearShare has not been used for a month or longer.

BearShare August 5th, 2012 03:25 PM

I was always thinking there would be a way to force ultrapeer but never knew how!
:) But, I tried your trick, everytime I change "No" to "Yes" and open BearShare it changes automatically to "No" again and it never gets forced to Ultrapeer Mode, any suggestions? :)

Lord of the Rings August 5th, 2012 08:46 PM

Which version of BearShare are you using may I ask?

Past couple days, I've again tried experimenting with using BS 5.2.6 Pro (k), as usual struggles to make any connections. 15-35 mins may connect to one bs host, at most 2. But we all know those (k) versions of 5.2 do not connect or connect well. At that rate, BS 5.1 beta beats it hands down. I suspect probably the only persons using BS Pro who are regularly using it were original users of the program.

I'm not sure what the improvements of 5.2 were supposed to be, other than UPnP support, I doubt there was any dramatic improvements, also considering the developer was already working on ways to infest the program with external control.
Quote:

Originally Posted by AaronWalkhouse (Post 193742)
"Cracked" BearShare Pro:
At best, not worth your time because the beta listed above gives you better control and the download maximums are the same or better. At worst, one of the cracked versions was improperly packaged with an old freepeers.ini file with the GUID 69D4F5C2D934FBEC6FC6CB06BDD32D29. Having a non-unique GUID breaks push downloads, causing what amounts to a DDOS against anybody with the defective software who happen to be firewalled and also against anybody who tries to download any file hosted by them. All firewalled users with this GUID are being blocked from the network in
the Fullsize Hostiles List and the gnutella templist hosted by Bluetack. If you were wondering why your cracked Pro was performing so badly even as at kept your bandwidth maxed out all the time, now you know.

Lovely, they added the (k) version to the BS Block list, AaronWalkhouse was so thoughtful, such a kind person. Especially since he had so much control over the block list.

BearShare August 5th, 2012 09:22 PM

I use 5.0.2 Pro

Lord of the Rings August 6th, 2012 06:02 PM

There is also the hosts section for forced ultrapeer:
Code:

[Hosts]
...
bForcedUltrapeer = Yes ; Forced Ultrapeer mode

The [Hosts] section is about 10 or more paragraphs before [HostLogic].

BearShare August 7th, 2012 07:09 AM

Quote:

Originally Posted by Lord of the Rings (Post 369149)
There is also the hosts section for forced ultrapeer:
Code:

[Hosts]
...
bForcedUltrapeer = Yes ; Forced Ultrapeer mode

The [Hosts] section is about 10 or more paragraphs before [HostLogic].

Thanks LOTR, please send me the whole section [Hosts], because in my Pro version the "
bForcedUltrapeer = Yes ; Forced Ultrapeer mode" is not included originally in the file.

BearShare January 19th, 2013 04:26 AM

It Works!
:xirokrotima:

Dbxl February 23rd, 2013 04:29 PM

bForcedUltrapeer
 
BearShare....can you or LOTR please share the [Hosts] section that has the bForcedUltrapeer within it. I too am running the 5.0.2 Pro version but can't get it to connect.

Thanks

Lord of the Rings February 23rd, 2013 10:20 PM

In retrospect, I am not sure the forced ultrapeer option is applicable to the Pro or standard version. I suspect it might only have been intended for testing with the beta. I will send you what i have anyway.

BearShare February 24th, 2013 04:08 AM

[Hosts]
bUseDefaultServiceProvider = Yes ; always try public.bearshare.net first
bNeverBecomeUltrapeer = No ; never become an ultrapeer
bForwardPublicQueriesToLAN = Yes ; Forward public queries to local LAN via multicast
bNativeCompletionPorts = No ; Use native completion ports for socket I/O
connectTimeout = 10 ; max seconds for connect
handshakeTimeout = 10 ; max seconds for handshake completion
msgTimeout = 10 ; max seconds to receive message
tempTimeout = 5 ; max seconds for temp to send a ping
hostMinorTimeout = 3 ; display time for minor errors
hostMajorTimeout = 10 ; display time for major errors
szAuthUserAgent = "" ; Authorized User Agent
szRejectUserAgent = "" ; Reject User Agent

You have to get an open port on your router to get BS connect.


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