BalanceNG

 


BalanceNG V7 Development Release (7.568) #

Overview #

Under the Hood #

  • Several internal data structures have been reimplemented and are now skip-list based in combination with POSIX rwlocks and atomics for fastest concurrent access (during reads and updates). Technically, this requires the presence of libatomic.so and stdatomic.h (which excludes some of the older Linux distributions).
  • BalanceNG now focuses solely on modern Linuxes and does no longer compile on other platforms (like Solaris and macOS).

New Modules #

  • The tap module now allows to collect IP packets to the instance specific SHM packet queue.
  • The rnat module provides outbound connectivity with port based NAT for IPv4 and IPv6.

The bngtap Utility #

  • The utility bngtap allows to write pcap packet streams collecting from a BalanceNG SHM packet queue.

Rendezvous/HRW (Highest Random Weight) Consistent Hashing #

  • the slb (Server Load Balancing) module now supports Rendezvous/HRW hashing. This is activated by specifying method hrw in the desired server section.
  • The BalanceNG session table rules and synchronization apply, so adding an additional target does not invalidate active session table entries during their lifetime.

Removed Modules and Functionality #

  • All former NAT functionality that is now provided by the rnat module has been removed (this includes the modules nat and tnat).
  • The module llb has been removed.
  • The modules switch, haswitch and the modules for now unnecessary benchmarking have been removed.
  • Several undocumented modules and functionalities have been removed.