Phex Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read

General Discussion For anything which doesn't fit somewhere else


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!

If you have any problems with the registration process or your account login, please contact contact us.



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 22nd, 2008
Member
 

Join Date: February 5th, 2007
Posts: 47
dddkkk is on a distinguished road
Default Incoming searches in traffic capture?

Im capturing Gnutella network traffic sent to my laptop using Wireshark Network Analyzer (Seemed like a fun thing to do on a Friday night while drinking a beer)

I can see the incoming searches in the "Search Monitor" in plain text, however when I try to locate those packets in the network analyzer, I cant identify them. I think they are UDP?

I know the Gnutella syn packet headers are in plain text. How can I identify the incoming search packets? Is there a way that they are human readable?

Dave
Reply With Quote
  #2 (permalink)  
Old February 23rd, 2008
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default

Connection traffic is usually compressed. Add the following to your phexCorePrefs.properties file:

Connection.AcceptDeflateConnection = false
__________________
Reply With Quote
  #3 (permalink)  
Old February 23rd, 2008
Member
 

Join Date: February 5th, 2007
Posts: 47
dddkkk is on a distinguished road
Default

Well..that did work. Could you elaborate a little on what that did to make incoming data plain text at the NIC?

Also...in the Search Monitor,...is the "routed from" ip address the actual host conducting the seacrh, or just the last hop it took? I dont see any additional IP addresses in the data.
Reply With Quote
  #4 (permalink)  
Old February 23rd, 2008
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default

Quote:
Originally Posted by dddkkk View Post
Well..that did work. Could you elaborate a little on what that did to make incoming data plain text at the NIC?
Gnutella network traffic can be deflated using zlib, this is negotiated during the handshake. With this option you turn this feature off.
SourceForge.net Repository - [phex] View of /phex/trunk/docs/Gnutella/proposals/GNET compression.txt

Quote:
Originally Posted by dddkkk View Post
Also...in the Search Monitor,...is the "routed from" ip address the actual host conducting the seacrh, or just the last hop it took? I dont see any additional IP addresses in the data.
It only shows the IP of the last hop. The IP of the host conducting the search is not part of the standard query protocol.
__________________
Reply With Quote
  #5 (permalink)  
Old February 24th, 2008
Member
 

Join Date: February 5th, 2007
Posts: 47
dddkkk is on a distinguished road
Default

I was under the impression that each time a search term query took a hop, it would say something like "who has this search...tell 192.168.1.1 (original host)"

If the searching host ip address isnt sent along with the data, how does the host with the matching files three hops away know who is asking?
Reply With Quote
  #6 (permalink)  
Old February 25th, 2008
arne_bab's Avatar
Draketo, small dragon.
 

Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,491
arne_bab is on a distinguished road
Default

The results gets sent back along the chain.

That's why it suffices to get the connection to your Ultrapeers through your firewalls to be able to search. Sadly it doesn't work as well for downloads (passing them along the chain would kill the network - instead a non-firewalled third party is used to route the downloads (Push Proxy).

This is different for OOB results (out of band) as far as I know.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
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


All times are GMT -7. The time now is 08:41 AM.


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.