Comments (5)
@systemstart I just updated to the latest github.com/google/nftables
and compiled one of modules which are using set
and it looks good to me. See output below:
table ip istio_ipv4 {
set 3848dbe075ec {
type inet_service
flags constant
elements = { 11111, 22222 }
}
set ba08f184aa21 {
type ipv4_addr
flags constant,interval
elements = { 1.1.1.0/24, 2.2.2.0/30 }
}
set 0cd0eb721db4 {
type inet_service
flags constant
elements = { 23232, 44444, 55555 }
}
For IPv6
table ip6 istio_ipv6 {
set 662fa3397575 {
type inet_service
flags constant
elements = { 11111, 22222 }
}
set c5bd82538a0e {
type ipv6_addr
flags constant,interval
elements = { 2001:123::/64,
fe88:2345::/92 }
}
I do not use directly google/nftables, I use my abstraction library, but at the end everything get translated into google/nftables.
from nftables.
Thanks. I assume you are on latest google/nftables master?
I will try to rule out OS stuff by checking under a different Kernel version.
from nftables.
@systemstart Yes, I am on master of github.com/google/nftables. Please check out this library github.com/sbezverk/nftableslib , it might be helpful to get things going faster and without diving into what is on the wire ;)
from nftables.
Time will drive me into a solution based on iptables.
I had a look at nftableslib, looks like the human interface to this netlink dialect.
Wonder who needs a non-human one.
Inappropriate Statements Department: out.
from nftables.
Possible Layer 8 Error
from nftables.
Related Issues (20)
- Kernel config requirements? conn.Receive: netlink receive: operation not supported HOT 1
- synproxy support HOT 3
- invalid argument for match HOT 10
- inet table family and ip saddr expression HOT 2
- How to add mac address (like ether saddr 8c:1c:da:42:5d:77) HOT 5
- how to set flowtable offload HOT 2
- How to add the anonymous set of hours ? HOT 2
- How to reject packets? HOT 3
- Anonymous time collection problem HOT 10
- Please consider create a release/tag HOT 1
- Alignment issues on 32-bit archs: TestAlignedBuff32 & TestAlignedBuffInt32 failures HOT 9
- Test failures on s390x: endianness problems? HOT 11
- Reason for not wrapping libnftnl/libmnl. HOT 1
- GetRules lost expr.Masq HOT 1
- nftables go dynset implementation will not work with libnftnl versions <1.1.9 HOT 1
- High
- Feature: add support for monitor HOT 6
- AddSet IPv4 wrong byte order on Ubuntu 22.04 HOT 8
- Rule Handle not updated after InsertRule even using Flush. HOT 4
- Not all response messages are received causing the receive buffer to overflow HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nftables.