From 316f07bce92d84bcca440f6de5dae3d6f58650c8 Mon Sep 17 00:00:00 2001 From: Tuomo Soini Date: Mon, 15 Feb 2016 18:20:39 +0200 Subject: [PATCH] macro.SMB: update macro header and description Signed-off-by: Tuomo Soini --- Shorewall/Macros/macro.SMB | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Shorewall/Macros/macro.SMB b/Shorewall/Macros/macro.SMB index d433a6b3e..7312331f3 100644 --- a/Shorewall/Macros/macro.SMB +++ b/Shorewall/Macros/macro.SMB @@ -1,17 +1,15 @@ # -# Shorewall - SMB Macro +# Shorewall -- /usr/share/shorewall/macro.SMB # -# /usr/share/shorewall/macro.SMB -# -# This macro handles Microsoft SMB traffic. You need to invoke -# this macro in both directions. Beware! This rule opens a lot -# of ports, and could possibly be used to compromise your firewall -# if not used with care. You should only allow SMB traffic -# between hosts you fully trust. +# This macro handles Microsoft SMB traffic. +# You need to invoke this macro in both directions. +# Beware! This rule opens a lot of ports, and could possibly be used to +# compromise your firewall if not used with care. You should only allow SMB +# traffic between hosts you fully trust. # ############################################################################### -#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 - - udp 135,445 ?if ( __CT_TARGET && ! $AUTOHELPERS && __NETBIOS_NS_HELPER )