libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

callhome from netconf server using same IP but different ports

Open kr234 opened this issue 2 years ago • 1 comments

Hello,

We want the netconf client to accept callhome from netconf server. This call home from netconf server will have same IP but different ports for each request. wanted to know if libnetconf accepts/supports callhome from same IPs+different port combination.

kr234 avatar Jun 06 '23 12:06 kr234

Yes, just call nc_client_ssh_ch_add_bind_listen() repeatedly with whatever IP/ports you want to listen on and once you call nc_accept_callhome(), a connection made on any of the binds should be accepted.

michalvasko avatar Jun 06 '23 12:06 michalvasko