Skip to content

About

Testing framework for Cloudflare Firewall rules

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

npm version

The clone of SerCeMan/firewalker, with adding apple silicon support. For the document please reference the orginal repo.

Apple Silcon (M1) support issue for npm plugin firewalker

The npm package firewalker depends on binary build of wirefilter to run and execute the firewall rules to perform js based unit test. However,the binary build inside the npm package is x86 based, not support with apple silcon machine, bring some troublesome during development.

The following is the guideline to resolve the problem and this plugin is only the clone with below modification

cargo build --release --target aarch64-apple-darwin
  • Copy the birary file compiled at last step wirefilter/target/aarch64-apple-darwin/release/libwirefilter_ffi.dylib to replace the node_modules/firewalker/lib/libwirefilter_ffi.dylib

About

Testing framework for Cloudflare Firewall rules

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages