Sign inSign up

plaenkler/threatinsert

By plaenkler

Updated over 1 year ago

Automation for blacklisting IP addresses

Image
Networking
Security
0

1.4K

plaenkler/threatinsert repository overview

ThreatInsert

Release

Automation for blacklisting IP addresses on FortiGates build for AMD64 and ARM64.

API endpoints

---

get:
  uri: /api/get
  method: any
  description: Returns all known IPv4/6 addresses in plain text format one per line.
put:
  uri: /api/add
  method: any
  description: Add one IPv4/6  address to the database.
  input: Expects a single IPv4/6 address as plain text.
del:
  uri: /api/del
  method: any
  description: Delete one or more IPv4/6 addresses from the database. 
  input: Expects a list of kown IPv4/6 addresses in plain text format one per line.

Docker compose examples

Host
---

services:
  threatinsert:
    image: plaenkler/threatinsert:latest
    container_name: threatinsert
    restart: always
    network_mode: host
    volumes:
      - ./threatinsert:/app/data
    environment:
      - TI_PORT=80
Bridge
---

services:
  threatinsert:
    image: plaenkler/threatinsert:latest
    container_name: threatinsert
    restart: always
    networks:
      - web
    ports:
      - 80:80
    volumes:
      - ./threatinsert:/app/data
    environment:
      - TI_PORT=80

networks:
  web:
    external: false
MACVLAN
---

services:
  threatinsert:
    image: plaenkler/threatinsert:latest
    container_name: threatinsert
    restart: always
    networks:
      web:
        ipv4_address: 10.10.10.2
    volumes:
      - ./threatinsert:/app/data
    environment:
      - TI_PORT=80

networks:
  web:
    name: web
    driver: macvlan
    driver_opts:
      parent: eth0
    ipam:
      config:
        - subnet: "10.10.10.0/24"
          ip_range: "10.10.10.0/24"
          gateway: "10.10.10.1"

Tag summary

Content type

Image

Digest

sha256:0543b446c

Size

57.1 MB

Last updated

over 1 year ago

docker pull plaenkler/threatinsert