All Projects → p0pr0ck5 → lua-resty-tarpit

p0pr0ck5 / lua-resty-tarpit

Licence: other
OpenResty response time inflation

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to lua-resty-tarpit

restyskeleton
Spawning barebones openresty applications from the terminal using ancient witchcraft
Stars: ✭ 21 (-16%)
Mutual labels:  openresty
lightning
服务收集app web h5 埋点信息,openresty 接受,推送到kafka
Stars: ✭ 39 (+56%)
Mutual labels:  openresty
litemall-dw
基于开源Litemall电商项目的大数据项目,包含前端埋点(openresty+lua)、后端埋点;数据仓库(五层)、实时计算和用户画像。大数据平台采用CDH6.3.2(已使用vagrant+ansible脚本化),同时也包含了Azkaban的workflow。
Stars: ✭ 36 (+44%)
Mutual labels:  openresty
RillAdmin
vue + openresty/nodejs web admin
Stars: ✭ 34 (+36%)
Mutual labels:  openresty
lua-resty-busted
Test OpenResty scripts with busted
Stars: ✭ 29 (+16%)
Mutual labels:  openresty
phi
an api-gateway based on openresty
Stars: ✭ 23 (-8%)
Mutual labels:  openresty
lua-resty-sniproxy
SNI Proxy based on stream-lua-nginx-module
Stars: ✭ 78 (+212%)
Mutual labels:  openresty
cdn-up-and-running
CDN Up and Running - an introduction about how modern CDNs works
Stars: ✭ 131 (+424%)
Mutual labels:  openresty
Bitcoin-wallet-cracker
Automated Bitcoin wallet generator that with mnemonic and passphrases bruteforces wallet addresses
Stars: ✭ 140 (+460%)
Mutual labels:  brute-force
nott
The New OTT Platform - an excuse to discuss and design a simple edge computing platform
Stars: ✭ 46 (+84%)
Mutual labels:  openresty
redis cluster
a openresty nginx lua redis cluster
Stars: ✭ 26 (+4%)
Mutual labels:  openresty
limitrr-php
Better PHP rate limiting using Redis.
Stars: ✭ 19 (-24%)
Mutual labels:  brute-force
Discord-Nitro-BruteForce
simple discord nitro code generator and checker written in c#
Stars: ✭ 26 (+4%)
Mutual labels:  brute-force
C-Sharp-Learning-Journey
Some of the projects i made when starting to learn c#, winfroms and wpf
Stars: ✭ 95 (+280%)
Mutual labels:  brute-force
cassandra-nginx-cdn
Some config files and POC code to use Apache Cassandra as distributed storage for HLS chunks accross multiple datacenters and scripts for converting/transcoding UDP MPEG-TS to HLS and vice versa. The idea is take from Globo.com’s Live Video Platform for FIFA World Cup ’14.
Stars: ✭ 24 (-4%)
Mutual labels:  openresty
smtplib-bruteforce
bruteforcing gmail (TLS/SSL)
Stars: ✭ 26 (+4%)
Mutual labels:  brute-force
uberscan
Security program for recovering passwords and pen-testing servers, routers and IoT devices using brute-force password attacks.
Stars: ✭ 31 (+24%)
Mutual labels:  brute-force
lua-resty-aries
openresty and lua multi-function template
Stars: ✭ 47 (+88%)
Mutual labels:  openresty
BFSG
BFSG - BruteForce String Generator 😾
Stars: ✭ 16 (-36%)
Mutual labels:  brute-force
lua-practice
使用lua结合redis,mysql,nginx等开发的实用性测试案例
Stars: ✭ 13 (-48%)
Mutual labels:  openresty

##Name

lua-resty-tarpit - capture and delay unwanted requests

##Status

lua-resty-tarpit is in early development and is considered production ready.

##Description

lua-resty-tarpit provides rate-limit protection for sensitive resources. It leverages Nginx's non-blocking archtitecture to artificially increase response latency for resources that are repeatedly accessed. This functionality is designed to protect resources that are publicly accessible, but vulnerable to some form of brute-force attack (e.g., web application admnistrative login pages). It was inspired by the TARPIT iptables module.

##Installation

Clone the lua-resty-tarpit repo into Nginx/OpenResty's Lua package path. Module setup and configuration is detailed in the synopsis.

##Synopsis

	http {
		lua_shared_dict tarpit 10m;
	}

	server {
		location /login { # or whatever resource you want to protect
			access_by_lua '
				local t = require "tarpit"
				t.tarpit(
					5, -- request limit
					5, -- reset timer
					1, -- delay time
				)
			';
		}
	}

##Limitations

lua-resty-tarpit is undergoing continual development and improvement, and as such, may be limited in its functionality and performance. Currently known limitations can be found within the GitHub issue tracker for this repo.

##License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/

##Bugs

Please report bugs by creating a ticket with the GitHub issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].