Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Host Connections (https://www.gnutellaforums.com/host-connections/)
-   -   some question about ultrapeer and leaf (https://www.gnutellaforums.com/host-connections/21534-some-question-about-ultrapeer-leaf.html)

ferret-2000 August 24th, 2003 07:48 AM

some question about ultrapeer and leaf
 
I use bearshare(it run in a leaf mode and i do not know how to change it to ultrapeer mode) as a servant.When i use my client connect to it,handshaking steps:

myclient send->
GNUTELLA CONNECT/0.6\r\n\r\n

bearshare respond->
GNUTELLA/0.6 200 OK
Machine: 1,8,158,1,467
Pong-Caching: 0.1
Hops-Flow: 1.0
Bye-Packet: 0.1
GGEP: 0.5
BearChat: 1.0
User-Agent: BearShare 4.2.7
Remote-IP: 192.168.0.1
X-Ultrapeer-Needed: False
FP-Auth-Challenge: TVFERS6F2N3RZUAOS63M3OWHBCS23D7I

myclient send ->
GNUTELLA/0.6 200 OK\r\nPrivate-Data: a04fce\r\n\r\n

i receive the ping message from bearshare as follow:

77 F1 CE 8D 5B 75 BC 7F 26 9F 2D AB AA 2A A7 26
00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 31 01 00 09 00 00 00 42 45
41 52 05 00 01 00 07

when i try to send ping message to it,no responds received.but it send ping message(just the same as the above one) constantly:
when i send a pong or search message to it ,it send follow message constantly:

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
31 01 00 09 00 00 00 42 45 41 52 05 00 01 00 07

my client is the most simple one,and i just want the bearshare act as a nomal servant(can share files,respond to the normal message,such as ping,query,etc.),so i can use my client to search and download,but i do not know how to realize this.
thanks!


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