Freeswitch does not respond to TLS client_hello intermittently
Hello FS Experts I had posted this Q earlier... posting it again with more details ... I have a FS to which two separate external SBCs connect and uses TLS Intermittently the FS does not respond to TLS client_hello - because of this, we see that sometimes one of the external SBC is not connected at all.. I was able to reproduce this with debug logging enabled and below is the snippet of the same ====================================================================================================================================== nta.c:1289 agent_timer() nta: timer not set tport.c:2753 tport_wakeup_pri() tport_wakeup_pri(0x7f96d01fa670): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7f96d01fa670): new secondary tport 0x7f96d001a9d0 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f96d001a9d0): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f96d001a9d0): Setting TCP_KEEPINTVL to 30 tport.c:2644 tport_accept() tport_accept(0x7f96d001a9d0): new connection from tcp/65.14.17.172:13980/sip tport.c:2777 tport_wakeup() tport_wakeup(0x7f96d001a9d0): events IN tport.c:2868 tport_recv_event() tport_recv_event(0x7f96d001a9d0) tport.c:3209 tport_recv_iovec() tport_recv_iovec(0x7f96d001a9d0) msg 0x7f96d0027b90 from (tcp/65.14.17.172:13980) has 183 bytes, veclen = 1 tport.c:2298 tport_set_secondary_timer() tport(0x7f96d001a9d0): reset timer tport.c:2777 tport_wakeup() tport_wakeup(0x7f96d0027f50): events IN tport.c:2868 tport_recv_event() tport_recv_event(0x7f96d0027f50) ======================================================================================================================================== In the above snippet, you can see that the clietn_hello is received ... [highlighted] Please let me know if any of you have encountered such an issue and what the fix is Regards A
Please file a github, search to make sure its not already filed please. /b On Fri, Dec 9, 2022 at 10:32 AM Adiseshu Channasamudhram <csadi@hotmail.com> wrote:
Hello FS Experts
I had posted this Q earlier... posting it again with more details ...
I have a FS to which two separate external SBCs connect and uses TLS
Intermittently the FS does not respond to TLS client_hello - because of this, we see that sometimes one of the external SBC is not connected at all..
I was able to reproduce this with debug logging enabled and below is the snippet of the same
======================================================================================================================================
nta.c:1289 agent_timer() nta: timer not set tport.c:2753 tport_wakeup_pri() tport_wakeup_pri(0x7f96d01fa670): events IN tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7f96d01fa670): new secondary tport 0x7f96d001a9d0 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f96d001a9d0): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7f96d001a9d0): Setting TCP_KEEPINTVL to 30 tport.c:2644 tport_accept() tport_accept(0x7f96d001a9d0): new connection from tcp/65.14.17.172:13980/sip tport.c:2777 tport_wakeup() tport_wakeup(0x7f96d001a9d0): events IN tport.c:2868 tport_recv_event() tport_recv_event(0x7f96d001a9d0) tport.c:3209 tport_recv_iovec() tport_recv_iovec(0x7f96d001a9d0) msg 0x7f96d0027b90 from (tcp/65.14.17.172:13980) has 183 bytes, veclen = 1 tport.c:2298 tport_set_secondary_timer() tport(0x7f96d001a9d0): reset timer tport.c:2777 tport_wakeup() tport_wakeup(0x7f96d0027f50): events IN tport.c:2868 tport_recv_event() tport_recv_event(0x7f96d0027f50)
========================================================================================================================================
In the above snippet, you can see that the clietn_hello is received ... [highlighted]
Please let me know if any of you have encountered such an issue and what the fix is
Regards
A
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (2)
-
Adiseshu Channasamudhram
-
Brian West