BearShare Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > BearShare (Windows) > Host Connections
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Host Connections Discussions related to host connections for BearShare users. Problems connecting? See A technique for connecting with BearShare


Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 29th, 2012
Moderator
 
Join Date: October 10th, 2008
Location: Some place in Norway!
Posts: 234
File_Girl71 has a reputation beyond reputeFile_Girl71 has a reputation beyond repute
Arrow flashing moving 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.
__________________
Just Good enough, smart enough, and no longer Elite...

Last edited by File_Girl71; November 8th, 2012 at 12:17 PM.
Reply With Quote
  #2 (permalink)  
Old August 5th, 2012
BearShare's Avatar
Pro
 
Join Date: March 17th, 2011
Location: Egypt
Posts: 19
BearShare has a spectacular aura about
Default

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?
Reply With Quote
  #3 (permalink)  
Old August 5th, 2012
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 663
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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 View Post
"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.
Reply With Quote
  #4 (permalink)  
Old August 5th, 2012
BearShare's Avatar
Pro
 
Join Date: March 17th, 2011
Location: Egypt
Posts: 19
BearShare has a spectacular aura about
Default

I use 5.0.2 Pro
Reply With Quote
  #5 (permalink)  
Old August 6th, 2012
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 663
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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].
Reply With Quote
  #6 (permalink)  
Old August 7th, 2012
BearShare's Avatar
Pro
 
Join Date: March 17th, 2011
Location: Egypt
Posts: 19
BearShare has a spectacular aura about
Default

Quote:
Originally Posted by Lord of the Rings View Post
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.
Reply With Quote
  #7 (permalink)  
Old January 19th, 2013
BearShare's Avatar
Pro
 
Join Date: March 17th, 2011
Location: Egypt
Posts: 19
BearShare has a spectacular aura about
Default

It Works!
Reply With Quote
  #8 (permalink)  
Old February 23rd, 2013
Novicius
 
Join Date: February 23rd, 2013
Posts: 1
Dbxl is a great assister to others; your light through the dark tunnel
Default 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
Reply With Quote
  #9 (permalink)  
Old February 23rd, 2013
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 663
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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.
Reply With Quote
  #10 (permalink)  
Old February 24th, 2013
BearShare's Avatar
Pro
 
Join Date: March 17th, 2011
Location: Egypt
Posts: 19
BearShare has a spectacular aura about
Default

[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.
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


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/host-connections/100749-new-trick-make-bearshare-connect-gnutella.html
Posted By For Type Date
Ultrapeer - online conversations | BoardReader This thread Refback May 13th, 2014 06:01 PM
Site Gnutella Forums | www.gnutellaforums.com | BoardReader This thread Refback May 7th, 2014 04:40 PM


All times are GMT -7. The time now is 08:01 PM.


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.