Skip to content

Releases: PascalMinder/geoblock

Add silent option

Choose a tag to compare

@PascalMinder PascalMinder released this 05 Nov 09:00

Adds the silentStartUp option, which, if enabled, does not show any configuration output at start up.

Add `addCountryHeader` option to add HTTP `X-IPCountry` request header

Choose a tag to compare

@PascalMinder PascalMinder released this 13 Jun 13:33

Add a new option addCountryHeader, which allows adding the HTTP X-IPCountry request header to any incoming request.

Thanks to rjmidau

Add support to define a list of whitelisted IP addresses

Choose a tag to compare

@PascalMinder PascalMinder released this 21 Jan 14:04

Adds a new configuration option, which allows specifying allowed IP addresses or IP address blocks

Switch between white and black list

Choose a tag to compare

@PascalMinder PascalMinder released this 29 Dec 14:22
c95af23

Thanks to @tmeckel

Allows using the list of countries as a white or black list.

Fixed plugin logging

Choose a tag to compare

@PascalMinder PascalMinder released this 19 Jul 19:23

Creates logs like:

INFO: GeoBlock: 2022/07/19 15:13:59 allow local IPs: true
INFO: GeoBlock: 2022/07/19 15:13:59 log local requests: false
INFO: GeoBlock: 2022/07/19 15:13:59 log allowed requests: true
INFO: GeoBlock: 2022/07/19 15:13:59 log api requests: false
INFO: GeoBlock: 2022/07/19 15:13:59 API uri: https://get.geojs.io/v1/ip/country/{ip}
INFO: GeoBlock: 2022/07/19 15:13:59 API timeout: 750
INFO: GeoBlock: 2022/07/19 15:13:59 cache size: 15
INFO: GeoBlock: 2022/07/19 15:13:59 force monthly update: true
INFO: GeoBlock: 2022/07/19 15:13:59 allow unknown countries: false
INFO: GeoBlock: 2022/07/19 15:13:59 unknown country api response: nil
INFO: GeoBlock: 2022/07/19 15:13:59 allowed countries: [GB IS]

Configurable API timeout

Choose a tag to compare

@PascalMinder PascalMinder released this 07 Apr 16:48

Adds an optional API timeout configuration

Fix .traefik.yml

Choose a tag to compare

@PascalMinder PascalMinder released this 12 Mar 08:53
715553f

Fixes spelling mistake in .traefik.yml.

Use camel case in configuration

Choose a tag to compare

@PascalMinder PascalMinder released this 12 Mar 08:50

This release changes the configuration file variables. It now uses camel case for easier reading.
Additionally, it prevents logging reading and writing to the database.

Release v0.1.7

Choose a tag to compare

@PascalMinder PascalMinder released this 30 Dec 10:13
  • Added LRU cache for IP addresses
  • Added an "unknown country" IP address option

Disable local request logging

Pre-release

Choose a tag to compare

@PascalMinder PascalMinder released this 11 Apr 12:22
188dbb7
v0.1.6

"Disable local request logging"