aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: LowID as regular user  (Read 2703 times)

kappy

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
LowID as regular user
« on: June 11, 2005, 03:51:17 AM »

Hi,

I've installed aMule 2.0.2 in my FC3 with no problems, but i can only connect with high-Id as root.

If i connect as a normal user I get LowID in any server.

I use the default ports, 4662 TCP, 4665 UDP and 4672 UDP, all forwarded in the NAT.

iptables is empty.

Am I missing somethig?

Thnkx
Logged

romanua

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: LowID as regular user
« Reply #1 on: December 11, 2007, 04:08:27 AM »

Hi  I have the same problem under Ubuntu. When I run aMule as root (sudo aMule )  it  receives high id and the port testing  reports open ports. However, when I run the program as a non-root user aMule receives low id and  the ports are reported as unavailable. Have you found any resolution?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: LowID as regular user
« Reply #2 on: December 11, 2007, 07:56:17 AM »

you guys have a firewall
Logged

romanua

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: LowID as regular user
« Reply #3 on: December 11, 2007, 08:55:39 AM »

Kry, if we had a firewall causing the problem, why would aMule work correctly  when run with root permissions?

By the way, I  installed eMule under wine, it has the same behavior:  when run as normal-user, it reports "can't bind a socket" error and goes on with low id. If run as root, it works perfectly.

Any more ideas?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: LowID as regular user
« Reply #4 on: December 11, 2007, 01:01:29 PM »

Yes. You have a firewall (or you're using a port bellow 1024).
Logged

romanua

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: LowID as regular user
« Reply #5 on: December 11, 2007, 02:07:35 PM »

Hi Kry,  thanks for the reply.

>You have a firewall

Could you explain why a firewall would accept packets to aMule when aMule is run as root, but reject the very same packets when aMule is run by a non-root user?



best,
r.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: LowID as regular user
« Reply #6 on: December 11, 2007, 09:34:49 PM »

iptables has, amongst other options, owner options for outgoing packets, and quite probably for ports and incoming packets.
Logged