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

napt: Fixes and improvements (IDFGH-6861) #43

Merged
merged 1 commit into from
Apr 14, 2022

Commits on Mar 27, 2022

  1. napt: Fixes and improvements

     1. Fix enable/disable to properly allocate and deallocate tables.
        Current algorithm is just broken.
     2. Introduce eviction policy when table gets full: oldest connection
        is evicted, instead of new ones getting silently dropped. this
        results in much better behavior with small tables than before.
        When TCP connection is dropped, RSTs are sent both ways to inform
        parties instead of dropping silently. thiw requires additional 8
        bytes per entry but is, again, a big improvement for clients in
        terms of usability.
     3. FIxed handling of timestamp wraparound (every ~50 days of uptime).
     3. Added ip_portmap_get() to retrieve current port mapping settings.
     4. Added ip_napt_get_stats() for some insight into the state of NAT.
    rojer committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    fb1f355 View commit details
    Browse the repository at this point in the history