2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2015-09-03 10:08:27 +08:00
parent 9ae4aa5c77
commit 8537fe39c0
2 changed files with 14 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ RUN apt-get update \
&& make install \ && make install \
&& cd .. \ && cd .. \
&& rm -rf snort \ && rm -rf snort \
&& mkdir -p /etc/snort/rules \
&& curl -sSL https://snort.org/rules/community | tar xz -C /etc/snort/rules \
&& apt-get purge -y --auto-remove build-essential \ && apt-get purge -y --auto-remove build-essential \
bison \ bison \
flex \ flex \
@@ -48,4 +50,6 @@ RUN apt-get update \
libpcre3-dev \ libpcre3-dev \
zlib1g-dev zlib1g-dev
CMD ["snort", "--help"] ENTRYPOINT ["snort"]
CMD ["--help"]

View File

@@ -1,9 +1,16 @@
snort (WIP) snort
=========== =====
![](https://badge.imagelayers.io/vimagick/snort:latest.svg) ![](https://badge.imagelayers.io/vimagick/snort:latest.svg)
[`Snort`][1] is an open source intrusion prevention system capable of real-time [`Snort`][1] is an open source intrusion prevention system capable of real-time
traffic analysis and packet logging. traffic analysis and packet logging.
## Quick Start
```
$ alias snort='docker run --rm --net host -v `pwd`:/work -w /work vimagick/snort'
$ snort -vde
```
[1]: https://snort.org/ [1]: https://snort.org/