aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Port issues.  (Read 4927 times)

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Port issues.
« on: June 20, 2005, 03:32:49 AM »

What's with all the port issues? Why is it that all of a sudden port 4661 is no longer available (according to servers and the port tester available in wiki). I'm not blaming anyone rather I'm trying to figure out why my ports are not available when I know they are.

My port *IS* open....
Code: [Select]
wormhole:~#iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             x.x.x.69       tcp dpt:420 to:192.168.4.240:420
DNAT       tcp  --  anywhere             x.x.x.69       tcp dpt:imap2 to:192.168.4.240:143
DNAT       tcp  --  anywhere             x.x.x.69       tcp dpt:www to:192.168.4.240:80
DNAT       tcp  --  anywhere             x.x.x.69       tcp dpt:domain to:192.168.4.240:53
DNAT       udp  --  anywhere             x.x.x.69       udp dpt:domain to:192.168.4.240:53
DNAT       tcp  --  anywhere             x.x.x.69       tcp dpt:smtp to:192.168.4.240:25
DNAT       tcp  --  anywhere             x.x.x.152      tcp dpts:6891:6900 to:192.168.4.20
DNAT       udp  --  anywhere             x.x.x.152      udp dpt:4664 to:192.168.4.20:4664
DNAT       udp  --  anywhere             x.x.x.152      udp dpt:4672 to:192.168.4.20:4672
DNAT       tcp  --  anywhere             x.x.x.152      tcp dpt:4661 to:192.168.4.20:4661
DNAT       icmp --  anywhere             x.x.x.152      to:192.168.4.254

Thanks
Logged
-- El payaso cabron me dice que tengo que consumir!

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Port issues.
« Reply #1 on: June 20, 2005, 09:06:49 AM »

well are you maybe running an app on the server at that port?
and maybe you should think about something you changed, since its not working anymore....local firewall?

Quote
I'm not blaming anyone rather

and who would you want to blame?! :) its your pc  :P
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
RE: Port issues.
« Reply #2 on: June 20, 2005, 06:23:50 PM »

Quote
Originally posted by Ateo
My port *IS* open....
Assuming your machine is 192.168.4.20. Otherwise it is closed.

Quote
Originally posted by Ateo
DNAT       tcp  --  anywhere             x.x.x.152      tcp dpt:4661 to:192.168.4.20:4661

Check if the IP address of your machine has not changed for any reason. Also do this in your machine, not the NAT machine, and post here the result:

$ ifconfig
$ netstat -ntualp | grep 4661

Cheers!
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Port issues.
« Reply #3 on: June 20, 2005, 09:10:42 PM »

Without changing a think, I'm able to connect again. So.. It's not my router (linksys running the GPL linux mips code) nor my PC... At least it doesn't seems as such.

It's wierd. Whatever the issue is.. it decides when it wants me to connect...

Also, my PC has the static ip of 192.168.4.20 so the IP isn't changing on my PC. My router also has 2 statics given to me by my ISP. So, IP's changing? Likely not...

Additionally, I am not running *any* services on ports 4661 - 4672 as I leave those open for amule.

I would love to think it's me.. but between me having to delete ~/.aMule on occasion and these connection issues, why should I think it's on my end? Either something is corrupting my files and giving me issues or something else..

Additionally, when I am having issues connecting.. when I finally do manage to connect, I get a LowID. Then... after trying a bit more, I eventually get a HighID.. It doesn't matter which server I connect to... It's all the same. But when I start getting the HighID again, all servers give me a HighID...

Any other ideas?

Thanks
« Last Edit: June 20, 2005, 09:18:27 PM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Port issues.
« Reply #4 on: June 21, 2005, 01:48:44 AM »

Did you run this script? Do it with aMule running:

http://www.amule.org/testport.php

You see, to get a high ID, when you press the connect button, a message is sent to the server telling him you want to connect. The first thing he does is to try to connect to your listening port. If he does succeed, when he answer to your connect, he will answer you with a high ID, which is actually a number representing your IP. If he cannot connect back to you, and if he has spare lowid numbers (this is a limited resource of the server) then you will get a lowid.

Somehow, the server is not able to connect to you. You have to find out why. There are tools for network monitoring/testing, most notable are ethereal, tcpdump, nc, ttcp, and others. Maybe give a try to ethereal first, this can be quite instructive.

Beware, I have previously found servers that say you have a high id, when you don't. It is incredible, but happened to me. Make sure you can connect to any server, then you have a real high ID.

Also, you can suspect your ISP. Did you try to change the default port number from 4662 to something else, say 5662? Try that, change it on aMule and on the firewall.

Cheers!
Logged

Gomaaz

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 58
  • I want you to leave me alone...
Re: Port issues.
« Reply #5 on: June 21, 2005, 02:07:56 AM »

