Skip to content

Some logic for processing and delivering messages with a geographically distributed DDoS protection system

Notifications You must be signed in to change notification settings

vanytsvetkov/arbor.WebhooksListener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbor Webhooks Listener

Dependencies

python 3.11.4
redis 7.2.0

Deployment

1. Add data to local storages

vim app/data/credentials.json 
vim docker/docker-iptables.sh
cp -r <path_to_your_certfile>/ssl_certfile.crt <path_to_your_keyfile>/ssl_keyfile.key app/certs

2. Prepare drop-in Docker logic and check fw rules

$ chmod +x docker/docker-iptables.sh

$ ln -s $(pwd)/docker/docker-iptables.sh /etc/docker/docker-iptables.sh
$ ln -s $(pwd)/docker/restart-docker-iptables.conf /etc/systemd/system/docker.service.d/restart-docker-iptables.conf

$ systemctl daemon-reload

$ systemctl restart docker

$ iptables -S

3. Running

$ docker compose -f docker/docker-compose.yml build
$ docker compose -f docker/docker-compose.yml up -d
$ docker compose -f docker/docker-compose.yml logs -f

Webhooks Processing Schema

webhooks

About

Some logic for processing and delivering messages with a geographically distributed DDoS protection system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages