This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
forked from OpenAttackDefenseTools/tulip
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flagid Scan and Scraper can now be enabled/disabled (use start.sh)
Flagid scanner now uses Aho-Corasick added script for testing (test.sh) seperated flagid configs
- Loading branch information
gfelber
committed
Mar 9, 2024
1 parent
56d5683
commit 1a3e75c
Showing
11 changed files
with
197 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
version: "3.2" | ||
services: | ||
mongo: | ||
image: mongo:5 | ||
networks: | ||
- internal | ||
restart: always | ||
ports: | ||
- "27017:27017" | ||
|
||
frontend: | ||
build: | ||
context: frontend | ||
dockerfile: Dockerfile-frontend | ||
image: tulip-frontend:latest | ||
restart: unless-stopped | ||
ports: | ||
- "3000:3000" | ||
depends_on: | ||
- mongo | ||
- api | ||
networks: | ||
- internal | ||
environment: | ||
API_SERVER_ENDPOINT: http://api:5000/ | ||
|
||
api: | ||
build: | ||
context: services/api | ||
dockerfile: Dockerfile-api | ||
image: tulip-api:latest | ||
restart: unless-stopped | ||
depends_on: | ||
- mongo | ||
networks: | ||
- internal | ||
volumes: | ||
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro | ||
environment: | ||
TULIP_MONGO: ${TULIP_MONGO} | ||
TULIP_TRAFFIC_DIR: ${TRAFFIC_DIR_DOCKER} | ||
FLAG_REGEX: ${FLAG_REGEX} | ||
TICK_START: ${TICK_START} | ||
TICK_LENGTH: ${TICK_LENGTH} | ||
VM_IP: ${VM_IP} | ||
|
||
flagids: | ||
restart: unless-stopped | ||
build: | ||
context: services/flagids | ||
image: tulip-flagids:latest | ||
depends_on: | ||
- mongo | ||
networks: | ||
- internal | ||
environment: | ||
TULIP_MONGO: ${TULIP_MONGO} | ||
TICK_START: ${TICK_START} | ||
TICK_LENGTH: ${TICK_LENGTH} | ||
TEAM_ID: ${TEAM_ID} | ||
FLAGID_ENDPOINT: ${FLAGID_ENDPOINT} | ||
|
||
assembler: | ||
build: | ||
context: services/go-importer | ||
dockerfile: Dockerfile-assembler | ||
image: tulip-assembler:latest | ||
restart: unless-stopped | ||
depends_on: | ||
- mongo | ||
networks: | ||
- internal | ||
volumes: | ||
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro | ||
command: "./assembler -dir ${TRAFFIC_DIR_DOCKER}" | ||
environment: | ||
TULIP_MONGO: ${TULIP_MONGO} | ||
FLAG_REGEX: ${FLAG_REGEX} | ||
TICK_LENGTH: ${TICK_LENGTH} | ||
FLAGID_SCAN: ${FLAGID_SCAN} | ||
FLAG_LIFETIME: ${FLAG_LIFETIME} | ||
PCAP_OVER_IP: ${PCAP_OVER_IP} | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
|
||
|
||
enricher: | ||
build: | ||
context: services/go-importer | ||
dockerfile: Dockerfile-enricher | ||
image: tulip-enricher:latest | ||
restart: unless-stopped | ||
depends_on: | ||
- mongo | ||
networks: | ||
- internal | ||
volumes: | ||
- ${TRAFFIC_DIR_HOST}:${TRAFFIC_DIR_DOCKER}:ro | ||
command: "./enricher -eve ${TRAFFIC_DIR_DOCKER}/eve.json" | ||
environment: | ||
TULIP_MONGO: ${TULIP_MONGO} | ||
|
||
networks: | ||
internal: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.