Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > Mutella (Linux/Unix)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Mutella (Linux/Unix) Mutella has been discontinued. We highly recommend you use an actively developed client instead.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 10th, 2002
kokonauta
Guest
 
Posts: n/a
Default Development: Why must the port be greater than 1024?

In the file uiterminal.cpp in the function
bool MUITermPriv::com_open(char * arg)

there is a line that prevents you from trying to connect to a port smaller than 1024. Why?
""""""""""
if (nPort<1024)
nPort = 6346;
""""""""""

There are some servents running on ports smaller
than 1024.

Why not remove it?
Reply With Quote
  #2 (permalink)  
Old July 10th, 2002
Connoisseur
 
Join Date: March 4th, 2002
Location: Tennessee
Posts: 354
bobomon is flying high
Default

Quote:
Posted by kokonauta
There are some servents running on ports smaller than 1024. Why not remove it?
It is my understanding that ports below 1024 are 'reserved' for conventional applications... I suspect the port selected has more to do with not having a likely conflict with another application. Considering the proliferation of Gnutella clients... at this point it would not seem reasonable to change. -- But then again that's just my opinion
Reply With Quote
  #3 (permalink)  
Old July 10th, 2002
Mutella Developer
 
Join Date: January 30th, 2002
Location: Germany
Posts: 87
maksik is flying high
Default

Under decent operating systems port range 0-1024 is reserved for system services and protected by the security subsystem. But not under windows...

There is a historical reason foe this limitation. I can in principle remove it. Post a bug (it used to be a feature, but not anymore) on mutella.sf.net, otherwise I'll forget.

--Max
Reply With Quote
  #4 (permalink)  
Old July 10th, 2002
Joakim Agren's Avatar
Trouble Shooter
 
Join Date: June 4th, 2002
Location: Örebro Sweden
Posts: 366
Joakim Agren is flying high
Cool

Hello!

The purpose of the different ports is to assign each application its own communication port over a network without the risk of confrontation between different apps.Therefore your computer has almost 65000 virtual ports.To avoid confrontations the computer industry has standardised certain ports the so called 1024 ports (number 0-1023).Examples of these ports are 21(2121) for FTP 23(2323) for Telnet 25(2525) for SMTP-server 53(5353) for DNS 80(8080) for Webb and 665 to 669 for IRC.Gnutella already uses one of these 1024 ports namely 63(6346-6348).This means that every port between
0000 and 10231023 is standardised ports.However not every port number between those numbers are used by any app so today about 65000 virtual ports are beeing used by todays computers and their apps.

Notice!
In reality the ports are nothing more then a bit of programming code that tells which application each sended or recieved file belongs to.
__________________
<img src="http://www.jordysworld.de/emoticons/blob16.gif">Sincerely Joakim Agren!

Last edited by Joakim Agren; July 10th, 2002 at 08:01 AM.
Reply With Quote
  #5 (permalink)  
Old October 20th, 2002
Unregistered
Guest
 
Posts: n/a
Lightbulb Re: Development: Why must the port be greater than 1024?

Quote:
Originally posted by kokonauta
Why not remove it?
Ports below 1024 on Unix systems can only be bound to by the superuser. You would have to run mutella as root to access those ports.
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
Count of results found by search a greater value than the actual results displayed rrmetal Download/Upload Problems 1 January 17th, 2005 09:14 AM
Theme Development Kit TruStarwarrior New Feature Requests 0 December 11th, 2002 03:18 PM
Why does fasttracks "superpeer" technology provide greater connectivity? Unregistered LimeWire Beta Archives 1 January 12th, 2002 06:50 PM
Development Progress swabby Gnucleus (Windows) 11 May 31st, 2001 05:11 PM
newtella will not download i keep getting error 1024 brian schantz Newtella (Windows) 0 February 15th, 2001 11:45 AM


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