Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
fixed some issues reported by @nswalters
  • Loading branch information
da667 committed Dec 21, 2016
1 parent f083790 commit e6c759d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Autosnort - Ubuntu/AVATAR/autosnort-ubuntu-AVATAR.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,12 +423,12 @@ else
if [ $? == 0 ]; then
pp_postprocessing
else
print_error "Rule download for $choice3 has failed. Trying text-only rule download for $choice4 (Final shot!)"
print_error "Rule download for $choice3 has failed. Trying text-only rule download for $choice4 \(Final shot!\)"
perl pulledpork.pl -S $choice4 -c /usr/src/pulledpork/etc/pulledpork.conf -W -T -vv &>> $logfile
if [ $? == 0 ]; then
pp_postprocessing
else
print_error "Rule download for $choice4 has failed; Either you've downloaded rules for another sensor from the same public IP address in the last 15 minutes, your Oink Code is invalid, or you have another issue. Check $logfile, Troubleshoot your connectivity issues to snort.org, and ensure you wait a minimum of 15 minutes before trying again."
print_error "Rule download for $choice4 has failed. Check $logfile, Troubleshoot your connectivity issues to snort.org, and ensure you wait a minimum of 15 minutes before trying again."
exit 1
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion Autosnort - Ubuntu/autosnort-ubuntu-12-7-2015.sh
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ echo "config_path=$snort_basedir/etc/snort.conf" >> pulledpork.tmp
echo "black_list=$snort_basedir/rules/black_list.rules" >>pulledpork.tmp
echo "IPRVersion=$snort_basedir/rules/iplists" >>pulledpork.tmp
echo "ips_policy=security" >> pulledpork.tmp
echo "version=0.7.2" >> pulledpork.tmp
echo "version=0.7.3" >> pulledpork.tmp
cp pulledpork.tmp pulledpork.conf

#Run pulledpork. If the first rule download fails, we try again, and so on until there are no other snort rule tarballs to attempt to download.
Expand Down

0 comments on commit e6c759d

Please sign in to comment.