From 3ff377ef384c0083a2ee0c9528560875b39823a6 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 5 Nov 2004 16:18:52 +0000 Subject: [PATCH] Remove ipt_unclean code from log file processing git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1740 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/changelog.txt | 2 ++ Shorewall2/shorewall | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Shorewall2/changelog.txt b/Shorewall2/changelog.txt index 2a48eacd4..a338d2307 100644 --- a/Shorewall2/changelog.txt +++ b/Shorewall2/changelog.txt @@ -128,3 +128,5 @@ Changes since 2.0.3 61) Add note for Slackware users to INSTALL. 62) Allow interface in DEST tcrules column. + +63) Remove 'ipt_unclean' from search expression in "log" commands. diff --git a/Shorewall2/shorewall b/Shorewall2/shorewall index cecd76aa1..3683c2e2c 100755 --- a/Shorewall2/shorewall +++ b/Shorewall2/shorewall @@ -333,10 +333,9 @@ packet_log() # $1 = number of messages [ -n "$realtail" ] && options="-n$1" - grep "${LOGFORMAT}\|ipt_unclean" $LOGFILE | \ + grep "${LOGFORMAT}" $LOGFILE | \ sed s/" kernel:"// | \ sed s/" $host $LOGFORMAT"/" "/ | \ - sed s/" $host kernel: ipt_unclean: "/" "/ | \ sed 's/MAC=.* SRC=/SRC=/' | \ tail $options }