Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # automatically fetches latest version of bogon network list
- URL=http://www.team-cymru.org/Services/Bogons/bogon-bn-agg.txt
- FILE=/etc/firewall/bogon-list
- curl -s -S -f -o "$FILE" "$URL"
- # -s = silent
- # -S = but show errors, if there are any
- # -f = fail safely on HTTP errors, instead of clobbering local file
- # -o = output to this local file
Advertisement
Add Comment
Please, Sign In to add comment