aMule Forum
English => aMule Help => Topic started by: paulus on March 02, 2006, 02:52:32 AM
-
The irritating "kad: firewalled"
Dear All
The rules of my firewall are
ACCEPT net $FW tcp 4662
ACCEPT net $FW udp 4672,4665
Furthermore, I the port 4662/TCP, 4672/UDF and 4665/UDF are forwarded. However, Kademlia is always "firewalled". Any ideas about this very irritating problem?
Thanks in advance,
Paul
-
May be ISP port filtering? Just an idea.
Did you test your ports? http://www.amule.org/testport.php
-
Originally posted by darksidex
May be ISP port filtering? Just an idea.
Thanks. eMule on MS Windows and on the same computer connects
without problems to Kademlia network, and I have left aMule running an
entire night and it did not stop saying "kad firewalled". I suspect
that the problem is aMule specific, as there is no progress even when
I stop my firewall on Linux.
Paul
-
I installed aMule 2.1.0 Kad-only on my mother's computer running Windows XP, and I got the "firewalled" notice for 30-45 seconds or so.
In your case, I would advise that you check which ports are opened by aMule on the system, by typing:
netstat -lnptu | grep '/amule *$'
Hope this helps,
Olivier
-
also maybe update your nodes.dat and reconnect to kad after that...
kad works fine, i doubt is a problem in mule itself.
is ed2k highID aswell?
do windows and linux have the same IP address?
-
Thanks, Olivier.
$ netstat -lnptu | grep '/amule *$'
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:4662 0.0.0.0:* LISTEN 5336/amule
udp 0 0 0.0.0.0:4662 0.0.0.0:* 5336/amule
udp 0 0 0.0.0.0:4665 0.0.0.0:* 5336/amule
$
Paul
-
Here it is, I think!
You said you authorised UDP port 4672, but it's UDP port 4662 which is open.
Olivier
-
Originally posted by NovHak
Here it is, I think!
You said you authorised UDP port 4672, but it's UDP port 4662 which is open.
Olivier
I do not think so, as I do not see any progress after stopping my firewall. Addicional information regarding the ports forwared on my router:
External port Interface Virtual IP Protocol Port
4662 PPPoE 192.168.1.2 TCP 4662
4665 PPPoE 192.168.1.2 UDP 4665
4672 PPPoE 192.168.1.2 UDP 4672
Paul
-
4672 PPPoE 192.168.1.2 UDP 4672
^^ tahts the error!
look your output of netstat you have
4662 tcp, 4662 UDP
and 4665 udp
so you changed the default config in your prefs, this way you also have to cahnge the default values in your router settings, or go back to the default in amule
-
No, I did not change my default aMule configuration.
Should I have the following on my router?
External port Interface Virtual IP Protocol Port
4662 PPPoE 192.168.1.2 TCP 4662
4665 PPPoE 192.168.1.2 UDP 4665
4662 PPPoE 192.168.1.2 UDP 4662
When I tried to add
4662 PPPoE 192.168.1.2 UDP 4662
the router did not allow me, telling me that I was repeating a rule.
I replaced
4662 PPPoE 192.168.1.2 TCP 4662
with
4662 PPPoE 192.168.1.2 UDP 4662
but still no progress.
Paul
-
thing is YOU posted
Thanks, Olivier.
$ netstat -lnptu | grep '/amule *$'
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:4662 0.0.0.0:* LISTEN 5336/amule
udp 0 0 0.0.0.0:4662 0.0.0.0:* 5336/amule
udp 0 0 0.0.0.0:4665 0.0.0.0:* 5336/amule
look at teh both UDP ports on ei s4662 and one is 4665
that is NOT default!! the first udp port should be 4672!!!
check your preferences in amule!
btw if you changed the tcp rule , you should also be firewalled now in ed2k!
you need to forward 3 ports for amule 1tcp and 2udp ports. maybe recheck what you are doing here.
-
Hi Guys,
it looks there is some room for confusion here. I do have a similar problem in amule 2.1.0, not with 2.0.3. Kad is firewalled:
linux /root# netstat -lnptu | grep '/amule *$'
tcp 0 0 0.0.0.0:4662 0.0.0.0:* LISTEN 30974/amule
udp 0 0 0.0.0.0:4665 0.0.0.0:* 30974/amule
udp 0 0 0.0.0.0:4672 0.0.0.0:* 30974/amule
The port forwarding scheme on my modem:
1 10.1.1.4 TCP 4662 4662
2 10.1.1.4 UDP 4672 4672
4 10.1.1.4 UDP 4665 4665
5 10.1.1.4 TCP 4661 4661
I did test the TCP port following the link post before on this thread and it returns OK. However, that script doesn't test the UDP port.
Hmmm, I see on the Kad Info tab in the "networks" section:
Kademlia Status: Not Running
which is weird, when I started the little arrow on the top right side of the world icon on the bottom right side of amule's screen was yellow, now it turned to red.
Oh, well so my new problem is worse. Before I was firewalled (KAD-firewalled I mean). Now I am simply not connecting...
This is the log I get when I start:
(in one of these lines I see: 2006-03-04 20:14:39: Read 0 Kad contacts, that sounds bad, but I don't understand the meaning. Do I need another server?)
2006-03-04 20:14:39: AICH Thread: Syncronization thread started.
2006-03-04 20:14:39: Connecting
2006-03-04 20:14:39: Servers: Trying to connect
2006-03-04 20:14:39: Connecting to Razorback 2.0 (195.245.244.243 - 195.245.244.243:4661)
2006-03-04 20:14:39: Read 0 Kad contacts
2006-03-04 20:14:39: Credit file loaded, 366 clients are known
2006-03-04 20:14:39: - This is aMule 2.1.0 using wxGTK1 v2.6.0 based on eMule.
2006-03-04 20:14:39: Running on Linux 2.6.11.4-20a-smp i686
2006-03-04 20:14:39: - Visit http://www.amule.org to check if a new version is available.
2006-03-04 20:14:39: Loading ipfilter.dat files.
2006-03-04 20:14:39: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2006-03-04 20:14:39: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2006-03-04 20:14:39: Loading server.met file: /home/kanaan/.aMule/server.met
2006-03-04 20:14:39: 556 servers in server.met found
2006-03-04 20:14:39: Found 6 part files
2006-03-04 20:14:39: External connections disabled in config file
2006-03-04 20:14:39: MuleUDPSocket: Created Server UDP-Socket at port 4665
2006-03-04 20:14:39: MuleUDPSocket: Created Client UDP-Socket at port 4672
2006-03-04 20:14:39: Hasher: Creating new thread.
2006-03-04 20:14:40: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/su
2006-03-04 20:14:40: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:40: Hasher: A thread has died.
2006-03-04 20:14:40: Hasher: Creating new thread.
2006-03-04 20:14:41: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/errors.txt
2006-03-04 20:14:41: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:41: Hasher: A thread has died.
2006-03-04 20:14:41: Hasher: Creating new thread.
2006-03-04 20:14:42: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/SAVE.fig
2006-03-04 20:14:42: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:42: Hasher: A thread has died.
2006-03-04 20:14:42: Hasher: Creating new thread.
2006-03-04 20:14:43: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/./su
2006-03-04 20:14:43: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:43: Hasher: A thread has died.
2006-03-04 20:14:43: Hasher: Creating new thread.
2006-03-04 20:14:44: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/./errors.txt
2006-03-04 20:14:44: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:44: Hasher: A thread has died.
2006-03-04 20:14:44: Hasher: Creating new thread.
2006-03-04 20:14:45: Hasher: Warning, 0-size file, skipping: /mnt/usb/kanaan/./SAVE.fig
2006-03-04 20:14:45: Hasher: No files on queue, stopping thread.
2006-03-04 20:14:45: Hasher: A thread has died.
2006-03-04 20:14:45: Found 139 known shared files
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: AICH Thread: Syncronization thread started.
2006-03-04 20:14:45: Servers: Trying to connect
2006-03-04 20:14:45: Connecting to Sonny Boy 2 (64.34.161.44 - 64.34.161.44:5661)
2006-03-04 20:14:45: AICH Thread: Masterhashes of known files have been loaded.
2006-03-04 20:14:45: AICH Thread: No new files found.
2006-03-04 20:14:45: AICH Thread: Terminated.
2006-03-04 20:14:45: Connected to Sonny Boy 2 (64.34.161.44:5661)
2006-03-04 20:14:46: Servers: Connected
2006-03-04 20:14:46: Connection established on: Sonny Boy 2
2006-03-04 20:14:46: New client ID is 2104101833
2006-03-04 20:14:47: Saving of server-list completed.
Anyway, I thank in advance for any pointers to help in fixing this problem.
Antonio
-
Thanks. Now, I have everything right, i.e., the ports selected on aMule's configuration agree with the ports that I have forwarded on the router. However, the reported problem maintains. I now speculate that the cause may be the fact that I am filtering some IPs with ipfilter.dat.
Paul
-
@ankanaan
a lot of ed2k server are down, update your server.met with the help google and retry.
like I said already in your other thread you are connected to a fake server there, so thats why you dont get any sources.
@paulus
well remove it from the .aMule dir and retry, pretty simple to find out...
but kad takes a while to turn from firewalled -> to ok (sometimes 10-20min)
-
Originally posted by stefanero
well remove it from the .aMule dir and retry, pretty simple to find out...
but kad takes a while to turn from firewalled -> to ok (sometimes 10-20min)
Bingo! By removing ipfilter.dat from .aMule directory, I get "Kad: ok". Should it be the expected behaviour of aMule? I think not, as it is misleading in the sense that it makes us thinking of a bad configuration of the router/firewall.
Paul