Installation

  1. Install the module dependencies:
apt update && apt install -y libcurl4 libapr1 libjansson4 libaprutil1 bzip2
yum update && yum install -y jansson libcurl apr apr-util pcre
  1. Extract the module:
bunzip2 envoy.bz2
  1. Copy the new Envoy binary to /usr/local/bin/ folder:
cp envoy /usr/local/bin/
  1. In your config.yaml file add, a new filter in the http_filters section:
http_filters:
    ...
    - name: perimeterx
      typed_config:
        "@type": type.googleapis.com/udpa.type.v1.TypedStruct
        type_url: type.googleapis.com/envoy.extensions.filters.http.perimeterx
        value:
          px_enabled: true
          px_appid: "<APP_ID>"
          px_cookie_secret: "<COOKIE_SECRET>"
          px_auth_token: "<AUTH_TOKEN>"

Make sure to update the following required properties:


Next