{"action":"closed","issue":{"url":"https://api.github.com/repos/ukanth/afwall/issues/190","labels_url":"https://api.github.com/repos/ukanth/afwall/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/ukanth/afwall/issues/190/comments","events_url":"https://api.github.com/repos/ukanth/afwall/issues/190/events","html_url":"https://github.com/ukanth/afwall/issues/190","id":18786086,"number":190,"title":"Trust/Untrusted network category","user":{"login":"Magissia","id":3188567,"avatar_url":"https://avatars.githubusercontent.com/u/3188567?v=3","gravatar_id":"","url":"https://api.github.com/users/Magissia","html_url":"https://github.com/Magissia","followers_url":"https://api.github.com/users/Magissia/followers","following_url":"https://api.github.com/users/Magissia/following{/other_user}","gists_url":"https://api.github.com/users/Magissia/gists{/gist_id}","starred_url":"https://api.github.com/users/Magissia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Magissia/subscriptions","organizations_url":"https://api.github.com/users/Magissia/orgs","repos_url":"https://api.github.com/users/Magissia/repos","events_url":"https://api.github.com/users/Magissia/events{/privacy}","received_events_url":"https://api.github.com/users/Magissia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ukanth/afwall/labels/Feature","name":"Feature","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-08-30T12:56:15Z","updated_at":"2015-09-16T20:21:39Z","closed_at":"2015-09-16T20:21:39Z","body":"Hello, we have somewhat a nice number of categories now on afwall, vpn, 3g, roaming etc, but what about some more paranoid stuff ? \nI'm talkin about networks you trust, trust is important, and apps that allow this kind of configuration are rare : NOT SYNCING/CONNECTING IF NOT ON A TRUSTED NETWORK !\n\nThe best example i'm able to share with you is FolderSync that will initiate a sync only if connected to a trusted wifi network if you wish to do so.\n\nThe category would show by a checkbox for both trusted/untrusted networks.\n\nHow trusted network should work :\n\nWhen using afwll in blacklist mode (checked stuff are blocked) checking the box will block the app if you are not connected to a trusted network.\n\nWhen using afwall in whitelist mode (checked stuff are allowed) checking the bow will allow the app to connect even if the network is not trusted.\n\nA \"trusted network\" menu should be added where the user can add networks based on SSID names and/or mac adress (most paranoid users should be able to use a combinaison of both)\n\nA more advanced version of the trusted network, if some devs got time for it, would be to add ip and host field, and consider the network trusted if the public ip/host match. (this should be usable in combinaison of mac adress SSID  ip host for most paranoid users)\n\nAnother option would be to ignore or not the untrusted status of a network if connected to a VPN (and if there's a courageous dev for this, if connected to a trusted VPN, but i may be way too paranoid there ?)\n\nThe checkbox for this should only be shown when this option is activated because some devices screen are small and there would be way too much checkboxes. Or the trust network system should have it's own list (if it's the case i will come up with more crazy idea for paranoid people)\n\nWhile it's not totally afwall role's, we could add the possibility to disable android's sync toggle when not connected to a trusted network.\n\nBest regards, Magissia"}}