Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed directly defined banaction for allports jails like pam-generic, recidive, etc #1238

Merged
merged 1 commit into from Oct 31, 2015

Conversation

sebres
Copy link
Contributor

@sebres sebres commented Oct 30, 2015

Fixed directly defined banaction for allports jails like pam-generic, recidive, etc with new default variable banaction_allports (+ man entries for both variables added);

closes gh-1216

… recidive, etc with new default variable `banaction_allports` (+ man entries for both variables added);

closes fail2bangh-1216
@sebres sebres added the easyfix label Oct 30, 2015
sebres added a commit that referenced this pull request Oct 31, 2015
Fixed directly defined banaction for allports jails like pam-generic, recidive, etc
@sebres sebres merged commit eef7771 into fail2ban:master Oct 31, 2015
@sebres sebres deleted the fix/gh-1216 branch October 31, 2015 12:18
@@ -146,6 +146,12 @@ Ensure syslog or the program that generates the log file isn't configured to com
.B logencoding
encoding of log files used for decoding. Default value of "auto" uses current system locale.
.TP
.B banaction
default banning action (iptables-multiport) for all jails specified in the \fI[DEFAULT]\fR section.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default section doesn't have jails. Jails are all other sections and default one just provides defaults

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but I meant: the banning action (for all jails) specified in the [DEFAULT] section.
Not the jails in default section. My bad english :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could also be specified per jail. Again, DEFAULTS are just defaults. So no need to state where it is since it can be anywhere

On October 31, 2015 10:18:58 AM EDT, "Serg G. Brester" notifications@github.com wrote:

@@ -146,6 +146,12 @@ Ensure syslog or the program that generates the
log file isn't configured to com
.B logencoding
encoding of log files used for decoding. Default value of "auto"
uses current system locale.
.TP
+.B banaction
+default banning action (iptables-multiport) for all jails specified
in the \fI[DEFAULT]\fR section.

Yes, but I meant: the banning action (for all jails) specified in the
[DEFAULT] section.
Not the jails in default section. My bad english :(


Reply to this email directly or view it on GitHub:
https://github.com/fail2ban/fail2ban/pull/1238/files#r43572222

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I know, but point of this commit resp. of this variables to specify it central in [DEFAULT] section of jail.local, just to not specify it per jail.
Also one place for all "normal" jails and one for "allports" jails...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. But my comment is about documentation. Now it is misleading and needs to be fixed up.

On October 31, 2015 11:08:46 AM EDT, "Serg G. Brester" notifications@github.com wrote:

@@ -146,6 +146,12 @@ Ensure syslog or the program that generates the
log file isn't configured to com
.B logencoding
encoding of log files used for decoding. Default value of "auto"
uses current system locale.
.TP
+.B banaction
+default banning action (iptables-multiport) for all jails specified
in the \fI[DEFAULT]\fR section.

Yes I know, but point of this commit resp. of this variables to specify
it central in [DEFAULT] section of jail.local, just to not specify it
per jail.
Also one place for all "normal" jails and one for "allports" jails...


Reply to this email directly or view it on GitHub:
https://github.com/fail2ban/fail2ban/pull/1238/files#r43572728

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it is misleading

Now it is available (before it was at all not documented) ... but I've corrected my "mistake" in 5767191.

@yarikoptic yarikoptic modified the milestone: 0.9.4 Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants