Module: kamailio Branch: master Commit: 10be01a41430335f27a557a58a8f0e72bbd5d2c7 URL: https://github.com/kamailio/kamailio/commit/10be01a41430335f27a557a58a8f0e72...
Author: Sebastian Lauwers sebastian.lauwers@gmail.com Committer: Henning Westerholt henningw@users.noreply.github.com Date: 2018-12-19T09:05:14+01:00
core: Add PROXY protocol implementation (#1765)
- introduce new global variable `ksr_tcp_accept_haproxy`. - this variable can be modified by using the `tcp_accept_haproxy=yes` core configuration parameter. - when active, inbound TCP connections are expected to behave according to the PROXY protocol[1]. - Both the v1 (human-readable) and v2 (binary) versions of the protocol are supported. - [1]: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
---
Modified: src/core/cfg.lex Modified: src/core/cfg.y Modified: src/core/globals.h Modified: src/core/tcp_main.c Modified: src/core/tcp_read.c
---
Diff: https://github.com/kamailio/kamailio/commit/10be01a41430335f27a557a58a8f0e72... Patch: https://github.com/kamailio/kamailio/commit/10be01a41430335f27a557a58a8f0e72...