style: move IE blocklist to domain section
This commit is contained in:
parent
811de2556f
commit
9b517094de
|
@ -138,6 +138,15 @@ sed '1 i\'"$COMMENT"'' | \
|
|||
sed "1s/Blocklist/Unbound Blocklist/" > "../dist/pup-filter-unbound.conf"
|
||||
|
||||
|
||||
## IE blocklist
|
||||
COMMENT_IE="msFilterList\n$COMMENT\n: Expires=1\n#"
|
||||
|
||||
cat "pup-notop-domains.txt" | \
|
||||
sed "s/^/-d /g" | \
|
||||
sed '1 i\'"$COMMENT_IE"'' | \
|
||||
sed "2s/Domains Blocklist/Hosts Blocklist (IE)/" > "../dist/pup-filter.tpl"
|
||||
|
||||
|
||||
set +x
|
||||
|
||||
## Snort & Suricata rulesets
|
||||
|
@ -173,15 +182,6 @@ sed -i '1 i\'"$COMMENT"'' "../dist/pup-filter-suricata.rules"
|
|||
sed -i "1s/Blocklist/Suricata Ruleset/" "../dist/pup-filter-suricata.rules"
|
||||
|
||||
|
||||
## IE blocklist
|
||||
COMMENT_IE="msFilterList\n$COMMENT\n: Expires=1\n#"
|
||||
|
||||
cat "pup-notop-domains.txt" | \
|
||||
sed "s/^/-d /g" | \
|
||||
sed '1 i\'"$COMMENT_IE"'' | \
|
||||
sed "2s/Domains Blocklist/Hosts Blocklist (IE)/" > "../dist/pup-filter.tpl"
|
||||
|
||||
|
||||
## Clean up artifacts
|
||||
rm "source.zip" "source-domains.txt" "top-1m-umbrella.zip" "top-1m-umbrella.txt" "top-1m-tranco.txt"
|
||||
|
||||
|
|
Loading…
Reference in New Issue