Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > GnucDNA Based Clients > Gnucleus (Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Gnucleus (Windows) For assistance for users with the Gnucleus program. Important links: Updated Gnucleus 2.2.0.0 Installer! and also Updated Connection Caches for Gnucleus!


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, fun aspects such as the image caption contest and play in the arcade, and access many other special features after your registration and email confirmation. Registration is fast, simple and absolutely free so please, join our community today! (click here) (Note: we use Yandex mail server so make sure yandex is not on your email filter or blocklist.)

If you have any problems with the Gnutella Forum registration process or your Gnutella Forum account login, please contact us (this is not for program use questions.) Your email address must be legitimate and verified before becoming a full member of the forums. Please be sure to disable any spam filters you may have for our website, so that email messages can reach you.
Note: Any other issue with registration, etc., send a Personal Message (PM) to one of the active Administrators: Lord of the Rings or Birdy.

Once registered but before posting, members MUST READ the FORUM RULES (click here) and members 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

If you are a Spammer click here.
This is not a business advertising forum, all member profiles with business advertising will be banned, all their posts removed. Spamming is illegal in many countries of the world. Guests and search engines cannot view member profiles.



           Deutsch?              Español?                  Français?                   Nederlands?
   Hilfe in Deutsch,   Ayuda en español,   Aide en français et LimeWire en françaisHulp in het Nederlands

Forum Rules

Support Forums

Before you post to one of the specific Client Help and Support Conferences in Gnutella Client Forums please look through other threads and Stickies that may answer your questions. Most problems are not new. The Search function is most useful. Also the red Stickies have answers to the most commonly asked questions. (over 90 percent).
If your problem is not resolved by a search of the forums, please take the next step and post in the appropriate forum. There are many members who will be glad to help.
If you are new to the world of file sharing please do not be shy! Everyone was ‘new’ when they first started.

When posting, please include details for:
Your Operating System ....... Your version of your Gnutella Client (* this is important for helping solve problems) ....... Your Internet connection (56K, Cable, DSL) ....... The exact error message, if one pops up
Any other relevant information that you think may help ....... Try to make your post descriptive, specific, and clear so members can quickly and efficiently help you. To aid helpers in solving download/upload problems, LimeWire and Frostwire users must specify whether they are downloading a torrent file or a file from the Gnutella network.
Members need to supply these details >>> System details - help us to help you (click on blue link)


Moderators

There are senior members on the forums who serve as Moderators. These volunteers keep the board organized and moving.
Moderators are authorized to: (in order of increasing severity)
Move posts to the correct forums. Many times, members post in the wrong forum. These off-topic posts may impede the normal operation of the forum.
Edit posts. Moderators will edit posts that are offensive or break any of the House Rules.
Delete posts. Posts that cannot be edited to comply with the House Rules will be deleted.
Restrict members. This is one of the last punishments before a member is banned. Restrictions may include placing all new posts in a moderation queue or temporarily banning the offender.
Ban members. The most severe punishment. Three or more moderators or administrators must agree to the ban for this action to occur. Banning is reserved for very severe offenses and members who, after many warnings, fail to comply with the House Rules. Banning is permanent. Bans cannot be removed by the moderators and probably won't be removed by the administration.


The Rules

1. Warez, copyright violation, or any other illegal activity may NOT be linked or expressed in any form. Topics discussing techniques for violating these laws and messages containing locations of web sites or other servers hosting illegal content will be silently removed. Multiple offenses will result in consequences. File names are not required to discuss your issues. If filenames are copyright then do not belong on these forums & will be edited out or post removed. Picture sample attachments in posts must not include copyright infringement.

2. Spamming and excessive advertising will not be tolerated. Commercial advertising is not allowed in any form, including using in signatures.

3. There will be no excessive use of profanity in any forum.

4. There will be no racial, ethnic, or gender based insults, or any other personal attacks.

5. Pictures may be attached to posts and signatures if they are not sexually explicit or offensive. Picture sample attachments in posts must not include copyright infringement.

6. Remember to post in the correct forum. Take your time to look at other threads and see where your post will go. If your post is placed in the wrong forum it will be moved by a moderator. There are specific Gnutella Client sections for LimeWire, Phex, FrostWire, BearShare, Gnucleus, Morpheus, and many more. Please choose the correct section for your problem.

7. If you see a post in the wrong forum or in violation of the House Rules, please contact a moderator via Private Message or the "Report this post to a moderator" link at the bottom of every post. Please do not respond directly to the member - a moderator will do what is required.

8. Any impersonation of a forum member in any mode of communication is strictly prohibited and will result in banning.

9. Multiple copies of the same post will not be tolerated. Post your question, comment, or complaint only once. There is no need to express yourself more than once. Duplicate posts will be deleted with little or no warning. Keep in mind a forum censor may temporarily automatically hold up your post, if you do not see your post, do not post again, it will be dealt with by a moderator within a reasonable time. Authors of multiple copies of same post may be dealt with by moderators within their discrete judgment at the time which may result in warning or infraction points, depending on severity as adjudged by the moderators online.

10. Posts should have descriptive topics. Vague titles such as "Help!", "Why?", and the like may not get enough attention to the contents.

11. Do not divulge anyone's personal information in the forum, not even your own. This includes e-mail addresses, IP addresses, age, house address, and any other distinguishing information. Don´t use eMail addresses in your nick. Reiterating, do not post your email address in posts. This is for your own protection.

12. Signatures may be used as long as they are not offensive or sexually explicit or used for commercial advertising. Commercial weblinks cannot be used under any circumstances and will result in an immediate ban.

13. Dual accounts are not allowed. Cannot explain this more simply. Attempts to set up dual accounts will most likely result in a banning of all forum accounts.

14. Video links may only be posted after you have a tally of two forum posts. Video link posting with less than a 2 post tally are considered as spam. Video link posting with less than a 2 post tally are considered as spam.

15. Failure to show that you have read the forum rules may result in forum rules breach infraction points or warnings awarded against you which may later total up to an automatic temporary or permanent ban. Supplying system details is a prerequisite in most cases, particularly with connection or installation issues.

Violation of any of these rules will bring consequences, determined on a case-by-case basis.


Thank You! Thanks for taking the time to read these forum guidelines. We hope your visit is helpful and mutually beneficial to the entire community.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 11th, 2002
gregX
Guest
 
Posts: n/a
Default LAN header programming question

someone explain the protocol for this LAN: header you have and how
private networks work with this, what are typical
set ups? does everyone just plug into a ethernet plug (what type) built into every dorm wall, turn on their
computer and do a dhcp from some central server
or do they have to be assigned a ip from
some admin thing? who decides what server
gets to be a dhcp, and can they just turn you off
if you use too much bandwidth? any ways around this?
do you have to log into some sort of proxy? how does that work? can I come there and plug in as a guest? library access? wireless?
details, details, thanks! (links?)
Reply With Quote
  #2 (permalink)  
Old February 11th, 2002
Gnucleus Developer
 
Join Date: May 29th, 2001
Location: Boston, MA
Posts: 110
swabby is flying high
Default

You and your friends all download the LAN version and run it. You'll see it create the private internal network automagically.
Reply With Quote
  #3 (permalink)  
Old February 11th, 2002
gregX
Guest
 
Posts: n/a
Default

I am not on a lan, that's why I am asking so many questions. I want to understand what a campus lan looks like. Does it use 192.168.??? addresses or what? what is this map thing?
Reply With Quote
  #4 (permalink)  
Old February 11th, 2002
Gnucleus Developer
 
Join Date: May 29th, 2001
Location: Boston, MA
Posts: 110
swabby is flying high
Default

A campus LAN structured just like the gnutella network over the internet, decentralized, pretty much randomly connected nodes. LAN mode isnt bounded to a specific IP range, clients idenetify themselves to others as being part of a certain private LAN and connect to each other. The 'map thing' creates an interpretation of where all the nodes are in the lan and how they are connected.
Reply With Quote
  #5 (permalink)  
Old February 12th, 2002
gregX
Guest
 
Posts: n/a
Default

I am trying to understand this, please read the comments below and it would help if you commented your code a little more in this section.

Code:
        if(m_pDoc->ModeVersion6 || m_pPrefs->m_NetworkModel == NETWORK_PRIVATE)
        {

// so m_pDoc->ModeNetwork is "GNUTELLA" or your
// private name "GUERILLA"?

                Handshake =  m_pDoc->ModeNetwork + " CONNECT/0.6\r\n";
                
                Handshake += "User-Agent: Gnucleus " + GnuVersion + "\r\n";

// why do people have to download a special version
// for LAN use when this seems to be a option
// in a prefs file?

// So the header for my campus would be say:
// LAN: NYcampus

                if(m_pPrefs->m_NetworkModel == NETWORK_PRIVATE && m_pPrefs->m_Lan)
                        Handshake += "LAN: " + m_pPrefs->m_LanName + "\r\n";

                //Handshake += "X-Ultrapeer: true\r\n";

                Handshake += "\r\n";
        }

// and here is where you look for a LAN name
// that matches yours

    // Connect string, GNUTELLA CONNECT/0.6\r\n
                        if(Handshake.Find(NetworkName + " CONNECT/") != -1)
                        {
                                if(m_pPrefs->m_NetworkModel == NETWORK_PRIVATE && m_pPrefs->m_Lan)
                                        if(Handshake.Find("LAN: " + m_pPrefs->m_LanName + "\r\n") == -1)
                                        {
                                                Close();
                                                return false;
                                        }

                                Send_ConnectOK(true, false, Guerilla);

                                return true;
                        }

// So who decides on the LAN name?
// What if there are two names? club beta and club alpha want their own!
// how do you kick start this?
// how do others find the network? port scans?

// The campus LAN can't use IP's that are for "outside"
// internet connections, so my question still stands
// as to what IP blocks a campus generally uses

// how do you prevent this from accessing the outside internet?

// This GURELLA thing, is your admin actually looking
// at each packet as it goes by and filtering it if
// it says GNUTELLA ? What a jerk!

// cant he just look for your little LAN: header and shut you down in a minute?

// did you try to go talk to the guy about all this?
// didn't you pay for the network with your fees?
// is there a problem actually using it?
// is it 100mbs?
// what about "after hours"? what would be wrong with that?
// anyone interested in a private wireless network there?
// could the admins screw that up too?
// where does school property end and your private life begin?

// why don't you make a program that watches for his name
// on the network, then quickly blasts
// the ethernet with crap for 50 us to cause
// a collision every time he tries to send / get
// mail. The guy is a jerk.

// you didn't say what type of LAN cable you get there.

// did the_gdf agree on the header format for "LAN:"?
// have you posted to the_gdf your specs for chat so they can be compatible?

// so can you please read my first message and answer some of the
// questions? I am trying to learn more about
// campus LANs

// please comment this stuff so people know what you are doing
// the below is some author private way of doing things
// right?
// I don't know why you can't do this in a prefs file so others can do this too
// (with a different name of course)
        if(Guerilla)
                NetworkName = "GUERILLA";

// where do people post patches and do/have you accepted them in the past?
// how do you create a patch that everyone can use?
someone somewhere mentioned that gnucleus was doing this campus LAN thing way before others, but now someone took credit like they did it. It mentioned "mapping" or something like that, I didn't understand what it meant.
Reply With Quote
  #6 (permalink)  
Old February 17th, 2002
Unregistered
Guest
 
Posts: n/a
Default

By: arspolitica ( Cameron )
Setting up a private network on a college LAN
2001-10-05 12:50
Currently I'm a first year student at UCLA. I know a bit about computers and networking, but I'm having difficulty setting up a filesharing
network on the lan. The reason I would really like to set one up is that UCLA has been having bandwith problems related to Nimda and
Code Red, and having been throtling bandwith and cutting off ports wherever they can. This includes very slow downloads from
Morpheus and an inability to connect to the Gnutella network.

The campus is so big, that a private gnutella network would be awesome, and I'm sure that I could get a number of nodes on the network.
I've been trying for a week now all the various gnutella clients trying to get a private network up and running but without any success.

Gnucleus appears to be the best gnutella client, and has built in options for a college network. Can someone lay out the basics of setting up
such a network, hopefully so that others at various colleges can use this as a resource should they decide to do the same.

-Thanks
Cameron


By: tman17m ( Tom Gored )
RE: Setting up a private network on a college LAN
2001-10-07 15:15
hey, ive had a similar idea, only im a student at OSU. yes, it would be so awsome becuse it would be fast and have many users...let
me know if you find anything out, i will too


By: russelharvey ( Russel Harvey )
Is there a 'server' software needed for this?
2001-10-07 23:25
Or the Gnucleus client software here can do it all?

Since the public Internet always have some servers for Gnucleus, in a private LAN network environment, would the Gnucleus
client that all needed?


By: theman2 ( Nick )
RE: Is there a 'server' software needed for this?
2001-10-08 00:35
server: a computer providing services for another computer (this is my definition)

any computer can be a server. I can load jgaa's war-ftpd and run an ftp server.

the gnutella protocal breaks the divide between client and server, with each node (computer connected to the gnutella
network) having the abilities of both. Thus, it does not need some special server software, or even really need dedicated
servers to run a gnutella network. A college lan running gnutella would benifit if it had at least one computer hardcoded into
the software that is always on. That way, the other computers could get addresses of other nodes from it and always end up
connecting to the main group of nodes. There is always the possibility with p2p like networks for groups of nodes to break
off from the main group and fragmenting into smaller groups, which is not a great thing if you want everyone to have access
to everyone else. A 'server' or two that guide the 'clients' in the right direction would allow for the private network to form
a large, unfragmented group of nodes, allowing for the best filesharing!

the only thing I wonder is how fast the gnutella software can send and recieve packets. I know from personal experience
that just searching for something common like .mp3 can max out the cpu with the results being sorted which causes search
results to be dropped and it can even slow down other downloads! If only they prioritized the results sorted to be lower than
everything else! If search results through dsl can faze gnucleus, what could a very large and fast private network do? Heh. I
think I am going to have to visit one of these campuses to check it out... but I better remember to bring my 80 gig drive to
make sure I can test it thurowly(sp?) enough =p


By: russelharvey ( Russel Harvey )
RE: Is there a 'server' software needed for this?
2001-10-10 03:56
I guess my question is, is there a 'server' edition of this gnucleus or the so called 'server' are just a bunch of gnucleus
which happen to run all the time and get hardcoded into it's program, so to be the first group of host to connect to.

Also, the UDP broadcast seems not to be the default behavior, how to switch to that mode if it's built in?


By: felixor ( Felix Ordelheide )
RE: Setting up a private network on a college LAN
2001-10-07 15:46
Hi Cameron,
i have built up an internal gnutella Net inside our dorm (800+ users with a LAN connection). currently we are peaking at 150
active nodes/ppl and 1 TB shared files(at about 21:00). Setting up a really private gnutella network takes some work and may only
be useful if you have a very specific Network structure.

A short description of our "setup":
Our dorm is "governed" by students we are independant from the university and the only thing we get from them is an uplink (100
Mbit Full Duplex) to the University Net / Internet. The university is mainly concerned about the internet traffic that is caused. Alot
of the internet traffic seemed to be large movies and mp3 files - that is why i decided to setup an internal gnutella net in our dorm
(where bandwidth is basically unlimited).


Our LAN is an 10/100 Mbit switched Ethernet Network with a 155 Mbit ATM Backbone (currently being upgraded to a Gigabit
backbone). We do not have public IP Adresses but instead a set of private ip ranges that are routed within the university/other
dorms/institutes.

There are a couple of modifications i made to the gnucleus sourcecode:

1. different "private" handshake hardcoded into the client

2. A different update server hardcoded into the client that points to an internal server which supplies updates / new versions

3. an internal irc server which is preconfigured in our modified gnucleus installation package

4. Filter lists that deny *.*.*.* and only allow our set of IPs used in the dorm (be careful to exclude NATs / www-proxies).

5. modifications to the upload code to prevent downloads from non authorized IPs

I do not know if the whole that i closed with 5. is still "open" in the new gnucleus releases. The problem is that gnucleus only
checks the IP-filter lists if somebody tries to connect as a node. It does (did?) not check the IP if an upload request is received. So
one stupid fool that connects a lousily configured Linux client like gnut into your internal net opens a giant hole thru which outsiders
can easily search / download.

Felix


By: arspolitica ( Cameron )
RE: Setting up a private network on a college
2001-10-08 22:48
Felix thanks for the help. I really like your setup, and the idea of making our own distribution is a good one. Until your post I
didn't realize the true value in keeping the network completely private, but it makes a lot of sense. I know a bit about
networking, but I'm hoping someone can help me get things configured correctly. For now I'm just experimenting with my
computer and my roomates.

The way IP addresses are assigned in our dorms are through DHCP. While my IP address could be dynamic it has been the
same since I've been keeeping track the past week or so. I've asked my friends in other dorms, and I've found that all the
dorms reside on a 169.232.*.* block of addresses.
Playing around with some computers on my floor, by denying the *.*.*.* range and allowing 169.232.*.* I can essentially set
up a private network. If I then went in and made some of your changes to the source I imagine the network would remain
private.

My questions are:
1) How does this setup look? Since I'm not using internal addresses, will a couple thousand students bring down the internet
if they all connect? Also do you think it can be secured?

