Check if IP address belongs to Akamai (programmatically)
This script is very useful when you work on a company which uses the Akamai CDN, because under heavy traffic its hard to know if you're under a DDOS attack or if it's just Akamai trying to reach the origin servers for your website.
The source code is here: https://gist.github.com/rafaelfelix/5613539
The usage goes like this:
$ ./verifyAkamaiIp.sh -i <IP_ADDR> -u <AKAMAI_USERNAME> -p <AKAMAI_PASSWORD>
Where:
IP_ADDR => the ip address being checked
AKAMAI_USERNAME => the Akamai's control panel username
AKAMAI_USERNAME => the Akamai's control panel password
Enjoy :)
Written by Rafael Felix Correa
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shellscript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#