Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ip_filtering() { service_ip_list=("192.168.1.1" "192.168.1.2" "10.0.0.1" "10.0.0.2" "192.168.0.2" "192.168.0.1")
- grepcidr "$service_ip_list" <(echo "$1") >/dev/null &&
- echo "$1 is a Service IP" ||
- echo $1 >> live_ser_list && echo "$1 was written"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement