Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is a fork of the Droidwall application. The original code is located here: http://code.google.com/p/droidwall/ My code is located here: http://github.com/skullone/android_firewall Changelog: 2.3.5 - Fix for VPN issue if on Android 4.4. Updated how SDCard Support functions so it should be a lot better if you were having issues. Thanks to mauro for helping me test. FAQ section added. Ability to make system apps a different color. Disabled apps no longer appear in the app list. Added AF settings to error reports that are sent. Fixed an issue where some devices couldn't send an error report. Updated busybox binary for x86 devices making the apk smaller thanks to Nicolas for all the help in testing the x86 binary. Added protocol type to the logs. Fix for issue where if NFLOG used for logging the service would not start after a reboot. New translations added - Slovak and Hungarian. 2.3.4 - Update strings.xml for easier translation. Make languages strings for translation. Fixed issue where Navigation drawer would change back to English after exiting the app if you changed the language manually. Added more information to error reports that are sent to help with troubleshooting. Updated interfaces for some new devices. Apps that are uninstalled will now show up at the top of the app list if reinstalled. This only applies to apps uninstalled after this update is installed. Menu is now correct after the plugin or a shortcut makes a change to firewall. Notification icon updated so it looks better. 2.3.3 - Nexus 5 support. Android 4.4 support. New logging ability. Now you can log data flowing from and into an application instead of simply logging rejected data. Moved some hard coded strings to the strings.xml file. Added ability to e-mail error reports to me for easier troubleshooting and assistance. Reports are on external data so you can see exactly what is being sent to me. Improved logic for choosing binary files. Now only the appropriate binary for your system (ARM or x86) will be installed after a fresh install of AF. Updated libsuperuser and ActionBarSherlock to latest versions. Fixed bug that made Locale fail. Added application shortcuts. You can place them on your desktop to access profiles or make use of them in Llama or Macrodroid. 2.3.2 - Fix for issue that caused crashing while getting the type of log. 2.3.1 - INPUT Chain support added. Multi-user support for tablets added. Please read the Help section about Multi-user for more information. Fix for bug where app would sometimes crash on start up. Fixed crash for some devices due to missing Access Wifi State permission when using LAN support. Devices that use NFLOG for logging will no longer show empty logs. Thanks to Mr. Cernekee and Mr. Chandran for that fix. Thanks to Alex for fixing the Select All functionality. Logs now show Source IP, Destination IP, and Destination port. 2.3.0 - Updated translations for Vietnamese (Thanks alienyd!) and Japanese (Thanks Hiroki Ogawa!). Logging code updated to use LOG instead of NLFOG if both are available. This should fix those who had working logs and now do not have working logs. Change how NFLOG/LOG info is pulled as grep was not working correctly on some devices. Fixed issue with new busybox binary not working correctly with some devices. 2.2.9 - Added even more logic to prevent logging from not adding the reject rule. My apologies for the inconvenience. 2.2.8 - Fix for minor UI issue (extra line to right of drawer) with nav drawer. Fix for issue where logs would prevent reject rule from being applied. Fix for issue where LAN support would cause rules to not apply. 2.2.7 - New Help menu with detailed information on AF functionality. Navigation drawer added and most options moved to Nav drawer. Swipe from left to access Nav drawer. LAN support added. This requires the Internet Permission in order to see the network changes. AF makes NO calls to the outside world. AF will now show up in the list of apps with Internet access. Fixed hard coded strings to make them part of strings file for translation. Android 4.3 support. Made changes to interfaces. BlueTooth tether interfaces are now under VPN. Apologies for this but ran into complications with duplicate interfaces and had to make a decision that would best fix the issue and make it easier to deal with in the future. Better tethering support. It is now enabled under Settings. Android 4.x devices now use system iptables binary. Android 3.x and lower use the included iptables binary. Busybox binary updated to version 1.21.0. Added x86 busybox binary. x86 support added. 2.2.6 - Fix for text issues with Clear/Invert buttons for some languages. Vietnamese language added. German language updated. Thanks to alienyd from Crowdin for both! Added bt-pan interface for Bluetooth tethering to data string. Added interface for LG Revolution. 2.2.5 - Fix for bug where menu items wouldn't update correctly if the firewall is disabled and then enabled via profile change. Added data interface for Galaxy S4. Fixed issue with Password where changing profiles via menu widget could remove it. Keyboard now properly disappears when entering/setting/removing password. 2.2.4 - Actionbarsherlock added. This updates the UI for Android 2.2/2.3 users to Holo. Fix for random issue where changes made in Settings wouldn't stick. Fix for issue where app would hang when changing profiles after a reboot. 2.2.3 - Fix for sorting when VPN/Roaming not enabled. 2.2.2 - Bug fixes for crashing on start up or after an app has been install/uninstalled. Added Bluetooth interface names to WiFi for BT tethering. 2.2.1 - Bug fixes. Show rules and Show logs UI updated. 2.2.0 - Users with apps on the SDCard can now change, under Settings, the way AF applies rules during a reboot to make sure the apps are loaded properly. Tethering now works without disabling the firewall. You must enable "root" and "kernel" in the rules. 2.1.9 - Bug fixes. Fixed issue where language was defaulting to English. 2.1.8 - Bug fixes for crashes and NullPointerExceptions. Added old widget back in. The widgets are identifiable by their icons. Blue-Green is On/Off widget. Blue is the new toggle widget. Ability to choose your language has been added (more will be added in the future). Tasker can now Enable/Disable the firewall. 2.1.7 - Widget has been replaced with a more functional one since the original gave people way too many problems. New notification icon in order to look more like traditional Android notifications. 2.1.6 - Translation updates to French and Chinese. Fix for firewall log always showing empty on some devices. UI clean up. Many options moved to Settings menu. VPN/Roaming support now optional and disappear if disabled. Tasker notifications now optional. Profile name changes now appear in Tasker. All settings are saved to the rules files. 2.1.5 - Fix minor issue where checkboxes for VPN are not showing up when the app is re-opened. 2.1.4 - Profile names now editable. Fix for NullPointerException. VPN support has been added. Many thanks to Ventz for all his work with it and randomly supplying me with the exact iptables rules needed to implement the functionality. Updated the logging code. Logs should hold more information now and not get over written as often. Applying rules on boot has been totally re-written. Hopefully, this corrects any issues with rules applying on boot. This also corrected an issue with some devices on Android 2.x where the app would hang the first time you open it after a reboot. Profiles now save changes made to them. Do not forget to export your rules file though for safe keeping. XHDPI icons added. 2.1.3 - App search. Widget fixed. Issue where the firewall rules don't work when Mobile Data Limit is being used has been fixed. 2.1.2 - Tasker/Locale plugin support. 2.1.1 - Shell script replaced by proper SU binary support with SuperSU binary. Thanks to Chainfire for a great product and his write up "How-to su". I chose SuperSU over Superuser because of Chainfires write up. In the end either SU versions would have worked just fine. Fixed issue where loading profiles through menu wouldn't properly set the spinner position. Update to the French translation, Thanks Joffrey! 2.1.0 - Save/Load Profiles functionality. Spinner option added to main screen for quick swap of profiles. Main menu totally revamped. Invert option for WiFi/Data added for those who swap between Blacklist and Whitelist. Roaming still left up to the user. Notifications no longer fire when an app is updated, only new installs get a notification. Code cleanup. Translation updates. Thanks to Joffrey for French, Alex for Russian and iptux for Chinese, and Hiroki Ogawa for Japanese. 2.0.4 - Select/Clear All now works correctly. Thanks for sblack1 for the fix. Minor changes to Russian and German translations. 2.0.3 - MD5 hashing of password has been added. Confirm password added before setting password. Select all/clear all options have been added. Fixed menu.xml issue with string names. Thanks to iptux for that and for the updated Chinese translation. Thanks to Joffery for again updating the French translation. Updated the other translations with Google Translate. 2.0.2 - Rules file management support added. Notifications added. Notifications off by default. Fix for issue where if changes to rules are made and you click the back key and say apply the app doesn't exit afterwards. 2.0.1 - Fix for Null Pointer Exception when trying to import rules before exporting rules. Added a check for External storage in case a device doesn't have its SDcard mounted at the time. 2.0.0 - Added Roaming Support. Added Export/Import of Rules. BootBroadcast updated to correct issues with some devices not applying rules after a reboot. 1.0.9 - Updated the translations. IPv6 support cleaned up. Back to a single shell script. 1.0.8 - Menu's cleaned up. IPv6 support available again for some devices. Please note that not all devices support IPv6. IPv6 support is now an option to enable. If your device does not support IPv6 you get an error saying "ip6tabled not found". 1.0.7 - Reverted IPv6 support due to issues with older devices. 1.0.6 - Fixed issue where HTTPS sites and apps could bypass rules on some devices. Added IPv6 support. Updated iptables binaries. 1.0.5 - Updated the fix for the Verizon SGS3 to make it cleaner. 1.0.4 - Fix for Verizon Samsung Galaxy S 3 ignoring rules. Added interface name for VZW SGS3. Many thanks to Warren for all the help with testing the SGS3! Updated the translations. Fix for link in Custom Scripts not working. 1.0.2 - Updated French translation thanks to Joffrey. Fix for issue where any user could make a DNS call thanks to tripolar! 1.0.1 - Added a number of translations. 1.0.0 - initial release. Updated for Android 4.x. Added new interfaces for new devices.