2) What are the steps it takes to setup an update server? What about a pong server? I have a UCLA student website on my
dedicated server at Verio (my own little webhosting business) so could I point to students to gnucleus.mysite.com and have
them draw their nodes from there. Same goes for the update server.

Any other feedback or comments would be greatly appreciated. The demand to set this thing up is great, and I would really
like for it to work smoothly before spreading the word and adding nodes.

-Cameron


By: felixor ( Felix Ordelheide )
RE: Setting up a private network on a college
2001-10-11 04:02
Okay here are my 5$:
1) If you are concerned about bringing down the performance of you dorm network hardcode a speedlimit into the
clients. The downloading is what eats up bandwidth the network traffic itself is negligable.

2) Setup an http server with an directory to store the update files. Then just copy the filestructure from the
http://www.gnucleus.com fileserver...In the source redirect the update requests to your local server.


By: swabby ( John Marshall )
RE: Setting up a private network on a college LAN
2001-10-09 13:23
I've built in a UDP broadcast to be sent out by Gnucleus when it is in LAN mode.

What this should do is find other Gnucleus clients running and connect to them without even using a hard coded server cache.

It needs some testing, but I know in the latest 1.4.2 it is implemented and working. To see what its doing open the statistics window
and view the error tab.


By: arspolitica ( Cameron )
RE: Setting up a private network on a college LAN
2001-10-10 00:13
Swabby,

