|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
gtk-gnutella-devel Digest, Vol 26, Issue 2Send gtk-gnutella-devel mailing list submissions to
gtk-gnutella-devel@... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel or, via email, send a message with subject or body 'help' to gtk-gnutella-devel-request@... You can reach the person managing the list at gtk-gnutella-devel-owner@... When replying, please edit your Subject line so it is more specific than "Re: Contents of gtk-gnutella-devel digest..." Today's Topics: 1. Re: Starting out with gtk-gnutella development (Alex) 2. Re: Starting out with gtk-gnutella development (Christian Biere) 3. Re: Starting out with gtk-gnutella development (Raphael Manfredi) 4. update: Starting gtk-gnutella development ; was MODERATE -- robbie_syd_au@... posted to the_gdf (Arne Babenhauserheide) 5. Library or header files might be missing. (Doug Bunger) 6. Re: Library or header files might be missing. (Christian Biere) ---------------------------------------------------------------------- Message: 1 Date: Tue, 11 Nov 2008 11:32:52 +0100 From: Alex <alex@...> Subject: Re: [gtk-gnutella-devel] Starting out with gtk-gnutella development To: gtk-gnutella-devel@... Message-ID: <20081111103252.GS19849@...> Content-Type: text/plain; charset=us-ascii On Tue, Nov 11, 2008 at 06:11:44PM +1100, Robbie wrote: > Whats the difference between a gnutella header and a gnutella message? > Is there any? > > If there is, how is http involved? Is it just used for connecting, uploading > and downloading or is it used for > everything else as well? HTTP is used for file upload/download. All the search propagation/network stuff is handled by the Gnutella protocol messages. I suggest you read up on the protocol first: http://wiki.limewire.org/index.php?title=GDF > > Whats a safe, harmless header/message (both a header and message if theyre > different) that I can send at any time in an existing gnutella connection, > to a gnutella servent so that I can test my header/message sending > abilities? Im going to connect with gtk-gnutella and have its source code > send the header/message to the node. I suggest you best option is to run a mini-network of white listed servants before you start letting messages out into the wild. Other clients may well start banning your IP address > > I have found the gnutella_node object as well as the gnutella_socket, and I > can get a file descriptor for that > socket. I tried to send() an X-Alt header in ascii text (as defined in the > huge specification) to the file descriptor and the remote host disconnected > me (I was assuming that might be a safe header to send). > > Anybody know where the function in gnutella is to send a header object or do > you just manually write to the socket's file descriptor? gtk-gnutella doesnt > have much documentation. > > Regards, > Robbie > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gtk-gnutella-devel mailing list > gtk-gnutella-devel@... > https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel -- Alex, homepage: http://www.bennee.com/~alex/ Paradise is exactly like where you are right now ... only much, much better. -- Laurie Anderson ------------------------------ Message: 2 Date: Tue, 11 Nov 2008 19:47:09 +0100 From: Christian Biere <christianbiere@...> Subject: Re: [gtk-gnutella-devel] Starting out with gtk-gnutella development To: gtk-gnutella-devel@... Message-ID: <20081111184709.GB19972@...> Content-Type: text/plain; charset=utf-8 Robbie wrote: > Whats the difference between a gnutella header and a gnutella message? > Is there any? The gnutella header is the first 23 bytes of a gnutella message. Gnutella headers have nothing to do with HTTP headers. > If there is, how is http involved? Is it just used for connecting, uploading > and downloading or is it used for everything else as well? HTTP is only used for file transfers. The peer-to-peer procotol used by Gnutella isn't HTTP, only the initial handshake looks remotely like HTTP. Afterwards it's packet-based. > Whats a safe, harmless header/message (both a header and message if theyre > different) that I can send at any time in an existing gnutella connection, > to a gnutella servent so that I can test my header/message sending > abilities? You can create custom vendor messages. > Im going to connect with gtk-gnutella and have its source code > send the header/message to the node. > > I have found the gnutella_node object as well as the gnutella_socket, and I > can get a file descriptor for that socket. > I tried to send() an X-Alt header in ascii text (as defined in the > huge specification) to the file descriptor and the remote host disconnected > me (I was assuming that might be a safe header to send). send() isn't used at all anywhere in gtk-gnutella. That's several layers too low. A gnutella_node is a peer-to-peer connection and no upload or download connection. You don't send X-Alt headers to peers. If you want to send specific alternate locations you're better of modifying dmesh_fill_alternate() or dmesh_alternate_location(). -- Christian ------------------------------ Message: 3 Date: Tue, 11 Nov 2008 18:26:09 +0000 (UTC) From: Raphael_Manfredi@... (Raphael Manfredi) Subject: Re: [gtk-gnutella-devel] Starting out with gtk-gnutella development To: gtk-gnutella-devel@... Message-ID: <gfcio1$is4$1@...> Content-Type: text/plain; charset="iso-8859-1" Quoting Robbie <robbiesyd@...> from ml.softs.gtk-gnutella.devel: :Anybody know where the function in gnutella is to send a header object or do :you just manually write to the socket's file descriptor? gtk-gnutella doesnt :have much documentation. What are you trying to achieve? Which "header object" do you want to send? Raphael ------------------------------ Message: 4 Date: Tue, 11 Nov 2008 14:50:01 +0100 From: Arne Babenhauserheide <arne_bab@...> Subject: [gtk-gnutella-devel] update: Starting gtk-gnutella development ; was MODERATE -- robbie_syd_au@... posted to the_gdf To: gtk-gnutella-devel@... Cc: robbie_syd_au@... Message-ID: <200811111450.06614.arne_bab@...> Content-Type: text/plain; charset="iso-8859-1" I caught this message in the moderating queue of the_gdf, and I think it belongs here: ------------------------------------------------------- FROM: robbie_syd_au@... DATE: Tue, 11 Nov 2008 11:41:09 -0000 SUBJECT: update: Starting gtk-gnutella development Ive found the function that creates and sends a qhit message. (im presuming theirs functions to send other messages). Now how do I send a header? Should I just create a string and then send() it to the socket file descriptor raw, or should I use the header_fmt functions? How do you send a header made by the header_fmt functions to a connected node? Regards, -AussieGuy ------------------------------------------------------- PS: AussieGuy: Please register to the gtk-gnutella-devel list: - https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel/ Best wishes, Arne -- -- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :) -- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the history of free software. -- Ein W?rfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln. -- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt ------------------------------ Message: 5 Date: Wed, 12 Nov 2008 08:48:08 -0800 (PST) From: Doug Bunger <dougbunger@...> Subject: [gtk-gnutella-devel] Library or header files might be missing. To: gtk-gnutella-devel@... Message-ID: <503462.33668.qm@...> Content-Type: text/plain; charset="iso-8859-1" Cannot compile under Fedora 8.? Packages for glib, glib-devel, glibc, glibc-devel, gtk+, and gtk+-devel are loaded.? Suggestions? Checking how we can gather information about GLib... You've got problems!? Do you have GLib installed? *** WARNING: *** Cannot compile against GLib version '' *** Checking how we can gather information about GTK+... You've got problems!? Do you have GTK+ installed? *** WARNING: *** you asked for GTK+ 2, I found *** *** WARNING: *** Cannot compile against Gtk+ version '' *** <snip> *** WHOA THERE!!! *** ??? The default value for $result on this machine was "define"! ??? Keep the default value? [y] Feature Summary (Version 0.96.6u): ------------------------------------------------- GLib version?????????????????????? : glib-2.x GUI front-end????????????????????? : GTK2 GNU TLS support??????????????????? : no IPv6 support?????????????????????? : yes NLS (Native Language Support)????? : yes Fast assertions??????????????????? : yes DBus support (experimental)??????? : no Remote Shell Interface (deprecated): no ------------------------------------------------- ERROR: Cannot compile against GLib. Library or header files might be missing. ERROR: Cannot compile against Gtk+. Library or header files might be missing. -- Doug Bunger -- dougbunger@... -- -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Mon, 17 Nov 2008 12:20:42 +0100 From: Christian Biere <christianbiere@...> Subject: Re: [gtk-gnutella-devel] Library or header files might be missing. To: gtk-gnutella-devel@... Message-ID: <20081117112041.GB19853@...> Content-Type: text/plain; charset=utf-8 Doug Bunger wrote: > Cannot compile under Fedora 8.? Packages for glib, glib-devel, glibc, > glibc-devel, gtk+, and gtk+-devel are loaded.? Suggestions? You have to install at least these packages: gnutls-devel glib2-devel gtk2-devel libxml2-devel -- Christian ------------------------------ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------ _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@... https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel End of gtk-gnutella-devel Digest, Vol 26, Issue 2 ************************************************* |
| Free embeddable forum powered by Nabble | Forum Help |