{"id":21044633,"url":"https://github.com/tripflex/barf","last_synced_at":"2025-07-18T03:39:53.599Z","repository":{"id":147531689,"uuid":"54338927","full_name":"tripflex/barf","owner":"tripflex","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-20T20:34:58.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T17:33:05.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tripflex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-20T20:32:20.000Z","updated_at":"2016-03-20T20:33:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cf471da-9d52-485f-af01-8d1418508c96","html_url":"https://github.com/tripflex/barf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fbarf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fbarf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fbarf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripflex%2Fbarf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripflex","download_url":"https://codeload.github.com/tripflex/barf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489898,"owners_count":20299001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T14:17:59.118Z","updated_at":"2025-03-13T22:10:31.243Z","avatar_url":"https://github.com/tripflex.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# barf\nBlock Apache Request Floods\n\nSource: http://www.webhostingtalk.com/showthread.php?t=949636\u0026p=6806550#post6806550\n\n```\n##############################################################################\n#   _                 __\n#  | |               / _|   BLOCK\n#  | |__   __ _ _ __| |_    APACHE\n#  | '_ \\ / _` | '__|  _|   REQUEST\n#  | |_) | (_| | |  | |     FLOODS\n#  |_.__/ \\__,_|_|  |_|      LoL:D\n#\n##############################################################################\n\n##############################################################################\n#\n#  Block an IP address if it issues x number of y requests\n#  to apache within z seconds. This script takes 4 options:\n#\n#  example.com  this is the domain to monitor\n#  -n \u003cnum\u003e     if this many requests\n#  -t \u003cnum\u003e     are made within this many seconds\n#  -s \u003creq\u003e     for this string\n#               then the IP address issuing the requests will be blocked.\n#\n#  Examples:\n#\n#    Look for 3 requests within 10 seconds that match GET /index.php\n#    ./script example.com -n 3 -t 10 -s \"GET /index.php\"\n#\n#    Look for 10 requests within 30 seconds that match GET / HTTP/1.1\n#    ./script example.com -n 10 -t 30 -s \"GET / HTTP/1.1\"\n#\n#  This is the expected Apache log format, which is the default on cPanel servers:\n#  1.2.3.4 - - [28/Jun/2009:16:43:05 -0400] \"GET / HTTP/1.1\" 404 - \"-\" \"-\"\n#\n##############################################################################\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripflex%2Fbarf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripflex%2Fbarf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripflex%2Fbarf/lists"}