Categorygithub.com/mdouchement/geoblock-proxy
modulepackage
0.4.2
Repository: https://github.com/mdouchement/geoblock-proxy.git
Documentation: pkg.go.dev

# README

geoblock-proxy

Simple Geoblocking Proxy that allows or blocks incoming connections for the specified countries or CIDR. It works at TCP or UDP level.

This project relies IP2Location LITE data available from lite.ip2location.com database

  • Databases: https://download.ip2location.com/lite
  • go run .tools/ip2location-download/main.go https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.BIN.ZIP IP2LOCATION-LITE-DB1.BIN

License

MIT

Contributing

All PRs are welcome.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

# Packages

No description provided by the author
No description provided by the author

# Functions

NewEvaluator returns a new Evaluator.

# Constants

Supported default actions.
Supported default actions.
Rule data types.
Rule data types.

# Structs

No description provided by the author
An Evaluator evaluates whether an IP is allowed or blocked.
No description provided by the author

# Type aliases

No description provided by the author