* [libnftnl] documentation?
@ 2020-03-26 8:38 ѽ҉ᶬḳ℠
2020-03-26 9:32 ` Frank Myhr
0 siblings, 1 reply; 7+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-03-26 8:38 UTC (permalink / raw)
To: netfilter
Been trying to find some documentation in these places:
* https://netfilter.org/projects/libnftnl/
* https://www.netfilter.org/documentation/
* https://git.netfilter.org/libnftnl/tree/
*
https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
but either I missed it - and thus appreciate a pointer - or there is none?
The aim/goal is to utilise libnftnl with json.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 8:38 [libnftnl] documentation? ѽ҉ᶬḳ℠
@ 2020-03-26 9:32 ` Frank Myhr
2020-03-26 9:36 ` ѽ҉ᶬḳ℠
2020-03-26 9:45 ` Florian Westphal
0 siblings, 2 replies; 7+ messages in thread
From: Frank Myhr @ 2020-03-26 9:32 UTC (permalink / raw)
To: vtol, netfilter
On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
> Been trying to find some documentation in these places:
>
> * https://netfilter.org/projects/libnftnl/
> * https://www.netfilter.org/documentation/
> * https://git.netfilter.org/libnftnl/tree/
> *
> https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
>
>
> but either I missed it - and thus appreciate a pointer - or there is none?
>
> The aim/goal is to utilise libnftnl with json.
Do these help you?:
https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
AFAIK libnftnl=libnftables, the older name just persists (confusingly)
in many places.
Best regards,
Frank
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 9:32 ` Frank Myhr
@ 2020-03-26 9:36 ` ѽ҉ᶬḳ℠
2020-03-26 9:45 ` Florian Westphal
1 sibling, 0 replies; 7+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-03-26 9:36 UTC (permalink / raw)
To: netfilter
On 26/03/2020 09:32, Frank Myhr wrote:
> On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
>> Been trying to find some documentation in these places:
>>
>> * https://netfilter.org/projects/libnftnl/
>> * https://www.netfilter.org/documentation/
>> * https://git.netfilter.org/libnftnl/tree/
>> *
>> https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
>>
>>
>> but either I missed it - and thus appreciate a pointer - or there is
>> none?
>>
>> The aim/goal is to utilise libnftnl with json.
>
> Do these help you?:
> https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
> https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
>
> AFAIK libnftnl=libnftables, the older name just persists (confusingly)
> in many places.
>
> Best regards,
> Frank
Indeed, thank you. Probably missed it, as pointed out, due to the (old)
naming.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 9:32 ` Frank Myhr
2020-03-26 9:36 ` ѽ҉ᶬḳ℠
@ 2020-03-26 9:45 ` Florian Westphal
2020-03-26 9:58 ` ѽ҉ᶬḳ℠
1 sibling, 1 reply; 7+ messages in thread
From: Florian Westphal @ 2020-03-26 9:45 UTC (permalink / raw)
To: Frank Myhr; +Cc: vtol, netfilter
Frank Myhr <fmyhr@fhmtech.com> wrote:
> On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
> > Been trying to find some documentation in these places:
> >
> > * https://netfilter.org/projects/libnftnl/
> > * https://www.netfilter.org/documentation/
> > * https://git.netfilter.org/libnftnl/tree/
> > *
> > https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
> >
> >
> > but either I missed it - and thus appreciate a pointer - or there is none?
> >
> > The aim/goal is to utilise libnftnl with json.
>
> Do these help you?:
> https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
> https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
>
> AFAIK libnftnl=libnftables, the older name just persists (confusingly) in
> many places.
No, these are different libraries. libnftnl is a standalone library
with low-level helpers.
libnftables is the highlevel library, its part of nftables itself.
libnftables contains the ruleset parser, for example.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 9:45 ` Florian Westphal
@ 2020-03-26 9:58 ` ѽ҉ᶬḳ℠
2020-03-26 10:12 ` Pablo Neira Ayuso
2020-03-26 10:41 ` Florian Westphal
0 siblings, 2 replies; 7+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-03-26 9:58 UTC (permalink / raw)
To: netfilter
On 26/03/2020 09:45, Florian Westphal wrote:
> Frank Myhr <fmyhr@fhmtech.com> wrote:
>> On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
>>> Been trying to find some documentation in these places:
>>>
>>> * https://netfilter.org/projects/libnftnl/
>>> * https://www.netfilter.org/documentation/
>>> * https://git.netfilter.org/libnftnl/tree/
>>> *
>>> https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
>>>
>>>
>>> but either I missed it - and thus appreciate a pointer - or there is none?
>>>
>>> The aim/goal is to utilise libnftnl with json.
>> Do these help you?:
>> https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
>> https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
>>
>> AFAIK libnftnl=libnftables, the older name just persists (confusingly) in
>> many places.
> No, these are different libraries. libnftnl is a standalone library
> with low-level helpers.
>
> libnftables is the highlevel library, its part of nftables itself.
>
> libnftables contains the ruleset parser, for example.
Bit confusing as
https://wiki.nftables.org/wiki-nftables/index.php/Building_and_installing_nftables_from_sources
states
"libnftnl (formerly known as libnftables)"
Similar https://lwn.net/Articles/789528/
"The library libnftnl has been previously known as libnftables."
libnftnl then cannot parse json but "Is responsible for creating/parsing
the nf_tables netlink messages"?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 9:58 ` ѽ҉ᶬḳ℠
@ 2020-03-26 10:12 ` Pablo Neira Ayuso
2020-03-26 10:41 ` Florian Westphal
1 sibling, 0 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2020-03-26 10:12 UTC (permalink / raw)
To: ѽ҉ᶬḳ℠; +Cc: netfilter
On Thu, Mar 26, 2020 at 09:58:04AM +0000, ѽ҉ᶬḳ℠ wrote:
> On 26/03/2020 09:45, Florian Westphal wrote:
> > Frank Myhr <fmyhr@fhmtech.com> wrote:
> > > On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
> > > > Been trying to find some documentation in these places:
> > > >
> > > > * https://netfilter.org/projects/libnftnl/
> > > > * https://www.netfilter.org/documentation/
> > > > * https://git.netfilter.org/libnftnl/tree/
> > > > *
> > > > https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
> > > >
> > > >
> > > > but either I missed it - and thus appreciate a pointer - or there is none?
> > > >
> > > > The aim/goal is to utilise libnftnl with json.
> > > Do these help you?:
> > > https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
> > > https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
> > >
> > > AFAIK libnftnl=libnftables, the older name just persists (confusingly) in
> > > many places.
> > No, these are different libraries. libnftnl is a standalone library
> > with low-level helpers.
> >
> > libnftables is the highlevel library, its part of nftables itself.
> >
> > libnftables contains the ruleset parser, for example.
> Bit confusing as
> https://wiki.nftables.org/wiki-nftables/index.php/Building_and_installing_nftables_from_sources
> states
>
> "libnftnl (formerly known as libnftables)"
I have just removed this. This is a very old reference.
These days:
* libnftnl is the low-level netlink library.
* libnftables is the high-level library, this one supports json.
> Similar https://lwn.net/Articles/789528/
>
> "The library libnftnl has been previously known as libnftables."
I'll remove this in the template I have for future libnftnl releases.
> libnftnl then cannot parse json but "Is responsible for creating/parsing
> the nf_tables netlink messages"?
Yes.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [libnftnl] documentation?
2020-03-26 9:58 ` ѽ҉ᶬḳ℠
2020-03-26 10:12 ` Pablo Neira Ayuso
@ 2020-03-26 10:41 ` Florian Westphal
1 sibling, 0 replies; 7+ messages in thread
From: Florian Westphal @ 2020-03-26 10:41 UTC (permalink / raw)
To: ѽ҉ᶬḳ℠; +Cc: netfilter
ѽ҉ᶬḳ℠ <vtol@gmx.net> wrote:
> On 26/03/2020 09:45, Florian Westphal wrote:
> > Frank Myhr <fmyhr@fhmtech.com> wrote:
> > > On 2020/03/26 04:38, ѽ҉ᶬḳ℠ wrote:
> > > > Been trying to find some documentation in these places:
> > > >
> > > > * https://netfilter.org/projects/libnftnl/
> > > > * https://www.netfilter.org/documentation/
> > > > * https://git.netfilter.org/libnftnl/tree/
> > > > *
> > > > https://wiki.nftables.org/wiki-nftables/index.php/Portal:DeveloperDocs/nftables_internals
> > > >
> > > >
> > > > but either I missed it - and thus appreciate a pointer - or there is none?
> > > >
> > > > The aim/goal is to utilise libnftnl with json.
> > > Do these help you?:
> > > https://git.netfilter.org/nftables/tree/doc/libnftables.adoc
> > > https://git.netfilter.org/nftables/tree/doc/libnftables-json.adoc
> > >
> > > AFAIK libnftnl=libnftables, the older name just persists (confusingly) in
> > > many places.
> > No, these are different libraries. libnftnl is a standalone library
> > with low-level helpers.
> >
> > libnftables is the highlevel library, its part of nftables itself.
> >
> > libnftables contains the ruleset parser, for example.
> Bit confusing as
> https://wiki.nftables.org/wiki-nftables/index.php/Building_and_installing_nftables_from_sources
> states
>
> "libnftnl (formerly known as libnftables)"
Yes, agree, this is confusing. This old libnftables *was* renamed
to libnftnl. At that point, no high-level library existed yet.
And it seemed better to give the name 'libnftables' to a highlevel
library.
Nowadays, libnftables is the high-level library that contains
most of the nftables functionality, such as parsing (nft rule format
and json).
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-03-26 10:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 8:38 [libnftnl] documentation? ѽ҉ᶬḳ℠
2020-03-26 9:32 ` Frank Myhr
2020-03-26 9:36 ` ѽ҉ᶬḳ℠
2020-03-26 9:45 ` Florian Westphal
2020-03-26 9:58 ` ѽ҉ᶬḳ℠
2020-03-26 10:12 ` Pablo Neira Ayuso
2020-03-26 10:41 ` Florian Westphal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.