Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd October 2007, 04:52 AM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
How to let an application use a low port number? (53)

I want to use 53 for my torrent client so that I can avoid the campus firewall (it is the only port on the network that has no packet shaping).

I opened it in System->Administration->Firewall but I still get

Quote:
terminate called after throwing an instance of 'asio::system_error'
what(): Permission denied
when I try to set it in my torrent program (deluge).


I know I could use netcat... but is there any way to let my client use that port without running another program?
Reply With Quote
  #2  
Old 23rd October 2007, 12:22 PM
benjo's Avatar
benjo Offline
Registered User
 
Join Date: Nov 2006
Location: Melbourne
Posts: 76
Quote:
Originally Posted by Dunhausen
I want to use 53 for my torrent client so that I can avoid the campus firewall (it is the only port on the network that has no packet shaping).
Can i just ask what's probably a really stoopid Q (i dont want to hijack your thread tho), but how did you manage to get this information? I would love to know what ports are open at my campus.
__________________
Ej-oo-kay-shun 4 all not just the rich.</microsoft>
Fedora8. P4, Gigabyte LGA775, nVidia FX 5200
Fedora8. HP DV2000, Centrino DUO, nVidia FX7200
Fedora8. Dell OptiPlex 755, ATI Radeon HD 2400 XT

Last edited by benjo; 23rd October 2007 at 12:25 PM.
Reply With Quote
  #3  
Old 23rd October 2007, 12:32 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Only programs running as root can open ports numbered <1024. Additionally, you probably must change SELinux settings to allow deluge to use the port reserved for BIND.
Reply With Quote
  #4  
Old 23rd October 2007, 02:21 PM
Iron_Mike's Avatar
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
How are you going to use use port 53 when they are tagged for DNS lookups????
Reply With Quote
  #5  
Old 23rd October 2007, 03:43 PM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
Quote:
Originally Posted by benjo
Can i just ask what's probably a really stoopid Q (i dont want to hijack your thread tho), but how did you manage to get this information? I would love to know what ports are open at my campus.
I found out by word of mouth, but you should be able to use nmap. Invoke it only with the paranoid timing policy, though.

Quote:
Originally Posted by markkuk
Only programs running as root can open ports numbered <1024. Additionally, you probably must change SELinux settings to allow deluge to use the port reserved for BIND.
Ah, thank you. SELinux is disabled; I had thought that might be the case for the low-numbered ports but then the program also crashes when run as root. Isn't there some way to give a program root privileges but still let regular users invoke it? Perhaps I can trick the program into starting by using sudo. (yes, I am very security conscious )

Quote:
Originally Posted by Iron_Mike
How are you going to use use port 53 when they are tagged for DNS lookups????
Port numbers are only convention, yes? I have set up port forwarding to remote servers using other silly ports before. This is a bit trickier, though, or seems to be.

On Windows it is no big deal to use the low numbered ports since windows doesn't care about security, and on that having utorrent run on 53 works great... I get line-speed for the downloads.
Reply With Quote
  #6  
Old 24th October 2007, 03:18 AM
Iron_Mike's Avatar
Iron_Mike Online
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
Try any other ports greater than port 1024 and go from there.....But if you're trying to mask p2p or some other file sharing, good luck......

Last edited by Iron_Mike; 24th October 2007 at 03:20 AM.
Reply With Quote
Reply

Tags
application, low, number, port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Port Number Coruba67 Using Fedora 0 14th February 2007 03:00 AM
VNC port number hurl380 Using Fedora 1 31st March 2006 02:30 PM
How to know the port number and host number? gube Hardware & Laptops 3 21st November 2005 05:48 PM
port number? Linox Servers & Networking 2 7th October 2005 04:22 PM


Current GMT-time: 23:47 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat