From 4880b36afe014e0d93da2fd3e3eefa0a797e0996 Mon Sep 17 00:00:00 2001 From: Konstantin Svist Date: Fri, 1 Nov 2024 18:05:47 -0700 Subject: [PATCH] Provide nflog_arm64 binary (built with `make ARCH=arm64 nflog`) It's ridiculous that this is not built remotely in a controlled manner! Should fix #1397 #1380 --- app/src/main/java/dev/ukanth/ufirewall/Api.java | 2 +- app/src/main/res/raw/nflog_arm64 | Bin 0 -> 26216 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100755 app/src/main/res/raw/nflog_arm64 diff --git a/app/src/main/java/dev/ukanth/ufirewall/Api.java b/app/src/main/java/dev/ukanth/ufirewall/Api.java index 52213862..92cbf240 100644 --- a/app/src/main/java/dev/ukanth/ufirewall/Api.java +++ b/app/src/main/java/dev/ukanth/ufirewall/Api.java @@ -1857,7 +1857,7 @@ private static boolean installBinariesArm64() { //if (!installBinary(ctx, R.raw.busybox_arm64, "busybox")) return false; //if (!installBinary(ctx, R.raw.iptables_arm64, "iptables")) return false; //if (!installBinary(ctx, R.raw.ip6tables_arm64, "ip6tables")) return false; - //if (!installBinary(ctx, R.raw.nflog_arm64, "nflog")) return false; + if (!installBinary(ctx, R.raw.nflog_arm64, "nflog")) return false; //if (!installBinary(ctx, R.raw.run_pie_arm64, "run_pie")) return false; return true; } diff --git a/app/src/main/res/raw/nflog_arm64 b/app/src/main/res/raw/nflog_arm64 new file mode 100755 index 0000000000000000000000000000000000000000..28be7dec76ffee2db5fc05b0a1f5fa7301715f84 GIT binary patch literal 26216 zcmeHweRz~bmT&b(LP!FHe2^HBbOI<75u*kO3Z~Nu5I)opqT?vq>2x{}@}2HrA{l5x zW`-;74lO}YnGg|OlJzPoEM(WY1ay7ak(mKM7}jC2lc1vDo!kW^J$&^2oqDU%MUyx_ zcc1(0Kh(_2dFxlFPMtb+>Que;zG>IYSu|I#(=nM0Y#*asdWwdaMZuXuaRXvz87vI{ zj$v^u6!{R2Y2{{(pj1m;LbRk|0ylsf>0U2@AQ~r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