Skip to content

This is repository for abusebox development. Abuse mailbox and blacklist monitor

License

Notifications You must be signed in to change notification settings

bekkaze/abusebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbuseBox open source blacklist monitoring tool

In order to prevent ISP organizations and organizations that operate using public addresses from the following risks, the web application has been developed as an open source, so that it is possible to check the blacklist, monitor all the addresses in the organization, and send a deslist request for automatic removal if it is blacklisted. Development was done using django-rest-framework on the backend and React/VITE on the frontend.

The following risks arise when a domain or network address is blacklisted:

  • Due to blacklisting of the external address that is being NATed, users will be restricted from accessing the Internet
  • Unable to receive and send emails
  • Damage to your organization's reputation
  • Inability to access certain services: If an IP address is blacklisted, it may be blocked from accessing certain websites or services.

Getting Started

Backend
  1. On local environment
# pip3 install poetry
# cd backend/
# poetry install
# poetry shell
(VIRTUAL SHELL)# cd src; python manage.py runserver 0.0.0.0:8000

and need change CORS_ALLOWED_ORIGINS in /backend/src/core/settings.py:

CORS_ALLOWED_ORIGINS = [
    "http://<FrontendIP>:3000",
]

  1. With docker
cd backend
docker build -t abuse-backend .

docker run -p 8000:8000 -e FRONT_IP="<http://fill_caller_domain>" abuse-backend

Frontend
  1. On local environment
# cd frontend/
# yarn install
# yarn run dev

.env file for vite/react:

VITE_BASE_URL=http://<backendIP>:8000/
  1. With docker
cd frontend
docker build -t abuse-frontend .
docker run -p 3000:3000 -e VITE_BASE_URL=<http://backend_ip:8000>  abuse-frontend
Launch with docker-compose
docker compose up

ToDo:

  • Docker container deployment
  • Add nginx
  • Improve design
  • Improve security
  • PostgreSQL

About

This is repository for abusebox development. Abuse mailbox and blacklist monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published