From: Willem J. W. <wj...@di...> - 2013-09-25 12:13:34
|
On 2013-09-04 13:41, Joop Boonen wrote: > Dear all, > > I have a question/request about the sshguard arguments. > > Currently the white lists are entered via -w .. -w .. -w etc > And the watched logs via -l .. -l .. -l etc > > As this is not easily maintainable via a configuration files that holds > the variable with white spaces. > I have a request could the input for the white lists and the watched > logs be changed? > For -w <var1> -w <var2> etc to -w <var1> <var2> etc and the the white > list will also except an empty with list -w <space> How about loading all the whitelist address into a file and letting sshguard load that file.... Way much more easily mainted > And for the watched logs -l <var1> -l <var2> etc to -l <var1> <var2> an > empty value is in the case not needed, as it doesn't make sense. If you want to do this on the commandline? Just script it a bit eg.: logifles = ` echo $logfilelist | sed -e '/^/-l /' -e '/ / -l /'` --WjW |