Skip to content

Linux bash script that will user defined log files and iptables/CSF if contains user defined phrase (for example IP address)

License

Notifications You must be signed in to change notification settings

jmmmagalhaes/linux-bash-script-cpanel-server-check-if-why-ip-was-blocked

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

linux-bash-script-cpanel-server-check-if-why-ip-was-blocked

Linux bash script that will grep user defined log files and iptables/CSF if contains user defined phrase (for example IP address) Aim was to check if and why was some IP blocked on CentOS cPanel server.

Set execute permission: chmod +x isipblocked Run script: ./isipblocked 1.2.3.4

Edit script to adjust log file paths. It contains path to log files on Centos server, some log paths are only used by Cpanel hosting control panel.

About

Linux bash script that will user defined log files and iptables/CSF if contains user defined phrase (for example IP address)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%