參考網站: 
Setting up Snort – Part 4 – Installing PulledPork · Don Mizutani 
How To Install Snort NIDS On CentOS 7 | Unixmen 
# yum install git 
# git clone https://github.com/shirkdog/pulledpork.git 
# cd pulledpork/ 
# cp pulledpork.pl /usr/local/bin 
# chmod +x /usr/local/bin/pulledpork.pl 
# cp -v etc/*.conf /etc/snort 
‘etc/disablesid.conf’ -> ‘/etc/snort/disablesid.conf’  
‘etc/dropsid.conf’ -> ‘/etc/snort/dropsid.conf’  
‘etc/enablesid.conf’ -> ‘/etc/snort/enablesid.conf’  
‘etc/modifysid.conf’ -> ‘/etc/snort/modifysid.conf’  
‘etc/pulledpork.conf’ -> ‘/etc/snort/pulledpork.conf’ 
# mkdir /etc/snort/rules/iplists 
# touch /etc/snort/rules/iplists/default.blacklist[@more@] 
安裝所須套件 
# yum install perl-libwww-perl perl-Crypt-SSLeay perl-Sys-Syslog perl-Archive-Tar perl-LWP-Protocol-https 
Test pulledPork Configuration 
# /usr/local/bin/pulledpork.pl -V
修改設定檔 /etc/snort/pulledpork.conf 
# egrep -v ‘^#|^$’ /etc/snort/pulledpork.conf 
rule_url=https://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|Oinkcode 
rule_url=https://snort.org/downloads/community/|community-rules.tar.gz|Community
rule_url=http://talosintelligence.com/feeds/ip-filter.blf|IPBLACKLIST|open
rule_url=https://snort.org/downloads/community/|opensource.tar.gz|Opensource
ignore=deleted.rules,experimental.rules,local.rules
temp_path=/tmp
rule_path=/etc/snort/rules/snort.rules
local_rules=/etc/snort/rules/local.rules
sid_msg=/etc/snort/etc/sid-msg.map
sid_msg_version=1
sid_changelog=/var/log/sid_changes.log
sorule_path=/usr/local/lib/snort_dynamicrules/
snort_path=/sbin/snort
config_path=/etc/snort/snort.conf
distro=RHEL-6-0
black_list=/etc/snort/rules/iplists/default.blacklist
IPRVersion=/etc/snort/rules/iplists
snort_control=/usr/bin/snort_control
enablesid=/etc/snort/enablesid.conf
dropsid=/etc/snort/dropsid.conf
disablesid=/etc/snort/disablesid.conf
modifysid=/etc/snort/modifysid.conf
version=0.7.3 
進行更新 
# /usr/local/bin/pulledpork.pl -c /etc/snort/pulledpork.conf -l 
    https://github.com/shirkdog/pulledpork 
      _____ ____ 
     `—-,    ) 
      `–==  /    PulledPork v0.7.3 – Making signature updates great again! 
       `–==/ 
     .-~~~~-.Y|_  Copyright (C) 2009-2016 JJ Cummings 
  @_/        /  66_  cummingsj@gmail.com 
    |          _(“) 
        /-| ||’–‘  Rules give me wings! 
      _  _ 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Checking latest MD5 for snortrules-snapshot-2990.tar.gz…. 
        They Match 
        Done! 
Checking latest MD5 for community-rules.tar.gz…. 
        They Match 
        Done! 
IP Blacklist download of http://talosintelligence.com/feeds/ip-filter.blf…. 
Reading IP List… 
Checking latest MD5 for opensource.tar.gz…. 
        They Match 
        Done! 
Blacklist version is unchanged, not updating! 
Writing /var/log/sid_changes.log…. 
        Done 
No Rule Changes
No IP Blacklist Changes
Done 
Please review /var/log/sid_changes.log for additional details 
Fly Piggy Fly!
加入工作排程
# crontab -e
01 04 * * * /usr/local/bin/pulledpork.pl -c /etc/snort/pulledpork.conf -l > /dev/null 2>&1
