aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2020-04-20 16:05:17 +0200
committerLinus Färnstrand <linus@mullvad.net>2020-04-20 16:05:17 +0200
commit398ef82e3e0c1e7a759832980b347fb183b874e0 (patch)
treec437e0b3701a37b6f1dddbc31fb38f7f5638f87a
parent75fbd02521d97973a9942eb3571ba1a88b2eee1f (diff)
parentf42c85c34383a012cf93d8b1eb6d559c85710356 (diff)
Merge branch 'prepare-release-0.3'
-rw-r--r--CHANGELOG.md15
-rw-r--r--nftnl-sys/Cargo.toml4
-rw-r--r--nftnl/Cargo.toml6
3 files changed, 19 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 30bdb64..8df81e0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,12 +15,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
+
+
+## [0.3.0] - 2020-04-20
### Added
+- Add `ChainType` and allow setting a chain to either filter, route or nat type.
+- Add support for reading and setting marks in the `Meta` and `Conntrack` expressions.
+- Add support for reading the cgroup via the `Meta` expression.
+- Add `Immediate` expression type that can load data into the registers.
- Add support for masquerading.
+- Implement `Debug` for `Chain`.
+
+### Changed
+- Change `get_tables_nlmsg` to include all tables, not only inet tables,
+ but also arp, ip, ip6, bridge etc.
### Fixed
- Fix compilation errors on ARM64 platforms.
-
+- Set `NFTNL_CHAIN_FAMILY` for chains and other fixes making the library compatible
+ with older kernels.
## [0.2.1] - 2019-09-23
### Added
diff --git a/nftnl-sys/Cargo.toml b/nftnl-sys/Cargo.toml
index d5832d7..f716296 100644
--- a/nftnl-sys/Cargo.toml
+++ b/nftnl-sys/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "nftnl-sys"
-version = "0.2.0"
-authors = ["Mullvad VPN <admin@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>"]
+version = "0.3.0"
+authors = ["Mullvad VPN"]
license = "MIT/Apache-2.0"
description = "Low level FFI bindings to libnftnl. Provides low-level userspace access to the in-kernel nf_tables subsystem"
repository = "https://github.com/mullvad/nftnl-rs"
diff --git a/nftnl/Cargo.toml b/nftnl/Cargo.toml
index 658a7ca..849514b 100644
--- a/nftnl/Cargo.toml
+++ b/nftnl/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "nftnl"
-version = "0.2.1"
-authors = ["Mullvad VPN <admin@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>"]
+version = "0.3.0"
+authors = ["Mullvad VPN"]
license = "MIT/Apache-2.0"
description = "Safe abstraction for libnftnl. Provides low-level userspace access to the in-kernel nf_tables subsystem"
repository = "https://github.com/mullvad/nftnl-rs"
@@ -23,7 +23,7 @@ bitflags = "1.0"
err-derive = "0.1.5"
libc = "0.2.40"
log = "0.4"
-nftnl-sys = { path = "../nftnl-sys", version = "0.2" }
+nftnl-sys = { path = "../nftnl-sys", version = "0.3" }
[dev-dependencies]
ipnetwork = "0.15"