Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callhome from netconf server using same IP but different ports #423

Open
kr234 opened this issue Jun 6, 2023 · 1 comment
Open

callhome from netconf server using same IP but different ports #423

kr234 opened this issue Jun 6, 2023 · 1 comment
Labels
is:question Issue is actually a question.

Comments

@kr234
Copy link

kr234 commented Jun 6, 2023

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.

@michalvasko
Copy link
Member

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 michalvasko added the is:question Issue is actually a question. label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:question Issue is actually a question.
Projects
None yet
Development

No branches or pull requests

2 participants