Skip to content

Commit

Permalink
for idaholab#590, extracted files not getting saved to correct locati…
Browse files Browse the repository at this point in the history
…on for live Zeek capture
  • Loading branch information
mmguero committed Oct 8, 2024
1 parent 7260e20 commit 3d486c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shared/bin/zeekdeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ else
fi
sed -r -i "s@(LogDir)\s*=\s*.*@\1 = $ARCHIVE_PATH@" ./zeekctl.cfg
sed -r -i "s@(SpoolDir)\s*=\s*.*@\1 = $WORK_PATH@" ./zeekctl.cfg
# We're setting FileExtract::prefix for the directory for file extraction, so we
# don't want this new default behavior from zeekctl. So, set FileExtractDir
# there to an empty value.
# See https://github.com/zeek/zeekctl/blob/7e1a8448083ef0013f15e67ce001836e680589a2/CHANGES#L11-L26
# and https://github.com/zeek/zeekctl/issues/65
sed -r -i "s@(FileExtractDir)\s*=\s*.*@\1 =@" ./zeekctl.cfg

sed -r -i "s/(MailConnectionSummary)\s*=\s*.*/\1 = 0/" ./zeekctl.cfg
sed -r -i "s/(MinDiskSpace)\s*=\s*.*/\1 = 0/" ./zeekctl.cfg
Expand Down

0 comments on commit 3d486c0

Please sign in to comment.