hi,
there is a problem with Filter Action Jails:
if i enter multible log file paths,
i am prompted, that there is an error,
i should only enter absolute paths.
in fact it's not possible to enter multiple paths from this option.
the only way is to enter them manually in the local config file.
they are then well displayed in the Filter Action Jails option page,
but if you would save this, you get same error message.
reproducable
cheers
Which webmin version are you running there? Because the current release supports multiple log file paths just fine..
Hi,
thanks for your mail,
I'm on
Webmin 1.760 on Debian 8 on VPS server.
cheers
-----Ursprungliche Nachricht-----
Von: Jamie Cameron [mailto:jcameron@users.sf.net]
Gesendet: Mittwoch, 9. September 2015 07:07
An: [webadmin:bugs]
Betreff: [webadmin:bugs] #4636 fail2ban Filter Action Jails
Which webmin version are you running there? Because the current release
supports multiple log file paths just fine..
----------------------------------------------------------------------------
[bugs:#4636] fail2ban Filter Action Jails
Status: open
Group: 1.760
Created: Tue Sep 08, 2015 12:43 PM UTC by M.T.R
Last Updated: Tue Sep 08, 2015 12:43 PM UTC
Owner: nobody
hi,
there is a problem with Filter Action Jails:
if i enter multible log file paths,
i am prompted, that there is an error,
i should only enter absolute paths.
in fact it's not possible to enter multiple paths from this option.
the only way is to enter them manually in the local config file.
they are then well displayed in the Filter Action Jails option page,
but if you would save this, you get same error message.
reproducable
cheers
----------------------------------------------------------------------------
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/webadmin/bugs/4636/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#4636this setting i can do manually in jail.local:
[APACHE]
enabled = true
filter = APACHE
action = IPTABLES_DEFAULT[name=APACHE]
logpath = /etc/apache2/example1.com-error.log
/etc/apache2/example2.com-error.log
/etc/apache2/example3.com-error.log
/etc/apache2/example4.com-error.log
/etc/apache2/example5.com-error.log
maxretry = 1
findtime = 1
bantime = -1
if i access Fail2Ban Intrusion Detector/Filter Action Jails/APACHE
i can read the settings fine,
but as soon as i want to save them there,
i get error message concerning absolute path ...
hope this helps
cheers
Can you post the exact error message?
the error message is:
Failed to save jail : All log files must be absolute paths or patterns
hope this helps
cheers
In your config, is :
logpath = /etc/apache2/example1.com-error.log
/etc/apache2/example2.com-error.log
/etc/apache2/example3.com-error.log
/etc/apache2/example4.com-error.log
/etc/apache2/example5.com-error.log
All one long line?
Hi,
no,
they are line by line (and they are working fine)
logpath = /etc/apache2/example1.com-error.log
/etc/apache2/example2.com-error.log
/etc/apache2/example3.com-error.log
/etc/apache2/example4.com-error.log
/etc/apache2/example5.com-error.log
cheers
Last edit: M.T.R 2015-09-11
In your browser on the Edit Jail page, do each of those log files appear on a separate line, or all they all on one long line?
i attach a screenshot.
cheers
Ok, I think I see the cause - this will be fixed in the next Webmin release.