Quote
Additionally, when I am having issues connecting.. when I finally do manage to connect, I get a LowID. Then... after trying a bit more, I eventually get a HighID.. It doesn't matter which server I connect to... It's all the same. But when I start getting the HighID again, all servers give me a HighID...

I got exactly the same Problem...but it can't be the router  and there isn't a second software firewall  ?(

Anyway I can't connect manually to any servers (reason: timed out-> connects to another server with lowid -> check firewall etc........only by resarting Amule  8o its connecting automatically

ports ARE open!  ?(
« Last Edit: June 21, 2005, 02:14:13 AM by Gomaaz »
Logged
Set UL-speed more higher than 10 kB/sec!! Remember:

You only get what you give  8)

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Port issues.
« Reply #6 on: June 21, 2005, 10:15:35 AM »

Quote
Originally posted by phoenix
Did you run this script? Do it with aMule running:

http://www.amule.org/testport.php

Success The TCP port 4661 is available. You should be able to use the ED2K P2P service without any problems....  when amule is running...

Quote
Originally posted by phoenix
Also, you can suspect your ISP. Did you try to change the default port number from 4662 to something else, say 5662? Try that, change it on aMule and on the firewall.

Cheers!

I've confronted my ISP on p2p issues. They claim the only reason they would deny port access for a user is if they are required by a court order in which case the user is probably busted anyways.... They protect privacy.. blah blah blah... But who really knows right? hehe...

Well, all is going well at the moment. I suppose I'll try network monitoring the next time I run into this issue. It's a sporatic issue as it doesn't happen all the frequently but when it does, it rather frustrating.
« Last Edit: June 21, 2005, 10:16:53 AM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Gomaaz

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 58
  • I want you to leave me alone...
Re: Port issues.
« Reply #7 on: June 21, 2005, 11:10:46 AM »

when I start amule...all seems to work fine...but after some hours...amule disconnects an can't connect to any server....after restart it is connecting fine again ....for some hours

it's frustrating me  X(
Logged
Set UL-speed more higher than 10 kB/sec!! Remember:

You only get what you give  8)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Port issues.
« Reply #8 on: June 21, 2005, 12:49:22 PM »

Gomaaz,

Maybe your router or adsl modem is resetting. Try to use lower values for max sources and max connections. I use 200 and 300 here, respectively, but even then sometimes my modem resets. You can try even lower values. Some modems can't stand too many connections.

Cheers!
Logged

Gomaaz

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 58
  • I want you to leave me alone...
Re: Port issues.
« Reply #9 on: June 21, 2005, 06:23:39 PM »

have tested to settle down these settings...don't bring any effect to me.  :(
Logged
Set UL-speed more higher than 10 kB/sec!! Remember:

You only get what you give  8)

apollyon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Port issues.
« Reply #10 on: June 21, 2005, 09:52:03 PM »

Also having a similar problem.
aMule was set up minty and was receiving a High ID every time.
Had some problems with CVS version and ended up reinstalling with 2.0.3 and now I get LowIDs.  Using the PHP script on here all my ports are blocked but using the NAT tester that comes with Azureus (this is what I originally used to make sure my ports were working) I am able to tell that my ports are free...

So they were free, then over the span of installation they became all blocked although Azureus sees them open.

Any ideas?
Logged

PunkSC

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
Re: Port issues.
« Reply #11 on: June 23, 2005, 02:05:48 AM »

man, NEVER use the defaults ports. Why help your ISP to make statistics of p2p use, or help easy bandwidth limitations methods? If a ISP block or limit p2p, they limit the default ports, very few ISPs limit p2p bandwidth using packet classification.
Help the ed2k network, help you, improve your speed. NEVER use default ports, and change the ports u use from time to time if possible.
« Last Edit: June 23, 2005, 02:06:30 AM by PunkSC »
Logged

TripleM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: Port issues.
« Reply #12 on: June 24, 2005, 04:21:09 AM »

yes, my router is configured correctly.
long story, short reply. every other p2p-like application, i used till now, gives me a high id. it doesnt matter, if it is emule, edonkey, yet, even mldonkey.
also tried some porttests, and all said, my p2p-ports are reachable. BUT, amule denied me the high-id, for razorback too, if someone cares. in all cases i did use the default port, which my isp doesnt shrink, and an alternative port. and in all cases, only amule doesnt want the high id, and doesnt get it.
i think, it has something to do with some "kind" of response time, dont know.
i have tried amule 2.0.2 for windows, which has btw some other flaws. cvs-2 for windows, with the same flaws, and cvs-2 for linux (gentoo).

p.s.: the flaws, that i mentioned, after using amule i have to delete/alter the conf, cause amule didnt want to start with previously used conf. (for win, doesnt matter, if WinXP, or WinXP x64)
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Port issues.
« Reply #13 on: June 24, 2005, 05:38:22 AM »

I'm wondering... Can latency be a culprit? It just seems far fetched that this would be some sort of bug else it would be happening to everyone...
Logged
-- El payaso cabron me dice que tengo que consumir!