Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-07-2006, 12:08 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 2
Rep:
|
first 1024 ports blocked for normal user
I am using archlinux and i am unable to use azureus because the first 1024 ports are blocked for normal user. My isp blocks all other ports except a few in the first 1024(20,21,22,81 etc) so i can't use any other port. i installed firestarter and unblocked port 81 but no effect for non-root user. i get permisson denied when i do the firewall test but everything works fine as root. also when i test another port beyond 1024 i get the nat error and not the permission denied error. A firewall test(shields up) shows that every port except 81 is stealthed as it should be. I have no idea what's wrong.
|
|
|
05-07-2006, 03:13 AM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
The first 1024 ports on any *nix system are considered privileged and only the superuser can bind to them. I thought that there was a sysctl somewhere that could change this, but grepping around I don't see it right off. However, this article gives some other ideas to work around this which you might be interested in. Using iptables to redirect incoming port 81 to some other port looks like a good solution. I would not run azureus as root through sudo, unless there's some way it can be made to drop privileges after it has bound to the port.
|
|
|
05-07-2006, 03:28 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If you use a NAT router, you may be able to translate the port in the routers setup. It may be referred to in the router setup as port triggering.
|
|
|
05-07-2006, 07:45 AM
|
#4
|
LQ Newbie
Registered: May 2006
Posts: 2
Original Poster
Rep:
|
I just figured that port 5000 and 6000 are opened by my isp, so i am using those.
|
|
|
All times are GMT -5. The time now is 05:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|