Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IsTraffic()
- {
- #check outgoing traffic
- netstat -tapn | awk '{
- if ( $3 ~ /[0-9]/ )
- { next }
- else
- { if ( $3 > 0 ) { logit traffic detected $3, auto shutdown terminated
- return 1 }
- }
- }'
- return 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement