dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Implement nonce guard on enumeration streamers #40

Closed dankamongmen closed 5 years ago

dankamongmen commented 5 years ago

Under certain circumstances, we can't restart an enumeration. Guard against them with the nonce field, changing it each time we invalidate existing streamers, and checking it on entrance to enumerate.