Closed microgiantya closed 7 months ago
Hi @liviuchircu! Does commit 072abebe984f0ed94f300714792b119e41fc145b fix this bug?
Author: Liviu Chircu <liviu@opensips.org>
Date: Thu Jan 11 14:44:46 2024 +0200
tracer: Fix mixing between "src_ip" and "dst_ip"
Completes a13e03420c
Credits to James Seer for reporting this issue!
(cherry picked from commit fd894705feacc95f1eae1af2d6554ce2b10bf5ad)
If it does, hi @razvancrainea, when we can get updates on apt repo?
P.S.: I got latest (7edd32586) sources from 3.4 branch, make all && install, and callflow looks perfect.
yes, 072abebe984f0ed94f300714792b119e41fc145b is the fix and it was backported and available on all packages (check for the nightly builds)
Thank you, appreciate it.
OpenSIPS version you are running
Describe the bug
Some hep messages have wrong source ip For example:
To Reproduce
loadmodule "tracer.so" modparam("tracer", "trace_on", 1 ) modparam("tracer", "trace_id", "[tid] uri=hep:hep_dst")
if (!has_totag() && is_method("INVITE")) { trace("tid", "D"); ... }
Feb 06 01:58:48 opensips opensips[8947]: Feb 6 01:58:48 [8947] DBG:tracer:sip_trace: sip_trace called Feb 06 01:58:48 opensips opensips[8947]: Feb 6 01:58:48 [8947] DBG:tracer:is_id_traced: trace=on dyn=off Feb 06 01:58:48 opensips opensips[8947]: Feb 6 01:58:48 [8947] DBG:tracer:pipport2su: proto 17, host 192.168.254.136 , port 5060 Feb 06 01:58:48 opensips opensips[8947]: Feb 6 01:58:48 [8947] DBG:tracer:pipport2su: proto 17, host 192.168.254.136 , port 5060
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 06:55:ae:c9:e8:c1 brd ff:ff:ff:ff:ff:ff altname enp0s18 inet 192.168.254.136/24 metric 100 brd 192.168.254.255 scope global dynamic ens18 valid_lft 482sec preferred_lft 482sec inet6 fe80::455:aeff:fec9:e8c1/64 scope link valid_lft forever preferred_lft forever 3: ens19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 36:ed:46:1a:14:61 brd ff:ff:ff:ff:ff:ff altname enp0s19 inet 192.168.253.1/24 brd 192.168.253.255 scope global ens19 valid_lft forever preferred_lft forever inet6 fe80::34ed:46ff:fe1a:1461/64 scope link valid_lft forever preferred_lft forever
default via 192.168.254.254 dev ens18 proto dhcp src 192.168.254.136 metric 100 192.168.253.0/24 dev ens19 proto kernel scope link src 192.168.253.1 192.168.254.0/24 dev ens18 proto kernel scope link src 192.168.254.136 metric 100 192.168.254.254 dev ens18 proto dhcp scope link src 192.168.254.136 metric 100