From: trentbuck@gmail.com (Trent W. Buck)
To: netfilter@vger.kernel.org
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [ANNOUNCE] nftlb 0.6 release
Date: Wed, 01 Apr 2020 15:46:33 +1100 [thread overview]
Message-ID: <87ftdnu82e.fsf@goll.lan> (raw)
In-Reply-To: CAF90-WgSo3SbBR4zsXH99380r5rSpZRGrpbKbh3oSRa9Qr8C6w@mail.gmail.com
Laura Garcia <nevola@gmail.com> writes:
> nftlb stands for nftables load balancer, a user-space tool
> that builds a complete load balancer and traffic distributor
> using the nft infrastructure.
>
> nftlb is a nftables rules manager that creates virtual services
> for load balancing at layer 2, layer 3 and layer 4, minimizing
> the number of rules and using structures to match efficiently the
> packets. It comes with an easy JSON API service to control,
> to monitor and automate the configuration.
> [...]
> https://github.com/zevenet/nftlb
This is really cool, thanks!
A couple of dumb comments (I hope that's OK):
| Note 2: Before executing nftlb, ensure you have empty nft rules by
| executing "nft flush ruleset"
Does this mean nftlb needs exclusive control over the entire nft
ruleset? It's not immediately obvious to me if it can peacefully
coexist with e.g. sshguard's nft rules, or even a simple handwritten
"tcp dport { ssh, https } accept; drop" input filter.
If it's best practice to flush ruleset when nftlb starts,
why not make that an argument? i.e. nftlb --[no-]flush-ruleset-on-start
| nftlb uses a quite new technology that requires:
| nf-next: [...]
| nftables: [...]
Does it need bleeding-edge git versions, or are latest stable releases OK?
You could add something reassuring like:
nftlb 0.6 definitely works with mainline linux 5.6 and nft 0.9.1.
Finally, I think README.md should link to the nft docs for curious
people like me, e.g.:
# How does it work?
The main "active ingredient" is numgen, see here for handwritten examples:
https://wiki.nftables.org/wiki-nftables/index.php/Load_balancing
https://www.netfilter.org/projects/nftables/manpage.html
...although AFAICT the "man nft" doesn't yet mention numgen AT ALL :-(
next prev parent reply other threads:[~2020-04-01 4:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 17:35 [ANNOUNCE] nftlb 0.6 release Laura Garcia
2020-04-01 4:46 ` Trent W. Buck [this message]
2020-04-01 8:42 ` Laura Garcia
2020-04-07 3:54 ` Trent W. Buck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftdnu82e.fsf@goll.lan \
--to=trentbuck@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox