Commit Graph
173 Commits
Author SHA1 Message Date
wiegratz 61ba8eaec6 fix(stmt)!: match anonymous and named quotas 2024-11-12 11:45:02 +01:00
dependabot[bot] ae72346ade chore(deps): bump serde from 1.0.214 to 1.0.215
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.214 to 1.0.215.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-12 02:49:36 +00:00
wiegratz 6d41f6e241 ci(release): mention contributors in release changelog 2024-11-11 13:14:09 +01:00
Jasper Wiegratz c50b9d13ae Merge pull request #89 from namib-project/dependabot/cargo/serial_test-3.2.0
chore(deps): bump serial_test from 3.1.1 to 3.2.0
2024-11-11 11:32:26 +01:00
dependabot[bot] a0aab51b37 chore(deps): bump serial_test from 3.1.1 to 3.2.0
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 10:24:46 +00:00
Jasper Wiegratz 82c7c144c9 Merge pull request #90 from namib-project/dependabot/cargo/thiserror-2.0.3
chore(deps): bump thiserror from 2.0.0 to 2.0.3
2024-11-11 11:23:13 +01:00
dependabot[bot] 15cdd76792 chore(deps): bump thiserror from 2.0.0 to 2.0.3
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.0 to 2.0.3.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.0...2.0.3)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 02:08:45 +00:00
Jasper Wiegratz 2f3dee2bb8 Merge pull request #82 from namib-project/jwhb-datatest
Generate deserialize tests with harness
2024-11-10 19:09:49 +01:00
wiegratz a91f54057d ci: disable test against msrv 2024-11-10 18:23:41 +01:00
wiegratz 68332fd8df test(deserialize): generate deserialize tests with harness 2024-11-10 18:04:37 +01:00
Jasper Wiegratz 0273125fa8 Merge pull request #87 from namib-project/jwhb-msrv-breaking
chore!: msrv is rust 1.65
2024-11-09 15:10:50 +01:00
wiegratz 813323168e chore!: msrv is rust 1.65 2024-11-08 11:49:47 +01:00
Jasper Wiegratz 0d1d8e69dd Merge pull request #86 from namib-project/dependabot/cargo/thiserror-2.0.0
chore(deps): bump thiserror from 1.0.68 to 2.0.0
2024-11-08 11:45:02 +01:00
dependabot[bot] 06bf5a6c6a chore(deps): bump thiserror from 1.0.68 to 2.0.0
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.0.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.0)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 10:41:36 +00:00
Jasper Wiegratz b0ea61d531 Merge pull request #83 from namib-project/jwhb-msrv
Document and test against Minimum Supported Rust Version
2024-11-08 11:39:02 +01:00
wiegratz 3cb2e7495d ci: build and test against msrv 2024-11-08 11:35:22 +01:00
wiegratz dfc8517372 docs: define msrv 2024-11-08 11:35:22 +01:00
Jasper Wiegratz 839d635183 Merge pull request #85 from namib-project/dependabot/cargo/thiserror-1.0.68
chore(deps): bump thiserror from 1.0.66 to 1.0.68
2024-11-05 23:59:21 +01:00
dependabot[bot] f8e9c5e543 chore(deps): bump thiserror from 1.0.66 to 1.0.68
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.66 to 1.0.68.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.66...1.0.68)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 02:38:32 +00:00
Jan Romann 9fa820acd9 Merge pull request #81 from namib-project/dependabot/cargo/thiserror-1.0.66
chore(deps): bump thiserror from 1.0.65 to 1.0.66
2024-11-01 12:07:13 +01:00
dependabot[bot] 71060ce7de chore(deps): bump thiserror from 1.0.65 to 1.0.66
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.65 to 1.0.66.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.65...1.0.66)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 02:22:11 +00:00
Jasper Wiegratz 5d7dbd5bc0 Merge pull request #80 from namib-project/jwhb-ci-rootless
CI: Run tests rootless with unshare
2024-10-30 15:54:31 +01:00
wiegratz 95e6fb5023 ci: run tests rootless with unshare 2024-10-30 00:14:02 +00:00
Jan Romann 1b46d4166b Merge pull request #78 from namib-project/dependabot/cargo/serde-1.0.214
chore(deps): bump serde from 1.0.213 to 1.0.214
2024-10-29 08:25:47 +01:00
dependabot[bot] 3ec13507f3 chore(deps): bump serde from 1.0.213 to 1.0.214
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.213 to 1.0.214.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 02:25:33 +00:00
wiegratz 789a160d57 ci: prevent running PR tests twice 2024-10-27 23:36:06 +01:00
wiegratz d833e6564d ci: update release-plz workflow 2024-10-27 23:32:40 +01:00
Jasper eb07fe0d5c Merge pull request #72 from namib-project/release-plz-2024-10-21T10-44-44Z
chore: release v0.5.0
2024-10-26 00:27:33 +02:00
wiegratz 34c4c2b1f8 chore: add breaking changes to v0.5.0 changelog v0.5.0 2024-10-26 00:19:03 +02:00
github-actions[bot] 81d9ede32c chore: release v0.5.0 2024-10-24 20:06:39 +00:00
Jasper cdb0694a0d Merge pull request #68 from namib-project/default-impl
Add Default impl, improve doc comments, add NfTimeUnit to Limit
2024-10-24 22:05:50 +02:00
wiegratz 2e98483b74 docs(lib): add library description 2024-10-24 20:51:06 +02:00
wiegratz abd3156e84 feat(schema)!: add default impl, add doc comments
added default impl for table, chain, rule, set, map, element, flowtable, counter, quota, cthelper, limit, ruleset, metainfoobject, cttimeout.
Default impls replace ::new() functions.

