Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.01 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.01 KB

ezproxy-abuse-checker

Perl + shell scripts that actively monitors ezproxy log file for vacuum attack.

  • Requires Perl Modules:
  • Date::Calc
  • Geo::IP
  • URI
  • Domain::PublicSuffix
  • Data::Dumper

File Manifest:

  • crontab.dat - this is the cron file used to run the abuse checker every 10 minutes. (tune the frequency to your liking)
  • count_sessions_tail.pl - this runs against
  • check_abuse_tail.pl - blocks and kill session of all ezproxy log lines sent to this (used to search for IEEE token and other easily identifiable abuses detected via grep)
  • block_user.pl - blocks ezproxy user by editing user.txt also kills ezproxy session
    • usage block_user.pl user_id session_id
    • this is automatically called by check_abuse_tail.pl
  • abuse_checker_cron.sh - script which pipes the last 10,000 lines of the ezproxy log into the abuse checker and the IEEE token checker