Releases: Nordix/nfqueue-loadbalancer
1.2.0
What's Changed
- fix cmpArgv in remoteCmd-test by @LionelJouin in #20
- Add Hash mode to hashKey by @LionelJouin in #21
- Fix release script by @LionelJouin in #22
New Contributors
- @LionelJouin made their first contribution in #20
Full Changelog: 1.1.4...1.2.0
Write fully to shm
Write(2) to shared mem can return with a partial write. A loop is added to ensure that all bytes are written.
Pre-release for shm validation
Includes PR #13
More ref-counter corrections
Fix issue #12
Replaces 1.1.2 which should not be used.
Static ipu
Very small update to make a static build of the ipu
utility.
Add fwmark debug command
Added;
> ./nfqlb fwmark -h
fwmark [--shm=] [--proto=tcp|udp|sctp] --src=addr:port --dst=addr:port
Print hash and fwmark for the specified addresses for debug
--shm= Shared memory. Required for fwmark printout
--proto= Protocol, tcp|udp|sctp. NOT specified -> address-only hash
--src= Source addr:port, e.g "[1000::80]:80" (required)
--dst= Destination addr:port (required)
Good enough
This is not a quantum leap in quality and stability (actually this is the same as 0.11.0) but in spirit of semantic versioning setting a major version different from zero is a commitment not to make Non Backwards Compatible Changes (NBCs) without stepping the major release number. This include;
- Parameters to the
nfqlb
program (except trace, see below) - The included library
- The format of shared memory data
NOT included;
- The
trace
interfaces - The
ipu
program
These may change without stepping the major release number, but most likely not.
Add the ipu utility
The "ipu" utility is not really a load-balanacer program but comes in handy when setting up segmented test networks.
# ipu man
NAME
ipu - IP address format utility
DESCRIPTION
Interpretes a segmented ip-range in a 'double-dash' form, for example;
'192.168.0.0/20/24' or '2000:2::/112/120' and prints a defined address.
The first 'slot' holds the net and the second the host.
makeip:
--cidr=segmented-ip-range
--net=number
--host=number
--subnet=1|2
Append the subnet to the address printout. 1-net 2-host subnet number.
--ipv6template=ipv6-address
Print an IPv6 address from an IPv4 cidr by applying the mask and
insert the IPv4 address in the last 32-bits.
EXAMPLES
# ipu makeip --cidr=10.0.0.0/16/24 --net=1 --host=2
10.0.1.2
# ipu makeip --cidr=10.0.0.0/16/24 --net=1 --host=2 --subnet=2
10.0.1.2/24
# ipu makeip --cidr=10.0.0.0/16/24 --net=1 --host=2 --subnet=2 --ipv6template=2000:1::0.0.0.0
2000:1::a00:102/120
SEE ALSO
'ipu' is a part of https://github.com/Nordix/nfqueue-loadbalancer/.
Trace flows
Trace flows can select par-packet traces with the same mechanism as normal traffic flows.
Fix memory leak in flow config
Also a "version" command is added. This version is updated for Ubuntu 22.04. There is a problem with static libmnl which enforces a local build.