Snorter
Snorter copied to clipboard
Docker build requires interactivity
The docker build command requires interaction from the user which isn't possible. This is at multiple stages of the install.
make[2]: Entering directory '/root/snort_src/snort'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 snort.8 '/usr/local/share/man/man8'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 snort.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/root/snort_src/snort'
make[1]: Leaving directory '/root/snort_src/snort'
[+] INFO: snort-2.9.11.1 installed successfully.
[i] INFO: Adding user and group SNORT.
[i] INFO: /var/log/snort and /etc/snort created and configurated.
,,_ -*> Snort! <*-
o" )~ Version 2.9.11.1 GRE (Build 268)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
Copyright (C) 2014-2017 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using libpcap version 1.8.1
Using PCRE version: 8.39 2016-06-14
Using ZLIB version: 1.2.8
[+] INFO: SNORT is successfully installed and configurated!
[!] INFO: Now it's time to edit the SNORT configuration file.
[i] INFO: Add your HOME_NET address [Ex: 192.168.1.0/24]
[!] WARNING: Press ENTER to continue. Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
# 7) Customize your rule set
# 8) Customize preprocessor and decoder rule set
# 9) Customize shared object rule set
###################################################
###################################################
# Step #1: Set the network variables. For more information, see README.variable
s
###################################################
# Setup the network addresses you are protecting
At this point you have to exit forcefully and the docker build command fails
There is also an issue with the input of the sql db password
Got it. The only way to solve it is doing some kind of sed, to not modify the original source code.
I’ll look into it. If you have some suggestion, add it here and of course, if you have time, Pull requests are welcome :)
Hey! Any update regarding this issue?
Hey @iamironz unfortunately not, but Pull Requests are very much welcome :)