mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update
This commit is contained in:
@@ -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"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,16 @@
|
|||||||
snort (WIP)
|
snort
|
||||||
===========
|
=====
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[`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/
|
||||||
|
|||||||
Reference in New Issue
Block a user