Skip to content

Releases: PascalMinder/geoblock

v0.3.3

27 Apr 15:31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.2...v0.3.3

v0.3.2

11 Feb 11:08
Compare
Choose a tag to compare

Fixes the issue that the blocking did not work.

Redirect on block

24 Jan 14:32
Compare
Choose a tag to compare

It is now possible to redirect a client to a defined URL instead of blocking it.

v0.3.0

19 Jan 09:07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.8...v0.3.0

New configuration options

07 Apr 19:39
Compare
Choose a tag to compare
  • Adds a new option, to ignore any API timeout error and still allow the request
  • Adds the option to configure the name of an HTTP header field to get the geolocation of the request from.
  • Add the option to specify a custom HTTP code for a denied request.

Add silent option

05 Nov 09:00
Compare
Choose a tag to compare

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

13 Jun 13:33
Compare
Choose a tag to compare

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

21 Jan 14:04
Compare
Choose a tag to compare

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

Switch between white and black list

29 Dec 14:22
c95af23
Compare
Choose a tag to compare

Thanks to @tmeckel

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

Fixed plugin logging

19 Jul 19:23
Compare
Choose a tag to compare

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]