CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
290 stars 186 forks source link

How to enable TCP keepalive on netopeer2-server? #1564

Closed lqlucky closed 2 months ago

lqlucky commented 2 months ago

Hi michal,

After testing, I found that netopeer2-server does not actively send keepalive, but replies. keepalives configuration as follow: image

Wireshark capture as follow, 10.8.16.124 is netopeer2-cli, 10.8.15.105 is netopeer2-server image

Is there any way to enable that?

version: netopeer2-server: 2.1.71 libnetconf2: 2.1.37

Roytak commented 2 months ago

Hi, I tested this in current devel and it was bugged. I fixed it there, but as this is an older version I can't really help. Client side keepalives seem to always be enabled (that's the Wireshark capture), but your config looks good to me. Not sure what is wrong, but it should work in the latest devel.

lqlucky commented 2 months ago

I see, thanks for your reply. I will update it when you release the new version. Could close this issue.