From 2622489f3608da5f6add2eec3ee1699296c4bf0f Mon Sep 17 00:00:00 2001 From: Tuomo Soini Date: Mon, 15 Feb 2016 18:20:38 +0200 Subject: [PATCH] macro.Edonkey: update macro header and description Signed-off-by: Tuomo Soini --- Shorewall/Macros/macro.Edonkey | 37 ++++++++++++++++------------------ 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/Shorewall/Macros/macro.Edonkey b/Shorewall/Macros/macro.Edonkey index 4f6fbe3a9..34ed32634 100644 --- a/Shorewall/Macros/macro.Edonkey +++ b/Shorewall/Macros/macro.Edonkey @@ -1,34 +1,31 @@ # -# Shorewall - Edonkey Macro +# Shorewall -- /usr/share/shorewall/macro.Edonkey # -# /usr/share/shorewall/macro.Edonkey +# This macro handles Edonkey traffic. # -# This macro handles Edonkey traffic. +# http://www.portforward.com/english/routers/port_forwarding/2wire/1000s/eDonkey.htm +# says to use udp 5737 rather than 4665. # +# http://www.amule.org/wiki/index.php/FAQ_ed2k says this: # -# http://www.portforward.com/english/routers/port_forwarding/2wire/1000s/eDonkey.htm -# says to use udp 5737 rather than 4665. +# 4661 TCP (outgoing) Port, on which a server listens for connection +# (defined by server). # -# http://www.amule.org/wiki/index.php/FAQ_ed2k says this: +# 4665 UDP (outgoing) used for global server searches and global source +# queries. This is always Server TCP port (in this case 4661) + 4. # -# 4661 TCP (outgoing) Port, on which a server listens for connection -# (defined by server). +# 4662 TCP (outgoing and incoming) Client to client transfers. # -# 4665 UDP (outgoing) used for global server searches and global source -# queries. This is always Server TCP port (in this case 4661) + 4. +# 4672 UDP (outgoing and incoming) Extended eMule protocol, Queue +# Rating, File Reask Ping # -# 4662 TCP (outgoing and incoming) Client to client transfers. +# 4711 TCP WebServer listening port. # -# 4672 UDP (outgoing and incoming) Extended eMule protocol, Queue -# Rating, File Reask Ping -# -# 4711 TCP WebServer listening port. -# -# 4712 TCP External Connection port. Used to communicate aMule with other -# applications such as aMule WebServer or aMuleCMD. +# 4712 TCP External Connection port. Used to communicate aMule with other +# applications such as aMule WebServer or aMuleCMD. # ############################################################################### -#ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/ -# PORT(S) PORT(S) DEST LIMIT GROUP +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + PARAM - - tcp 4662 PARAM - - udp 4665