Skip to content

Releases: namib-project/nftables-rs

v0.5.0

25 Oct 22:28
34c4c2b
Compare
Choose a tag to compare

This release completes documentation for schema and adds support for tproxy,
synproxy and flow/flowtable statements/objects.

⚠️ Breaking Changes

  • Enum stmt::Statement:
    • adds variants Flow, SynProxy and TProxy,
    • removes variant CounterRef,
    • receives a #[non_exhaustive] mark.
  • Struct stmt::Counter became enum.
  • Enum schema::NfListObject adds variant SynProxy.
  • Removed functions schema::Table::new(), schema::Table::new() and schema::Rule::new().

⛰️ Features

  • (schema) [breaking] Add default impl, add doc comments - (abd3156)
  • (schema) Qualify limit's per-attribute as time unit enum - (42c399d)
  • (stmt) Implement flow statement - (a3209cb)
  • Add synproxy statement and list object - (0108fbf)

🐛 Bug Fixes

  • (stmt) [breaking] Fix named counter - (9f109c5)
  • Add doc comment and trait derive to counters - (617b071)
  • [breaking] Store NfListObjects in heap - (51ccf10)

📚 Documentation

  • (lib) Add library description - (2e98483)
  • (readme) Add @JKRhb as maintainer - (021abc1)
  • (visitor) Fix doc comment syntax - (d8e0c68)
  • Fix long doc comments in expr, stmt - (290c5bb)
  • Add doc comments for tproxy - (e13a5ed)

🧪 Testing

  • (schema) Add set and map nft/json test - (03db827)
  • (stmt) Add serialization test for flow, flowtable - (fd88573)
  • Refactor nftables-json test script with unshare - (3799022)
  • Add test for synproxy - (910315b)
  • Re-convert json data from nftables files - (1ca5421)

v0.4.1

01 Jun 16:22
8335dac
Compare
Choose a tag to compare

⚙️ Miscellaneous Tasks

  • Add dependabot, git-cliff, release-plz
  • Add github issue templates
  • Add rust fmt check for pull requests
  • Consolidate rust-fmt into rust workflow
  • (dep) Bump dependencies serde, serde_json, serial_test

Build

  • Add devcontainer configuration

v0.4.0

16 Mar 16:18
v0.4.0
bf3c4b1
Compare
Choose a tag to compare

Breaking Changes

  • add inner header as payload base by @Luap99, see #16

What's Changed

  • add inner header as payload base by @Luap99
  • fix get_current_ruleset_raw args parsing by @Luap99
  • run nft tests in network namespaces by @jwhb in #18
  • add ruleset flush type by @jwhb

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

22 Jan 11:44
v0.3.0
5e10bbb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.4...v0.3.0

v0.2.4

12 Aug 13:51
v0.2.4
1d6a5e2
Compare
Choose a tag to compare

What's Changed

  • Improve error handling in helper

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

10 Jul 20:30
v0.2.3
3527327
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

19 Mar 23:55
v0.2.2
a0df9e2
Compare
Choose a tag to compare

What's Changed

  • add element serialization by @Dummyc0m in #3
  • implement SetType, add test for Set in 720d2c7

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

16 Dec 12:45
efd48f4
Compare
Choose a tag to compare

Fix rule insertion (thanks to @thosmos)

v0.2.0

16 Dec 12:44
v0.2.0
2dbda7d
Compare
Choose a tag to compare
Release v0.2.0