The UDP broadcast took a few minutes to get a connection, but it works. Thanks and keep up the good work.

Rather than try and explain to the masses how to set up Gnucleus, it will be easuier to create a custom "Gnuclanet" release.


The following is what I plan to do to the default release.
1) Remove the default host servers
2) Hard code the IP filter to deny *.*.*.*
3) Hard code the update server to Gnuclanet's
4) Setup a prvate handshake

In regards to #4, how would you recommend doing this. In the options -> network tab, you can specify a private LAN
name. I've also heard of changing the handshake. Which should I use, or are these two methods one in the same?

Down the road I would also like to set up an IRC server, but for now I just want to set up the network. Any suggestions or
problems seen in my strategy?

Thanks again for all the help,
Cameron


By: swabby ( John Marshall )
RE:Setting up a private network on a college LAN
2001-10-10 03:12
My college actually filters gnutella connections to the internet by analyzing the connect string, its very tricky but I've gotten by it.

Yes I am creating a lan specific version of gnucleus and the connect string will be different. I want to deploy it at my college too.
The UDP works, which is good. It seems kind of flaky to me still for some reason, maybe I should send duplicat UDP packets for
assurance?


By: eagletm ( Gregor Lawatscheck )
RE: Setting up a private network on a college LAN
2001-10-10 15:04
Just like Felix I've modified some parts of Gnucleus for a uni network. It checks for IPs before uploading by connection and
pushing and uses port 80 with the Internet Explorer 5.05 User-Agent connect string (hehe). Works quite well...

