macro.Edonkey: update macro header and description

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2016-02-15 18:20:38 +02:00
parent a12225047c
commit 2622489f36

View File

@ -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