Giter VIP home page Giter VIP logo

abusebox's Introduction

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

abusebox's People

Contributors

bekkaze avatar nasaa0528 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.