If anyone is interested in getting code to do the same I can supply some.
Basic modifications in GnuSock.cpp (incoming connects), GnuNode.cpp (pushing) and GnucleusDoc.cpp (own checking function
for IPs to be called in gnusock and gnunode)



------------

UPD Broadcast Problems

blackwidow - 1-15-2002 at 11:19 PM

Let me get this straight...a client only sends a UDP broadcast when it first opens?

Here's the problem, our private gnutella network is up to 85 users and all of them are happily connect with the minimum of 3 connections filled. client A opens and sends out a
UDP broadcast, but all 85 clients are silent because they are happy as is.

see the problem here? client A has no way of finding any other clients and getting onto the network. more so, client B opens and sends UDP broadcast. client A gets the
message and connects to B, making a _separate_ network of 2 users.

what's the solution?!? what if every client sent out a UDP broadcast every 10 seconds so that new clients would find someone. any other ideas, and how do I implement this?


swabby - 1-16-2002 at 04:20 AM

UDP broadcasts in the LAN version are always replied to even if the node is very happy.


blackwidow - 1-17-2002 at 06:49 AM

strange, because I've been having trouble with new nodes not connecting to the network. there is a possibility I may have crippled the udp ping feature while hard-coding
the program to work only on the luthershare network.

I guess I'll wait for the next version to come out and be a little more carful with my altercations. for now I just send an automatic 'open' notice to the #gnutella/cache
whenever someone joins the channel. that will work untill the server gets shut down.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help, PHP programming needed for this forum Unregistered Morpheus (Windows) 2 April 2nd, 2008 07:22 PM
gyk programming pantera Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 0 June 9th, 2004 06:04 AM
info on programming deepblue General Gnutella Development Discussion 11 September 13th, 2003 08:25 PM
Please help, PHP programming needed for this forum Unregistered Rants 0 July 4th, 2002 05:57 AM
OT: Programming Jobs fireforce General Gnutella Development Discussion 6 June 25th, 2002 05:32 AM


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