Module: kamailio
Branch: master
Commit: e3109383ffaf25ad7e36e00d63fde45228fb11b7
URL: 
https://github.com/kamailio/kamailio/commit/e3109383ffaf25ad7e36e00d63fde45228fb11b7

Author: Richard Fuchs <[email protected]>
Committer: Richard Fuchs <[email protected]>
Date: 2026-03-11T10:54:16-04:00

core: add udp_accept_proxy variable

- optionally support both "HAproxy" protocol and the "simple" proxy
  protocol used by CloudFlare, on the main UDP receive socket
- add udp_main_init() to create required objects, called from main
  startup routine
- track real-to-proxy and proxy-to-real address mapping in two hash
  tables
- add RPC commands to dump and flush contents of hash tables
- hash table entries are expired and removed after 2 hours of no usage

---

Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/globals.h
Modified: src/core/udp_server.c
Modified: src/core/udp_server.h
Modified: src/main.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/e3109383ffaf25ad7e36e00d63fde45228fb11b7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e3109383ffaf25ad7e36e00d63fde45228fb11b7.patch

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to