From 7a1524db76a99e156e571a683564253b89b1b6df Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 12 Nov 2004 21:25:36 +0000 Subject: [PATCH] Replace service names with port numbers in /etc/shorewall/tos git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1753 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- STABLE2/changelog.txt | 2 ++ STABLE2/releasenotes.txt | 2 ++ STABLE2/tos | 12 ++++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/STABLE2/changelog.txt b/STABLE2/changelog.txt index 70ac89ecb..e25b7dd08 100644 --- a/STABLE2/changelog.txt +++ b/STABLE2/changelog.txt @@ -77,3 +77,5 @@ Changes in 2.0.11 1) Add note for Slackware users to INSTALL. 2) Correct bogons file. + +3) Replace service names by port numbers in /etc/shorewall/tos. diff --git a/STABLE2/releasenotes.txt b/STABLE2/releasenotes.txt index 2dea780e7..af23bd24e 100644 --- a/STABLE2/releasenotes.txt +++ b/STABLE2/releasenotes.txt @@ -179,3 +179,5 @@ Problems corrected in 2.0.11 users. 2) The bogons file has been updated. + +3) Service names are replaced by port numbers in /etc/shorewall/tos. diff --git a/STABLE2/tos b/STABLE2/tos index ff2bbb281..9f9d2bd91 100644 --- a/STABLE2/tos +++ b/STABLE2/tos @@ -43,10 +43,10 @@ # ############################################################################## #SOURCE DEST PROTOCOL SOURCE PORTS DEST PORTS TOS -all all tcp - ssh 16 -all all tcp ssh - 16 -all all tcp - ftp 16 -all all tcp ftp - 16 -all all tcp ftp-data - 8 -all all tcp - ftp-data 8 +all all tcp - 22 16 +all all tcp 22 - 16 +all all tcp - 21 16 +all all tcp 21 - 16 +all all tcp 20 - 8 +all all tcp - 20 8 #LAST LINE -- Add your entries above -- DO NOT REMOVE