mirror of https://github.com/fail2ban/fail2ban
master
gh-2834-rndtime
debian
0.11
test-3.13.0-alpha.2
1.0
gh-3497
0.10
0.9
ipv6-support
f2b-perfom-prepare-716
0.8
debian-releases/experimental
_tent/cache-config-read
debian-releases/wheezy
_bf/multiline_action_options
pristine-tar
_tent/ipv6_adapter_cmd
debian-devel
debian-releases/squeeze
_tent/robust_datematching
bf/email-content-type
_tent/cycle-log
_tent/expose_banned_ips
debian-upstream
_tent/ipv6_via_aInfo
0.x
debian-releases/etch.security
debian-releases/etch
debian-releases/sarge.bpo
0.6
0.5
1.1.0
1.0.2
1.0.1
0.11.2
0.10.6
0.11.1
0.10.5
0.10.4
0.10.3.1
0.10.3
debian/0.10.2-2
debian/0.10.2-1
debian/0.9.7-2
debian/0.9.7-1
0.9.7
debian/0.9.6-2
debian/0.9.6-1
0.9.6
debian/0.9.5-1
0.9.5
debian/0.9.4-1
0.9.4
debian/0.9.3-1
0.9.3
debian/0.9.2-1
0.9.2
debian/0.9.1+git44-gd65c4f8-1
debian/0.9.1-1
0.9.1
debian/0.9.0+git252-g47441d1-1
0.8.14
debian/0.8.4-3+squeeze3
debian/0.8.6-3wheezy3
debian/0.9.0+git48-gabcab00-1
debian/0.9.0+git37-gdeb5924-1
debian/0.8.13-1
0.9.0a2
debian/0.8.11-1
debian/0.8.11_pre1+git29-gccd2657-1
debian/0.8.10-3
debian/0.8.6-3wheezy2
debian/0.8.4-3+squeeze2
debian/0.8.10-1
debian/0.8.9-1
0.8.10
0.9.0a1
0.8.9
debian/0.8.6-3wheezy1
debian/0.8.8-1+lucid0
debian/0.8.8-1
0.8.8
0.8.7.1
debian/0.8.7-1
0.8.7
debian/0.8.6_+git69-gb4099da-1
debian/0.8.4-3+squeeze1
debian/0.8.6-3
debian/0.8.6-2
debian/0.8.6-1
0.8.6
debian/0.5.2-1
sdist/0.7.4
sdist/0.7.5
sdist/0.7.6
sdist/0.7.7
sdist/0.7.8
sdist/0.7.9
sdist/0.8.0
sdist/0.8.1
sdist/0.8.2
sdist/0.8.3
sdist/0.8.4
sdist/0.8.4+svn20110323
sdist/0.8.5
sdist/0.5.3
sdist/0.5.4
sdist/0.6.0
sdist/0.6.1
sdist/0.5.2
0.5.3
0.5.4
0.5.5
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.1.1
0.3.0
0.3.1
0.4.0
0.4.1
0.5.1
0.5.2
0.1.0
debian/0.8.5-2
debian/0.8.5-1
debian/0.8.4+svn20110323-1
debian/0.8.4-3
debian/0.8.4-2
debian/0.8.4-1
0_8_4
upstream/0.8.4
debian/0.8.3-6
debian/0.8.3-2sid1
debian/0.8.3-5
debian/0.8.3-4
debian/0.8.3-3
upstream/0.8.3
upstream/0.8.2
0.10.0
0.10.0a1
0.10.1
0.10.2
0.8.11
0.8.11.pre1
0.8.12
0.8.12-smartos
0.8.13
0.9.0
0_1_0
0_1_1
0_3_0
0_3_1
0_4_0
0_4_1
0_5_1
0_5_2
0_5_3
0_5_3-PROPAGATE_DEBIAN_PATCHES
0_5_4
0_5_5
0_6_0
0_6_1
0_6_2
0_7_0
0_7_1
0_7_3
0_7_4
0_7_5
0_7_6
0_7_7
0_7_8
0_7_9
0_8_0
0_8_1
0_8_2
0_8_3
CVE-2013-7176
CVE-2013-7177
debian-0.9.X
debian/0.5.2-2
debian/0.5.3-1
debian/0.5.3-2
debian/0.5.4-1
debian/0.5.4-10
debian/0.5.4-2
debian/0.5.4-5
debian/0.5.4-5.10
debian/0.5.4-5.14
debian/0.5.4-5.6
debian/0.5.4-5.7
debian/0.5.4-5post1
debian/0.5.4-7
debian/0.5.4-8
debian/0.6.0-3
debian/0.6.0-3.3
debian/0.6.0-6
debian/0.6.0-8.1
debian/0.6.1-1
debian/0.6.1-11
debian/0.6.1-8
debian/0.6.2-1
debian/0.7.3-2
debian/0.7.4-2
debian/0.7.4-3
debian/0.7.5-1
debian/0.7.5-2
debian/0.7.5-2etch1
debian/0.7.5-2etch1+pre1
debian/0.7.5-2full
debian/0.7.5-3+pre6
debian/0.7.6-1
debian/0.7.6-3
debian/0.7.7-1
debian/0.7.8-1
debian/0.7.9-1
debian/0.8.0-1
debian/0.8.0-2
debian/0.8.1-1
debian/0.8.1-2
debian/0.8.1-3
debian/0.8.1-4
debian/0.8.1-5
debian/0.8.2-1
debian/0.8.2-2
debian/0.8.2-3
debian/0.8.3-1
debian/0.8.3-2
debian/0.9.X-python3
debian/PREPATCH_TO_UPSTREAM_0.5.0
debian/python3
fail2ban_0.9.X
upstream/0.5.2
upstream/0.5.3
upstream/0.5.4
upstream/0.6.0
upstream/0.6.1
upstream/0.7.4
upstream/0.7.5
upstream/0.7.6
upstream/0.7.7
upstream/0.7.8
upstream/0.7.9
upstream/0.8.0
upstream/0.8.1
${ noResults }
6 Commits (ab9d41e5309b417a3c7a84fa8f03cf4f93831f1b)
Author | SHA1 | Message | Date |
---|---|---|---|
Yaroslav Halchenko | e96ecf78c1 |
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2 ./files/fail2ban-openrc.conf ./fail2ban/tests/fail2banclienttestcase.py", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ |
1 year ago |
Michael Orlitzky | 4e7419e71f |
files/fail2ban-openrc.conf: add back the "-x" example.
I've removed the stale socket cleanup from our OpenRC service script: * Cleaning up stale sockets isn't really the job of the service script. * The ability to ignore a stale socket is already built into the server. With it gone, maybe the "-x" is a useful example to have in the conf file (although it's commented-out by default, anyway). |
4 years ago |
Michael Orlitzky | 654fda8a50 |
files/fail2ban-openrc*: let start-stop-daemon manage the server.
There are two ways that it would make sense to write the OpenRC service script for fail2ban: 1. Use the fail2ban-client program to stop, start, reload, etc. the server; and try to figure out whether or not it worked afterwards. 2. Use the start-stop-daemon program built into OpenRC to manage the fail2ban-server process. This works only for starting and stopping, because the "reload" command is sent over an undocumented protocol, but has the benefit that you get immediate feedback about the result of calling fail2ban-server. The existing service script combined the two in a way that appeared to work, but didn't make too much sense. It used start-stop-daemon to initiate the fail2ban-client program with either a "start" or "stop" argument. So long as everything goes fine, that appears to work. But the start-stop-daemon is not actually monitoring the fail2ban-client program; it's supposed to be monitoring the fail2ban-server process that gets started as side-effect. The existing stop() function does not do quite what you'd expect; for example the "stop" command is never sent. Again, the daemon does ultimately get stopped so long as the hard-coded PID file contains what you think it does -- so it "works" -- but is misleading. This commit changes everything to use the second approach above, where start-stop-daemon manages everything. This was done mainly to simplify the service script, because now the default start() and stop() phases can be used, allowing us to delete them from our copy. One might worry that there is some special magic behind "fail2ban-client start" and "fail2ban-client stop", however that does not appear to be the case. Admittedly, if in the future those two commands begin to do something nonstandard, the service script would need to be changed again to take the first approach above and use fail2ban-client for everything. |
4 years ago |
Michael Orlitzky | eb58e90ba9 |
files/fail2ban-openrc.conf: remove a commented example setting.
Our OpenRC conf file already tells users how to find the available options that can be placed in the FAIL2BAN_OPTIONS variable, so having a specific example of, FAIL2BAN_OPTIONS="-x" doesn't provide much more information. In fact, it makes you wonder why it's there in the first place: does the init script have some kind of problem with stale sockets? It used to, but that problem has been fixed. This commit removes the redundant example. |
6 years ago |
Michael Orlitzky | 1cec3d05b8 |
files/fail2ban-openrc.conf: remove hard-coded paths.
There were two paths mentioned in comments in the fail2ban OpenRC conf file, but those paths aren't guaranteed to be correct (until/unless we integrate the conf file with the build system). The first comment referenced the physical location of the associated init script, and in my opinion is not useful to an end user in the first place. It has been removed: OpenRC users know what this file is for, there's no reason to repeat it in a comment. The second comment contained an absolute path to fail2ban-client, and I've removed the leading path components because "fail2ban-client" is generally run from your $PATH. |
6 years ago |
Michael Orlitzky | 884f708bd7 |
fail2ban/files: rename "gentoo" files to "openrc".
We ship a service script and configuration file for "gentoo" that are actually more generally applicable: they work on any system where OpenRC is used. This commit simply renames the files from "gentoo" to "openrc" to reflect the fact that they are in no way Gentoo-specific. |
6 years ago |