Hi everyone,
Having a look at the iptables log i see quite a few outgoing TCP packets being dropped such as this one (16442 being the TCP port configured in preferences and 192.168.11.3 my pc ip):
Aug 29 20:51:24 Tatoo kernel: DROP OUT INVALID IN= OUT=br0 SRC=192.168.11.3 DST=58.63.24.159 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=63202 DF PROTO=TCP SPT=16442 DPT=14008 WINDOW=6432 RES=0x00 ACK FIN URGP=0
And this is the iptables rule that matches and drops it (its the first one):
$IPT -A OUTPUT -m state --state INVALID -j LOG --log-prefix "DROP OUT INVALID " --log-ip-options --log-tcp-options
$IPT -A OUTPUT -m state --state INVALID -j DROP
Using wireshark i have seen some connections being closed properly -I think- with the four-ways handshake, iniciating with the same kind of tcp packet we saw in the dropped example (FIN,ACK), i put this one as an example (copied from wireshark):
278 4.195628 192.168.11.3 85.18.136.105 TCP 16442 > 21627 [FIN, ACK] Seq=1 Ack=1 Win=6432 Len=0
289 4.605954 85.18.136.105 192.168.11.3 TCP 21627 > 16442 [ACK] Seq=1 Ack=2 Win=65535 Len=0
290 4.611528 85.18.136.105 192.168.11.3 TCP 21627 > 16442 [FIN, ACK] Seq=1 Ack=2 Win=65535 Len=0
291 4.611571 192.168.11.3 85.18.136.105 TCP 16442 > 21627 [ACK] Seq=2 Ack=2 Win=6432 Len=0
Im on debian lenny using the precompiled amule deb package from vollstreckernet and a manually compiled 2.6.24 kernel.
Amule details:
$ amule -v
aMule SVN using wxGTK2 v2.8.7 (Snapshot: Wed Aug 20 07:01:59 CEST 2008) (OS: Linux)
What do you think? Is this aMules fault or is iptables dropping wrong packets? Or is it me doing something wrong (very likely though

) ?
Thanks!