From 0afd7f3a6f0ff8c9e3f17283c113f29e4abda820 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 29 Jun 2009 21:00:34 -0700 Subject: [PATCH] More new macros --- Shorewall/Macros/macro.DG | 10 ++++++++++ Shorewall/Macros/macro.IPPbrd | 8 ++++++++ Shorewall/Macros/macro.NTPbi | 9 +++++++++ Shorewall/Macros/macro.RIPbi | 10 ++++++++++ Shorewall/Macros/macro.mDNS | 9 +++++++++ 5 files changed, 46 insertions(+) create mode 100644 Shorewall/Macros/macro.DG create mode 100644 Shorewall/Macros/macro.IPPbrd create mode 100644 Shorewall/Macros/macro.NTPbi create mode 100644 Shorewall/Macros/macro.RIPbi create mode 100644 Shorewall/Macros/macro.mDNS diff --git a/Shorewall/Macros/macro.DG b/Shorewall/Macros/macro.DG new file mode 100644 index 000000000..f8552769f --- /dev/null +++ b/Shorewall/Macros/macro.DG @@ -0,0 +1,10 @@ +# +# Shorewall Macro: Dan's Guardian (TCP 8080) +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/ +# PORT(S) PORT(S) LIMIT GROUP +PARAM - - tcp 8080 +PARAM DEST SOURCE tcp - 8080 # late replies +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE + diff --git a/Shorewall/Macros/macro.IPPbrd b/Shorewall/Macros/macro.IPPbrd new file mode 100644 index 000000000..471886784 --- /dev/null +++ b/Shorewall/Macros/macro.IPPbrd @@ -0,0 +1,8 @@ +# +# Shorewall Macro - IPP broadcasts +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/ +# PORT(S) PORT(S) LIMIT GROUP +PARAM - - udp 631 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE diff --git a/Shorewall/Macros/macro.NTPbi b/Shorewall/Macros/macro.NTPbi new file mode 100644 index 000000000..ac7ee0efb --- /dev/null +++ b/Shorewall/Macros/macro.NTPbi @@ -0,0 +1,9 @@ +# +# Shorewall Macro - bi-directional NTP (for NTP peers) +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/ +# PORT(S) PORT(S) LIMIT GROUP +PARAM - - udp 123 +PARAM DEST SOURCE udp 123 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE diff --git a/Shorewall/Macros/macro.RIPbi b/Shorewall/Macros/macro.RIPbi new file mode 100644 index 000000000..92c8e6c12 --- /dev/null +++ b/Shorewall/Macros/macro.RIPbi @@ -0,0 +1,10 @@ +# +# Shorewall Macro: RIP (Routing Information Protocol) - bidirectional +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/ +# PORT(S) PORT(S) LIMIT GROUP +PARAM - - udp 520 +PARAM DEST SOURCE udp 520 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE + diff --git a/Shorewall/Macros/macro.mDNS b/Shorewall/Macros/macro.mDNS new file mode 100644 index 000000000..7f194b615 --- /dev/null +++ b/Shorewall/Macros/macro.mDNS @@ -0,0 +1,9 @@ +# +# Shorewall Macro - multicast DNS (bidirectional) +# +############################################################################### +#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/ +# PORT(S) PORT(S) LIMIT GROUP +PARAM - - udp 5353 +PARAM DEST SOURCE udp 5353 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE