Skip to content

Commit

Permalink
Merge pull request #107 from V1D1AN/devel
Browse files Browse the repository at this point in the history
Update tcpreplay to the version 2.0
  • Loading branch information
V1D1AN committed Jul 3, 2023
2 parents 893a179 + 258dd87 commit 744cc7a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
18 changes: 7 additions & 11 deletions docker-compose-multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ services:
- ./rules/suricata:/etc/suricata/rules
- ./suricata/suricata.yaml:/etc/suricata/suricata.yaml
- ./suricata/threshold.config:/etc/suricata/threshold.config
- upload:/pcap
- suricatadata:/var/log/suricata
- suricatapcap:/var/log/suricata/pcap
logging:
Expand Down Expand Up @@ -451,9 +452,11 @@ services:
- SYS_NICE
restart: always
command: -C -i af_packet::network_monitoring local
working_dir: /zeek
volumes:
- zeekdata:/pcap
- zeekfiles:/extract_files
- upload:/pcap
- zeekdata:/zeek
- zeekfiles:/zeek/extract_files
- ./zeek/config.zeek:/usr/local/zeek/share/zeek/site/file-extraction/config.zeek:ro
logging:
driver: "json-file"
Expand All @@ -462,25 +465,18 @@ services:
max-file: "3"

tcpreplay:
image: v1d1an/tcpreplay:1.0
image: v1d1an/tcpreplay:2.0
container_name: tcpreplay
hostname: tcpreplay
restart: always
user: root
network_mode: "host"
privileged: true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
environment:
MONITOR: network_monitoring
cap_add:
- NET_RAW
- NET_ADMIN
volumes:
- upload:/pcap
- /var/run/docker.sock:/var/run/docker.sock

file-upload:
image: v1d1an/file-upload:1.1
Expand Down
18 changes: 7 additions & 11 deletions docker-compose-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ services:
- ./rules/suricata:/etc/suricata/rules
- ./suricata/suricata.yaml:/etc/suricata/suricata.yaml
- ./suricata/threshold.config:/etc/suricata/threshold.config
- upload:/pcap
- suricatadata:/var/log/suricata
- suricatapcap:/var/log/suricata/pcap
logging:
Expand Down Expand Up @@ -372,9 +373,11 @@ services:
- SYS_NICE
restart: always
command: -C -i af_packet::network_monitoring local
working_dir: /zeek
volumes:
- zeekdata:/pcap
- zeekfiles:/extract_files
- upload:/pcap
- zeekdata:/zeek
- zeekfiles:/zeek/extract_files
- ./zeek/config.zeek:/usr/local/zeek/share/zeek/site/file-extraction/config.zeek:ro
logging:
driver: "json-file"
Expand All @@ -383,25 +386,18 @@ services:
max-file: "3"

tcpreplay:
image: v1d1an/tcpreplay:1.0
image: v1d1an/tcpreplay:2.0
container_name: tcpreplay
hostname: tcpreplay
restart: always
user: root
network_mode: "host"
privileged: true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
environment:
MONITOR: network_monitoring
cap_add:
- NET_RAW
- NET_ADMIN
volumes:
- upload:/pcap
- /var/run/docker.sock:/var/run/docker.sock

file-upload:
image: v1d1an/file-upload:1.1
Expand Down

0 comments on commit 744cc7a

Please sign in to comment.