replace family: String by family: NfFamily in flowtable, counter, quota, cthelper, limit
2024-10-24 20:51:06 +02:00
wiegratz 03db827a9a test(schema): add set and map nft/json test 2024-10-24 20:09:02 +02:00
wiegratz 42c399d2d2 feat(schema): qualify limit's per-attribute as time unit enum 2024-10-24 20:09:01 +02:00
wiegratz d8e0c68391 docs(visitor): fix doc comment syntax 2024-10-24 20:09:01 +02:00
dependabot[bot] 8bbd587517 Merge pull request #74 from namib-project/dependabot/cargo/thiserror-1.0.65 2024-10-23 11:13:51 +00:00
dependabot[bot] 43a503361f chore(deps): bump thiserror from 1.0.64 to 1.0.65
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 11:12:32 +00:00
Jan Romann ca2b2cd698 Merge pull request #75 from namib-project/dependabot/cargo/serde-1.0.213
chore(deps): bump serde from 1.0.210 to 1.0.213
2024-10-23 13:11:30 +02:00
dependabot[bot] b282b216f5 chore(deps): bump serde from 1.0.210 to 1.0.213
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.210 to 1.0.213.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 02:49:28 +00:00
Jasper f434c759d2 Merge pull request #73 from namib-project/jwhb-add-maintainer-jkrhb
Add @JKRhb as maintainer in README
2024-10-21 18:05:27 +02:00
Jasper 021abc1cbf docs(readme): add @JKRhb as maintainer 2024-10-21 17:35:18 +02:00
Jasper d1cfeddd2d Merge pull request #71 from namib-project/non-exhaustive-statement
Mark Statement as non-exhaustive enum
2024-10-21 12:44:03 +02:00
Jasper 94a467b0ff Merge pull request #29 from jwhb/synproxy
Implement SynProxy
2024-10-21 12:43:38 +02:00
wiegratz 0108fbfc9e feat: add synproxy statement and list object
also mark some other statements that are missing.
compare with nftables json_parse_stmt:  https://git.netfilter.org/nftables/tree/src/parser_json.c?id=c4c740117f6fbf39dd67dd87635ea8b497718ad7#n2884
2024-10-21 12:19:07 +02:00
wiegratz 3799022069 test: refactor nftables-json test script with unshare 2024-10-21 12:18:38 +02:00
wiegratz 910315ba22 test: add test for synproxy 2024-10-21 12:18:38 +02:00
wiegratz 87512028d9 feat(stmt)!: mark statement as non-exhaustive
non-exhaustive avoids future breaking changes when statements are added
by forcing users to add a wildcard arm to match on statement.
2024-10-21 12:14:13 +02:00
Jasper ae6d3078e5 Merge pull request #67 from namib-project/flow-stmt
Implement Flow statement
2024-10-21 12:05:15 +02:00
wiegratz fd8857314d test(stmt): add serialization test for flow, flowtable 2024-10-21 10:55:10 +02:00