zevenet / zlb

ZEVENET becomes SKUDONET and RELIANOID
Other
143 stars 29 forks source link

feature request header enrichment #63

Closed iddq closed 4 years ago

iddq commented 4 years ago

header enrichment. add custom header to traffic towards backends.

emiliocampos-zevenet commented 4 years ago

Hi, this feature is totally supported from the http proxy server zproxy but it is not integrated in the GUI, we will register this feature as a new option in the http profile.

Meanwhile refer to zproxy manual documentation if you want to add/remove headers to backends in https://github.com/zevenet/zproxy/blob/master/docs/zproxy.8 AddHeader and HeaderRemove directives.

Thanks

iddq commented 4 years ago

Thank you. Is it available in the community version?

I don't find zproxy in ZCE 6.

cat /etc/zevenet_version ZCE 6

adanmarin-zevenet commented 4 years ago

Good day,

you can execute the following command to check that zproxy is installed in the system:

dpkg -l | grep zproxy

The command output should be: ii zproxy 0.1.61-5.11.0 amd64 Zevenet zproxy

otherwise, to upgrade to the latest version of zproxy, you can execute the following command:

apt-get update && apt-get install zproxy

Once updated, you can try to modify the farm configuration file and change the AddHeader and HeaderRemove directives.

adanmarin-zevenet commented 4 years ago

Good day, did you have the chance to apply the solution I mentioned before?

iddq commented 4 years ago

Hello, Thank you for the help. I haven't tried it out and it is out of scope now.