mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -45,4 +45,4 @@ RUN apk -U --no-cache add bash \
|
||||
|
||||
# Run supervisor upon container start
|
||||
WORKDIR /opt/glutton
|
||||
CMD exec bin/server -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) -l /var/log/glutton/glutton.log -d true
|
||||
CMD exec bin/server -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) -l /var/log/glutton/glutton.log
|
||||
|
16
docker/glutton/dist/rules.yaml
vendored
16
docker/glutton/dist/rules.yaml
vendored
@ -1,11 +1,4 @@
|
||||
rules:
|
||||
- match: tcp dst port 5001
|
||||
type: passthrough
|
||||
name: ssh
|
||||
- match: tcp dst port 22 or port 2222
|
||||
type: conn_handler
|
||||
name: proxy_ssh
|
||||
target: tcp://172.17.0.2:22
|
||||
- match: tcp dst port 23 or port 2323 or port 23231
|
||||
type: conn_handler
|
||||
target: telnet
|
||||
@ -24,15 +17,6 @@ rules:
|
||||
- match: tcp dst port 5060
|
||||
type: conn_handler
|
||||
target: sip
|
||||
- match: tcp dst port 1080
|
||||
type: passthrough
|
||||
name: http
|
||||
- match: tcp dst port 6000 or port 7000
|
||||
type: conn_handler
|
||||
name: proxy_tcp
|
||||
target: tcp://172.17.0.2:22
|
||||
- match: tcp
|
||||
type: conn_handler
|
||||
target: default
|
||||
- match: udp
|
||||
type: drop
|
@ -5,14 +5,10 @@ services:
|
||||
|
||||
# glutton service
|
||||
glutton:
|
||||
build: .
|
||||
container_name: glutton
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
#networks:
|
||||
# - glutton_local
|
||||
#ports:
|
||||
# - "5000:5000"
|
||||
# - "22:5000"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
image: "dtagdevsec/glutton:1804"
|
||||
|
Reference in New Issue
Block a user