New feature to get the real source IP when kamailio websocket is behind a load balancer transmitting X-Forwarded-For and/or X-Real-IP headers:
Detect HTTP headers X-Forwarded-For and X-Real-IP during the Websocket handshake.
The pseudo variables $ws_real_src_ip is populated during ws_handshake() or null if not set.
$ws_real_src_ip is indeed readonly.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1002
-- Commit Summary --
* websocket: X-Forwarded-For and X-Real-IP support
-- File Changes --
M src/modules/websocket/websocket.c (40)
M src/modules/websocket/ws_conn.h (2)
M src/modules/websocket/ws_handshake.c (51)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1002.patchhttps://github.com/kamailio/kamailio/pull/1002.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1002
Hello,
I noticed a lot of random usernames for the accounts created to edit the
wiki. Apart of several which did some which did some edits to add spam,
most of them are inactive. Not sure what would be the real purpose
behind them, but I am going to remove anything that doesn't look as a
community user.
Shall I remove an account with random id, but for a good user, let me
know, it can be readded/account recreated.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
http://www.kamailio.org/docs/modules/4.2.x/modules/siptrace.html#siptrace.f…
"Store or forward the current processed SIP message in database. **It is stored in the form prior applying changes made to it.**"
Could the functionality of sip_trace be extended to trace a packet again after it has been modified?
My setup is a bit like this: Remote device -> Kamailio -> containerised Asterisk
I am sip_trace'ing all packets, but then modifying them a bit before forwarding them to Asterisk. Yet only the original packet is sent to HOMER. Because of this, I can only see the the Remote device -> Kamailio bits of the sequence diagram showing the SIP transaction.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/965