Commit Graph

  • f20dfa7824 udata: Store u32 udata values in Big Endian master Phil Sutter 2025-10-17 18:08:11 +02:00
  • 4562e24185 data_reg: Support concatenated data Phil Sutter 2025-10-14 15:56:26 +02:00
  • 84b7adedf9 data_reg: Respect data byteorder when printing Phil Sutter 2025-09-10 17:51:55 +02:00
  • b567670394 Introduce nftnl_{expr,set_elem}_set_imm() Phil Sutter 2025-10-01 15:05:19 +02:00
  • 6077bf5cad data_reg: Introduce struct nftnl_data_reg::sizes array Phil Sutter 2025-10-16 01:30:20 +02:00
  • cb5f02ae63 data_reg: Introduce struct nftnl_data_reg::byteorder field Phil Sutter 2025-10-01 14:59:39 +02:00
  • 823a26e955 expr: Pass byteorder to struct expr_ops::set callback Phil Sutter 2025-10-01 14:57:36 +02:00
  • 7daf5a4fde expr: data_reg: Avoid extra whitespace Phil Sutter 2025-10-15 23:41:36 +02:00
  • 5f72061e6e set_elem: Review debug output Phil Sutter 2025-09-10 16:22:21 +02:00
  • 0f48d76388 build: libnftnl 1.3.1 release libnftnl-1.3.1 Pablo Neira Ayuso 2025-12-03 11:56:23 +00:00
  • 5a54b99859 utils: Introduce nftnl_parse_str_attr() Phil Sutter 2024-10-02 16:44:49 +02:00
  • 6f24a13a19 utils: Drop asterisk from end of NFTA_DEVICE_PREFIX strings Phil Sutter 2025-10-07 17:45:25 +02:00
  • dd25d61281 expr: meta: introduce ibrhwaddr meta expression Fernando Fernandez Mancera 2025-10-14 14:18:51 +02:00
  • f30eae26d8 utils: Add helpers for interface name wildcards Phil Sutter 2024-10-01 12:59:29 +02:00
  • eb8fb569c5 udata: Introduce NFTNL_UDATA_TABLE_NFT{VER,BLD} Phil Sutter 2025-08-12 18:47:14 +02:00
  • 239fbdb897 tunnel: add support to geneve options Fernando Fernandez Mancera 2025-08-21 11:17:18 +02:00
  • e3b58fe8fc tunnel: rework options Pablo Neira Ayuso 2025-08-21 11:17:17 +02:00
  • d36691a4ac build: libnftnl 1.3.0 release libnftnl-1.3.0 Pablo Neira Ayuso 2025-08-06 09:45:36 +02:00
  • 7a7722ee33 include: utils.h needs errno.h Phil Sutter 2024-10-02 21:19:38 +02:00
  • 56e37303ed trace: add support for TRACE_CT information Florian Westphal 2025-05-22 15:51:15 +02:00
  • 81d19bc4a5 set: dump set backend name (hash, rbtree...) and elem count, if available Florian Westphal 2025-04-08 15:58:42 +02:00
  • 17190762f3 build: libnftnl 1.2.9 release libnftnl-1.2.9 Pablo Neira Ayuso 2025-04-14 18:47:24 +02:00
  • 4d4dc68fd0 tunnel: add missing inner nested netlink attribute for vxlan options Fernando Fernandez Mancera 2025-04-14 16:36:04 +02:00
  • c59d42a90b src: remove unused str2XXX helpers Zhongqiu Duan 2025-03-19 14:20:53 +00:00
  • a7dfa49d34 expr: ct: print key name of id field Zhongqiu Duan 2025-03-19 14:29:27 +00:00
  • dba1b687a9 expr: payload: print tunnel header Zhongqiu Duan 2025-03-18 16:02:04 +00:00
  • ff37c01480 tests: Fix for ASAN Phil Sutter 2024-11-27 18:54:53 +01:00
  • 3de0f574bd tests: Extend set test by NFTNL_SET_DESC_CONCAT Phil Sutter 2024-11-27 18:52:10 +01:00
  • 7cb2a63d67 set: Fix for array overrun when setting NFTNL_SET_DESC_CONCAT Phil Sutter 2024-11-27 16:30:08 +01:00
  • 1b167c52ff tests: bitwise: add tests for new boolean operations Jeremy Sowden 2024-11-19 16:08:47 +01:00
  • 7576149301 tests: bitwise: refactor shift tests Jeremy Sowden 2024-11-19 16:08:36 +01:00
  • f683f636a0 expr: bitwise: add support for kernel space AND, OR and XOR operations Jeremy Sowden 2024-11-13 22:27:08 +01:00
  • 638b687979 expr: bitwise: rename some boolean operation functions Jeremy Sowden 2024-11-13 22:39:12 +01:00
  • 12bd1aea52 include: add new bitwise boolean attributes to nf_tables.h Jeremy Sowden 2024-11-13 22:25:47 +01:00
  • e944a0afbc Use SPDX License Identifiers in headers Phil Sutter 2024-10-16 18:47:32 +02:00
  • 0576274ad5 Introduce struct nftnl_str_array Phil Sutter 2021-08-30 14:38:27 +02:00
  • faab4a3007 include: refresh nf_tables.h copy Pablo Neira Ayuso 2024-10-10 14:56:46 +02:00
  • 06e2cbec41 build: libnftnl 1.2.8 release libnftnl-1.2.8 Pablo Neira Ayuso 2024-10-02 22:41:48 +02:00
  • a96d5a338f rule: Don't append a newline when printing a rule Phil Sutter 2024-10-01 18:01:43 +02:00
  • a347296209 src: remove scaffolding around deprecated parser functions Pablo Neira Ayuso 2024-09-25 12:42:08 +02:00
  • 83930cea41 expr: dynset: validate expressions are of nested type Florian Westphal 2024-09-23 00:16:02 +02:00
  • 116e95aa7b build: libnftnl 1.2.7 release libnftnl-1.2.7 Pablo Neira Ayuso 2024-07-15 13:48:01 +02:00
  • 5261d4da01 table: Support unsetting NFTNL_TABLE_USERDATA attribute Phil Sutter 2024-07-10 17:29:52 +02:00
  • 490bc700fd chain: Support unsetting NFTNL_CHAIN_USERDATA attribute Phil Sutter 2024-07-10 17:22:16 +02:00
  • fc94d862bd expr: limit: Prepare for odd time units Phil Sutter 2024-04-10 14:29:07 +02:00
  • d84846df13 expr: use NFTA_* netlink attributes to build fields, not NFTNL_EXPR_* Pablo Neira Ayuso 2024-06-23 13:27:00 +02:00
  • be0bae0ad3 expr: Respect data_len when setting attributes Phil Sutter 2024-03-07 14:49:08 +01:00
  • c48ac8cba8 obj: Respect data_len when setting attributes Phil Sutter 2024-03-07 14:34:18 +01:00
  • bb5e75be9d utils: Introduce and use nftnl_set_str_attr() Phil Sutter 2024-03-07 14:07:21 +01:00
  • 5d94baba0f obj: Enforce attr_policy compliance in nftnl_obj_set_data() Phil Sutter 2024-03-07 13:56:14 +01:00
  • f8348db877 obj: Introduce struct obj_ops::attr_policy Phil Sutter 2024-03-07 13:46:26 +01:00
  • 410c245e48 obj: Call obj_ops::set with legal attributes only Phil Sutter 2024-03-07 13:25:31 +01:00
  • df4e259c05 obj: Repurpose struct obj_ops::max_attr field Phil Sutter 2024-03-07 13:15:22 +01:00
  • 691f902237 obj: Return value on setters Phil Sutter 2024-03-14 16:54:55 +01:00
  • 8b9b16b365 utils: Fix for wrong variable use in nftnl_assert_validate() Phil Sutter 2024-03-07 13:59:00 +01:00
  • 721fe57025 obj: synproxy: Use memcpy() to handle potentially unaligned data Phil Sutter 2024-03-07 14:16:05 +01:00
  • a113d1ffb6 obj: Do not call nftnl_obj_set_data() with zero data_len Phil Sutter 2024-03-14 16:44:34 +01:00
  • 08c9cab335 table: Validate NFTNL_TABLE_OWNER, too Phil Sutter 2024-03-14 17:30:30 +01:00
  • a9b4d07dfa set: Validate NFTNL_SET_ID, too Phil Sutter 2024-03-14 17:29:51 +01:00
  • 899920d66b obj: Validate NFTNL_OBJ_TYPE, too Phil Sutter 2024-03-14 17:28:15 +01:00
  • b8a502b359 flowtable: Validate NFTNL_FLOWTABLE_SIZE, too Phil Sutter 2024-03-14 17:26:33 +01:00
  • 8d3ed0716c table: Validate NFTNL_TABLE_USE, too Phil Sutter 2024-03-14 17:25:05 +01:00
  • 104b83489d chain: Validate NFTNL_CHAIN_USE, too Phil Sutter 2024-03-14 17:22:14 +01:00
  • 62db596bf1 expr: Enforce attr_policy compliance in nftnl_expr_set() Phil Sutter 2023-12-15 16:32:30 +01:00
  • cdde5a8c5a expr: Introduce struct expr_ops::attr_policy Phil Sutter 2023-12-15 16:30:52 +01:00
  • 9da7658c6e include: Sync nf_log.h with kernel headers Phil Sutter 2023-12-15 16:15:35 +01:00
  • 5029136028 expr: Call expr_ops::set with legal types only Phil Sutter 2023-12-13 23:49:53 +01:00
  • 4ed45d7bbb expr: Repurpose struct expr_ops::max_attr field Phil Sutter 2023-12-13 14:56:49 +01:00
  • c2982f81e0 tests: Fix objref test case Phil Sutter 2023-12-15 16:10:49 +01:00
  • 684585351a utils: remove unused code Pablo Neira Ayuso 2024-02-26 17:38:42 +01:00
  • a4bcdfa620 udata: incorrect userdata buffer size validation Pablo Neira Ayuso 2024-02-26 17:31:19 +01:00
  • f15f1e3feb expr: immediate: check for chain attribute to release chain name Pablo Neira Ayuso 2024-02-24 10:14:54 +01:00
  • 7e6a10e4a5 obj: ct_timeout: setter checks for timeout array boundaries Pablo Neira Ayuso 2024-01-25 17:34:40 +01:00
  • 974af82c0b set_elem: use nftnl_data_cpy() in NFTNL_SET_ELEM_{KEY,KEY_END,DATA} Pablo Neira Ayuso 2024-01-12 12:33:38 +01:00
  • 407f616ea5 set: buffer overflow in NFTNL_SET_DESC_CONCAT setter Pablo Neira Ayuso 2024-01-11 01:13:37 +01:00
  • 2f4f8f6024 chain: Removed non-defined functions Nicholas Vinson 2023-12-26 22:05:17 -05:00
  • 307ed295f4 object: define nftnl_obj_unset() Pablo Neira Ayuso 2024-01-02 14:22:50 +01:00
  • bc2afbde9e expr: fix buffer overflows in data value setters Florian Westphal 2023-12-12 15:01:17 +01:00
  • ff117f50d2 object: getters take const struct corubba 2023-12-09 23:03:01 +01:00
  • 3eaa940bc3 set: Do not leave free'd expr_list elements in place Phil Sutter 2023-05-31 14:09:09 +02:00
  • 83dd4dc316 build: libnftnl 1.2.6 release libnftnl-1.2.6 Pablo Neira Ayuso 2023-07-11 18:28:31 +02:00
  • 53ccf6e7a5 tests: nft-rule-test: Add test cases to improve code coverage shixuantong 2023-06-02 00:05:37 +08:00
  • c1903e3fdc tests: nft-table-test: fix typo shixuantong 2023-06-01 23:53:23 +08:00
  • 86a5461dad expr: meta: introduce broute meta expression Sriram Yagnaraman 2023-02-26 10:53:08 +01:00
  • c62bef65fe build: libnftnl 1.2.5 release libnftnl-1.2.5 Pablo Neira Ayuso 2023-03-09 20:38:24 +01:00
  • 91be1fe0b6 chain: relax logic to build NFTA_CHAIN_HOOK Pablo Neira Ayuso 2023-01-03 16:23:15 +01:00
  • 3f3909afd7 expr: add inner support Pablo Neira Ayuso 2023-01-02 15:15:48 +01:00
  • ccd9434022 Makefile: Create LZMA-compressed dist-files Phil Sutter 2022-12-08 00:48:26 +01:00
  • 7d9b9a5ca4 src: replace nftnl_*_nlmsg_build_hdr() by nftnl_nlmsg_build_hdr() Pablo Neira Ayuso 2022-11-15 11:12:03 +01:00
  • a29ac103e9 examples: remove nftnl_batch_is_supported() call Pablo Neira Ayuso 2022-11-14 17:34:36 +01:00
  • 141cc99775 build: libnftnl 1.2.4 release libnftnl-1.2.4 Pablo Neira Ayuso 2022-11-10 16:01:48 +01:00
  • 7e867f5d66 libnftnl: Fix res_id byte order Ian Pilcher 2022-10-18 11:45:28 -05:00
  • 461f36979f expr: payload: remove unused function Pablo Neira Ayuso 2022-09-07 17:22:04 +02:00
  • c759027a52 rule, set_elem: remove trailing \n in userdata snprintf Pablo Neira Ayuso 2022-08-31 16:52:51 +02:00
  • 212479ad2c rule, set_elem: fix printing of user data Jeremy Sowden 2022-08-27 18:17:17 +01:00
  • 817c8b66f1 build: libnftnl 1.2.3 release libnftnl-1.2.3 Pablo Neira Ayuso 2022-08-09 20:23:55 +02:00
  • 84d12cfacf build: fix clang+glibc snprintf substitution error Nicholas Vinson 2022-06-15 07:35:28 -04:00
  • f6575131e6 build: libnftnl 1.2.2 release libnftnl-1.2.2 Pablo Neira Ayuso 2022-06-07 16:10:40 +02:00
  • accee9a75e set_elem: missing export symbol Pablo Neira Ayuso 2022-05-18 23:54:03 +02:00
  • e2514c0eff exthdr: tcp option reset support Florian Westphal 2022-02-19 14:39:04 +01:00