241 lines
11 KiB
Plaintext
241 lines
11 KiB
Plaintext
Categories:Security,Internet
|
|
License:GPLv3
|
|
Web Site:https://github.com/ukanth/afwall/wiki
|
|
Source Code:https://github.com/ukanth/afwall
|
|
Issue Tracker:https://github.com/ukanth/afwall/issues
|
|
Donate:http://forum.xda-developers.com/donatetome.php?u=3249429
|
|
|
|
Auto Name:AFWall+
|
|
Summary:Control network traffic
|
|
Description:
|
|
Firewall (iptables frontend), based on DroidWall which is no longer being
|
|
developed.
|
|
* Import/Export Rules to external storage
|
|
* Search Applications
|
|
* Multiple profiles with custom names
|
|
* Highlights system applications with custom color
|
|
* Notify on new installations
|
|
* VPN Support
|
|
* Device Admin support to protect against being uninstalled
|
|
Requires root: Yes. iptables must run as root.
|
|
|
|
[https://github.com/ukanth/afwall/blob/master/Changelog.md Changelog]
|
|
.
|
|
|
|
Requires Root:Yes
|
|
|
|
Repo Type:git
|
|
Repo:https://github.com/ukanth/afwall.git
|
|
|
|
Build:1.2.0,120
|
|
commit=1.2.0
|
|
extlibs=android/android-support-v4.jar
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,Busybox@83785f0,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf res/raw/busybox_g1 res/raw/iptables_armv5 external/ && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(android.library.reference.2=\).*@\1$$LockPattern$$@' project.properties && \
|
|
export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
mkdir -p bb/ && \
|
|
cp -r $$Busybox$$/* bb/ && \
|
|
cd bb/ && \
|
|
wget https://raw.github.com/tias/android-busybox-ndk/bd2bf4f384350a2bb2f81444012a882ddd48662a/android_ndk_defconfigPlus && \
|
|
mv android_ndk_defconfigPlus .config && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" && \
|
|
mv busybox ../res/raw/busybox_g1 && \
|
|
cd ../ && \
|
|
git clone https://android.googlesource.com/platform/external/iptables && \
|
|
cd iptables && \
|
|
wget https://hg.adblockplus.org/adblockplusandroid/raw-file/c3c62b79e758/iptables.patch -P ../ && \
|
|
git apply ../iptables.patch && \
|
|
sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile && \
|
|
make fixextensions build && \
|
|
mv libs/armeabi/iptables ../res/raw/iptables_armv5
|
|
|
|
Build:1.2.4,124
|
|
commit=v1.2.4
|
|
extlibs=android/android-support-v4.jar,afwall.patch
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,Busybox@1_21_0,BusyboxConfigs@e71bc43bd0,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf res/raw/busybox_g1 res/raw/iptables_armv5 external/busybox/* external/iptables/* && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(android.library.reference.2=\).*@\1$$LockPattern$$@' project.properties && \
|
|
cp -r $$iptables$$/* external/iptables/ && \
|
|
mv libs/afwall.patch . && \
|
|
touch external/iptables/extensions/fixinit.py && \
|
|
git apply afwall.patch && \
|
|
cp -r $$Busybox$$/* external/busybox/ && \
|
|
cp -r $$BusyboxConfigs$$/* external/busybox/configs/ && \
|
|
cd external/busybox && \
|
|
for i in configs/patches/*.patch; do patch -p1 < $i; done && \
|
|
mv configs/android_ndk_stericson-like .config
|
|
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
cd external/busybox/ && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
|
|
mv busybox ../../res/raw/busybox_g1 && \
|
|
cd ../iptables && \
|
|
python extensions/fixinit.py && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk && \
|
|
mv libs/armeabi/iptables ../../res/raw/iptables_armv5
|
|
|
|
Build:1.2.4.1,125
|
|
commit=v1.2.4.1
|
|
extlibs=android/android-support-v4.jar,afwall.patch
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,Busybox@1_21_0,BusyboxConfigs@e71bc43bd0,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf res/raw/busybox_g1 res/raw/iptables_armv5 external/busybox/* external/iptables/* && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(android.library.reference.2=\).*@\1$$LockPattern$$@' project.properties && \
|
|
cp -r $$iptables$$/* external/iptables/ && \
|
|
mv libs/afwall.patch . && \
|
|
touch external/iptables/extensions/fixinit.py && \
|
|
git apply afwall.patch && \
|
|
cp -r $$Busybox$$/* external/busybox/ && \
|
|
cp -r $$BusyboxConfigs$$/* external/busybox/configs/ && \
|
|
cd external/busybox && \
|
|
for i in configs/patches/*.patch; do patch -p1 < $i; done && \
|
|
mv configs/android_ndk_stericson-like .config
|
|
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
cd external/busybox/ && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
|
|
mv busybox ../../res/raw/busybox_g1 && \
|
|
cd ../iptables && \
|
|
python extensions/fixinit.py && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk && \
|
|
mv libs/armeabi/iptables ../../res/raw/iptables_armv5
|
|
|
|
Build:1.2.5.2,129
|
|
commit=v1.2.5.2
|
|
extlibs=android/android-support-v4.jar,afwall.patch
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,Busybox@1_21_0,BusyboxConfigs@e71bc43bd0,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf res/raw/busybox_g1 res/raw/iptables_armv5 external/busybox/* external/iptables/* && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(android.library.reference.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(android.library.reference.2=\).*@\1$$LockPattern$$@' project.properties && \
|
|
cp -r $$iptables$$/* external/iptables/ && \
|
|
mv libs/afwall.patch . && \
|
|
touch external/iptables/extensions/fixinit.py && \
|
|
git apply afwall.patch && \
|
|
cp -r $$Busybox$$/* external/busybox/ && \
|
|
cp -r $$BusyboxConfigs$$/* external/busybox/configs/ && \
|
|
cd external/busybox && \
|
|
for i in configs/patches/*.patch; do patch -p1 < $i; done && \
|
|
mv configs/android_ndk_stericson-like .config
|
|
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
cd external/busybox/ && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
|
|
mv busybox ../../res/raw/busybox_g1 && \
|
|
cd ../iptables && \
|
|
python extensions/fixinit.py && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk && \
|
|
mv libs/armeabi/iptables ../../res/raw/iptables_armv5
|
|
|
|
Build:1.2.6,132
|
|
commit=v1.2.6
|
|
extlibs=android/android-support-v4.jar,afwall.patch
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf external/iptables/* && \
|
|
cp -r $$iptables$$/* external/iptables/ && \
|
|
mv libs/afwall.patch . && \
|
|
tr -d '\r' < AndroidManifest.xml > output.file && \
|
|
mv output.file AndroidManifest.xml && \
|
|
touch external/iptables/extensions/fixinit.py && \
|
|
git apply afwall.patch && \
|
|
cd external/busybox/ && \
|
|
tar -jxf busybox-1.21.1.tar.bz2 && \
|
|
cd busybox-1.21.1/ && \
|
|
patch -p1 < ../022-ipv6.patch && \
|
|
cp ../defconfig .config && \
|
|
cd ../../../ && \
|
|
rm res/raw/busybox_g2 res/raw/iptables_armv5 res/raw/nflog external/busybox/busybox-1.21.1.tar.bz2 && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(.2=\).*@\1$$LockPattern$$@' project.properties
|
|
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
cd external/busybox/busybox-1.21.1/ && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
|
|
mv busybox ../../../res/raw/busybox_g2 && \
|
|
cd ../../iptables && \
|
|
python extensions/fixinit.py && \
|
|
cd ../../ && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/iptables/Android.mk && \
|
|
mv libs/armeabi/iptables res/raw/iptables_armv5 && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/nflog/Android.mk && \
|
|
mv libs/armeabi/nflog res/raw/
|
|
|
|
Build:1.2.6.1,136
|
|
commit=v1.2.6.1
|
|
extlibs=android/android-support-v4.jar,afwall.patch
|
|
srclibs=ActionBarSherlock@4.2.0,LockPattern@1c1307,iptables@android-4.2.2_r1
|
|
prebuild=rm -rf external/iptables/* && \
|
|
cp -r $$iptables$$/* external/iptables/ && \
|
|
mv libs/afwall.patch . && \
|
|
tr -d '\r' < AndroidManifest.xml > output.file && \
|
|
mv output.file AndroidManifest.xml && \
|
|
touch external/iptables/extensions/fixinit.py && \
|
|
git apply afwall.patch && \
|
|
cd external/busybox/ && \
|
|
tar -jxf busybox-1.21.1.tar.bz2 && \
|
|
cd busybox-1.21.1/ && \
|
|
patch -p1 < ../022-ipv6.patch && \
|
|
cp ../defconfig .config && \
|
|
cd ../../../ && \
|
|
rm res/raw/busybox_g2 res/raw/iptables_armv5 res/raw/nflog external/busybox/busybox-1.21.1.tar.bz2 && \
|
|
mv libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ && \
|
|
sed -i 's@\(.1=\).*@\1$$ActionBarSherlock$$@' project.properties && \
|
|
sed -i 's@\(.2=\).*@\1$$LockPattern$$@' project.properties
|
|
build=export PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:$PATH && \
|
|
cd external/busybox/busybox-1.21.1/ && \
|
|
make CONFIG_SYSROOT="$$NDK$$/platforms/android-9/arch-arm" ARCH=arm ANDROID_NDK=$$NDK$$ && \
|
|
mv busybox ../../../res/raw/busybox_g2 && \
|
|
cd ../../iptables && \
|
|
python extensions/fixinit.py && \
|
|
cd ../../ && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/iptables/Android.mk && \
|
|
mv libs/armeabi/iptables res/raw/iptables_armv5 && \
|
|
$$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=external/nflog/Android.mk && \
|
|
mv libs/armeabi/nflog res/raw/
|
|
|
|
Build:1.2.7,141
|
|
commit=v1.2.7
|
|
submodules=yes
|
|
prebuild=rm -f res/raw/{iptables,ip6tables,busybox,nflog}*
|
|
build=make -C external NDK=$$NDK$$
|
|
buildjni=no
|
|
|
|
Build:1.2.8,146
|
|
commit=v1.2.8
|
|
submodules=yes
|
|
prebuild=rm -f res/raw/{iptables,ip6tables,busybox,nflog}*
|
|
build=make -C external NDK=$$NDK$$
|
|
buildjni=no
|
|
|
|
Build:1.2.9,152
|
|
commit=v1.2.9
|
|
submodules=yes
|
|
prebuild=rm -f res/raw/{iptables,ip6tables,busybox,nflog}*
|
|
build=make -C external NDK=$$NDK$$
|
|
buildjni=no
|
|
|
|
Build:1.3.1.1,164
|
|
commit=v1.3.1.1
|
|
submodules=yes
|
|
prebuild=mv jni jni_
|
|
scandelete=res/raw
|
|
build=mv jni_ jni && \
|
|
make -C external NDK=$$NDK$$
|
|
|
|
Build:1.3.2,166
|
|
commit=v1.3.2
|
|
submodules=yes
|
|
prebuild=mv jni jni_
|
|
scandelete=res/raw
|
|
build=mv jni_ jni && \
|
|
make -C external NDK=$$NDK$$
|
|
|
|
Auto Update Mode:Version v%v
|
|
Update Check Mode:Tags
|
|
Current Version:1.3.2
|
|
Current Version Code:166
|
|
|