Update logstash config for new Dicompot fields
Revert Dionaea back to 0.8.0, latest master was unstable
This commit is contained in:
t3chn0m4g3 2020-06-26 23:48:48 +00:00
parent 6419f4d521
commit 16a7cdb975
3 changed files with 11 additions and 11 deletions

View file

@ -35,9 +35,10 @@ RUN apt-get update -y && \
fonts-liberation && \ fonts-liberation && \
# #
# Get and install dionaea # Get and install dionaea
git clone --depth=1 https://github.com/dinotools/dionaea /root/dionaea/ && \ # Latest master is unstable, SIP causes crashing
git clone --depth=1 https://github.com/dinotools/dionaea -b 0.8.0 /root/dionaea/ && \
cd /root/dionaea && \ cd /root/dionaea && \
git checkout 1426750b9fd09c5bfeae74d506237333cd8505e2 && \ #git checkout 1426750b9fd09c5bfeae74d506237333cd8505e2 && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dionaea .. && \ cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dionaea .. && \

View file

@ -1,5 +1,8 @@
version: '2.3' version: '2.3'
networks:
dionaea_local:
services: services:
# Dionaea service # Dionaea service
@ -9,7 +12,8 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
restart: always restart: always
network_mode: "host" networks:
- dionaea_local
ports: ports:
- "20:20" - "20:20"
- "21:21" - "21:21"
@ -38,3 +42,4 @@ services:
- /data/dionaea/binaries:/opt/dionaea/var/dionaea/binaries - /data/dionaea/binaries:/opt/dionaea/var/dionaea/binaries
- /data/dionaea/log:/opt/dionaea/var/log - /data/dionaea/log:/opt/dionaea/var/log
- /data/dionaea/rtp:/opt/dionaea/var/dionaea/rtp - /data/dionaea/rtp:/opt/dionaea/var/dionaea/rtp

View file

@ -314,9 +314,8 @@ filter {
} }
mutate { mutate {
rename => { rename => {
"[Address][IP]" => "src_ip" "IP" => "src_ip"
"[Address][Port]" => "src_port" "Port" => "src_port"
"[Address][Zone]" => "zone"
"AETitle" => "aetitle" "AETitle" => "aetitle"
"Command" => "input" "Command" => "input"
"Files" => "files" "Files" => "files"
@ -326,11 +325,6 @@ filter {
"Version" => "version" "Version" => "version"
} }
} }
if [Address] {
mutate {
remove_field => "[Address]"
}
}
} }
# ElasticPot # ElasticPot