Browse Source

* new version

master v0.6
Alex 'AdUser' Z 2 years ago
parent
commit
f263c064a7
  1. 2
      CMakeLists.txt
  2. 115
      ChangeLog
  3. 6
      debian/changelog
  4. 3
      debian/control

2
CMakeLists.txt

@ -1,5 +1,5 @@
set(CNAME "f2b") set(CNAME "f2b")
set(VERSION "0.5") set(VERSION "0.6")
project(${CNAME} C) project(${CNAME} C)
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)

115
ChangeLog

@ -6,13 +6,50 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Unreleased ## Unreleased
## [0.6] - 2023-02-07
### Added
* add 'log level <level>' command
* add 'log events' command
* support for libipset > 7.X
* readline support in f2bc
* add log rotation to debian package
* new options for daemon -- "coredumps" && "nice"
* allow jails without filter
* replace simple "match count" with advanced "scored matches"
* add source/filter match tags in stats
* show daemon uptime in status
### Changed
* filters collection now in separate repository
* change modules naming & location
* change 'rotate' command to 'log rotate' for consistency
* client and control socket fully refactored to use plain tcp
* allow redis source/backend fail on start (no network yet)
* filter-test now uses config instead direct library load
* match count now not limited to last 5
* jail's "maxcount" parameter replaced with "maxscore" (need config fix)
* if missing password for control socket in config it will be set random (and send to logfile)
* build system now relies on pkg-config instead cmake modules
### Removed
* multicast source/backend (replaced with f2bcd)
### Fixed
* don't hard depend on mountall
* fix setting jail 'state' param
* SO_PEERCRED is linux-specific now
## [0.5] - 2017-01-19 ## [0.5] - 2017-01-19
### Added ### Added
+ added 'fatal' log facility + added 'fatal' log facility
+ added empty filter for use with sources that providing bare ip address + added empty filter for use with sources that providing bare ip address
+ added doxygen comments to all sources + added doxygen comments to all sources
+ added some documentation: see docs/install.md and docs/configuration.md + added some documentation: see docs/install.md and docs/configuration.md
+ added ability to save and restore banned addresses on reload/restart + added ability to save and restore banned addresses on reload/restart
+ added 'portknock' source + added 'portknock' source
+ added 'mcast' source/backend (not well tested yet) + added 'mcast' source/backend (not well tested yet)
@ -25,72 +62,72 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed ### Fixed
* better error handling in 'redis' source & backend * better error handling in 'redis' source & backend
* fix freopen() calls: std{in,out,err} may be read-only * fix freopen() calls: std{in,out,err} may be read-only
* fix setting uid/git & daemon options * fix setting uid/git & daemon options
* fix compatibility with old pcre (< 8.20) in filter/pcre * fix compatibility with old pcre (< 8.20) in filter/pcre
* fixed f2b-backend-test cmdline parse * fixed f2b-backend-test cmdline parse
* fix setting uid/git & daemon options * fix setting uid/git & daemon options
* fix errcb in 'redis' source * fix errcb in 'redis' source
* fix SIGUSR1 handler * fix SIGUSR1 handler
## [0.4] - 2016-10-07 ## [0.4] - 2016-10-07
### Added ### Added
* make source(s) also a module. now available: * make source(s) also a module. now available:
* files source * files source
* redis source * redis source
* f2b-source-test utility * f2b-source-test utility
* SIGUSR1 handler for logfile reopening * SIGUSR1 handler for logfile reopening
* timeout in client * timeout in client
* filters/nginx-bots.pcre * filters/nginx-bots.pcre
### Changed ### Changed
* f2b-filter-test now show per-pattern match stats * f2b-filter-test now show per-pattern match stats
* install short readme file in conf-enabled dir * install short readme file in conf-enabled dir
* tested & fixed redis backend * tested & fixed redis backend
* f2b-backend-test : simplify usage * f2b-backend-test : simplify usage
* chg jail commands 'show', 'ban' & 'release' : add expicit 'ip' prefix * chg jail commands 'show', 'ban' & 'release' : add expicit 'ip' prefix
* rename commands: regex stats -> filter stats, regex add -> filter reload * rename commands: regex stats -> filter stats, regex add -> filter reload
### Fixed ### Fixed
* inversion of 'shared' option for 'exec' backend * inversion of 'shared' option for 'exec' backend
* correctly write pidfile * correctly write pidfile
* bans with maxretry = 1 * bans with maxretry = 1
* redis detection in cmake * redis detection in cmake
* double free in filter's flush() * double free in filter's flush()
## [0.3] - 2016-09-12 ## [0.3] - 2016-09-12
### Added ### Added
* "jail <jail> regex stats" command * "jail <jail> regex stats" command
* "jail <jail> regex add" command * "jail <jail> regex add" command
* apply CMAKE_INSTALL_PREFIX to configs * apply CMAKE_INSTALL_PREFIX to configs
* added config for exec backend for ipfw * added config for exec backend for ipfw
* redis backend (experimental) * redis backend (experimental)
* added config reload * added config reload
* log file rotation * log file rotation
### Changed ### Changed
* enable 'icase' for filters by default * enable 'icase' for filters by default
* enable 'sharing' for backends by default * enable 'sharing' for backends by default
* tune configs location * tune configs location
* enable hardening in build opts by default * enable hardening in build opts by default
* fix ssh filter patterns * fix ssh filter patterns
* use strl*() instead snprintf()/strncpy() in backends * use strl*() instead snprintf()/strncpy() in backends
* rename tests utils * rename tests utils
* print date/time in log file * print date/time in log file
* disable buffering for logfile * disable buffering for logfile
* add stats() funtion to filter's api * add stats() funtion to filter's api
### Fixed ### Fixed
* fix segfault in preg filter * fix segfault in preg filter
* fix cppcheck warnings * fix cppcheck warnings
* fix bsd build * fix bsd build
* fix termination of daemon * fix termination of daemon
## [0.2] - 2016-08-21 ## [0.2] - 2016-08-21

6
debian/changelog vendored

@ -1,3 +1,9 @@
f2b (0.6-1) unstable; urgency=medium
* new version
-- Alex 'AdUser' Z <ad_user@runbox.com> Tue, 07 Feb 2023 14:00:06 +1000
f2b (0.5-1) unstable; urgency=medium f2b (0.5-1) unstable; urgency=medium
* new version * new version

3
debian/control vendored

@ -10,7 +10,8 @@ Vcs-Browser: https://github.com/AdUser/f2b
Package: f2b Package: f2b
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, f2b-filters Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: f2b-filters
Description: lightweight automatic anti-bot turret for your public serivces Description: lightweight automatic anti-bot turret for your public serivces
Features: Features:
. .

Loading…
Cancel
Save