nullnet-firewall

Rust-based firewall for network drivers

APACHE-2.0 License

Downloads
2.6K
Stars
13
nullnet-firewall - v0.2.2 Latest Release

Published by GyulyVGC 9 months ago

Changed

  • FirewallErrors now also include information about the file line number responsible for the error, enabling an easier debugging activity.
nullnet-firewall - v0.2.1

Published by GyulyVGC 9 months ago

Added

  • Firewall::data_link method to set the DataLink type of the Firewall: in addition to Ethernet, now also raw IP is supported.
  • Firewall::log method to allow users enable or disable logging (it's still enabled by default).
nullnet-firewall - v0.2.0

Published by GyulyVGC 11 months ago

Added

  • Log capabilities for the firewall: packets are logged both in standard output
    and in a SQLite database with path ./log.sqlite (#1).
  • Firewall::update_rules to update the rules of a previously instantiated firewall.
  • Quick rules: each of the rules can now be preceded by a + character
    that will make it have higher priority (quick rule).
  • Comments: the file defining firewall rules can now contain comment lines
    (starting with #).

Changed

  • Rules precedence logic changed from "rule with more options wins" to "rule that comes first wins"
    and now quick rules are supported.
  • Firewall::resolve_packet now accepts a FirewallDirection by value instead of by reference.
  • Renamed Firewall::set_policy_in to Firewall::policy_in.
  • Renamed Firewall::set_policy_out to Firewall::policy_out.
nullnet-firewall - v0.1.0

Published by GyulyVGC 12 months ago

Initial release of the library.

Package Rankings
Badges
Extracted from project README
Crates CI Docs Codecov