{"action":"created","issue":{"url":"https://api.github.com/repos/ukanth/afwall/issues/461","labels_url":"https://api.github.com/repos/ukanth/afwall/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/ukanth/afwall/issues/461/comments","events_url":"https://api.github.com/repos/ukanth/afwall/issues/461/events","html_url":"https://github.com/ukanth/afwall/issues/461","id":119124635,"number":461,"title":"IPv6 support is not adequate","user":{"login":"vi","id":173219,"avatar_url":"https://avatars.githubusercontent.com/u/173219?v=3","gravatar_id":"","url":"https://api.github.com/users/vi","html_url":"https://github.com/vi","followers_url":"https://api.github.com/users/vi/followers","following_url":"https://api.github.com/users/vi/following{/other_user}","gists_url":"https://api.github.com/users/vi/gists{/gist_id}","starred_url":"https://api.github.com/users/vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vi/subscriptions","organizations_url":"https://api.github.com/users/vi/orgs","repos_url":"https://api.github.com/users/vi/repos","events_url":"https://api.github.com/users/vi/events{/privacy}","received_events_url":"https://api.github.com/users/vi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-27T03:04:08Z","updated_at":"2015-11-27T23:05:04Z","closed_at":null,"body":"Using F-Droid's version 2.1.1\r\n\r\nIf \"IPv6 support\" checkbox is checked,\r\n\r\n* Policy of OUTPUT chain gets changed from ACCEPT to DROP without any accompanying \"ACCEPT\" rules;\r\n* AWwall's \"awwall\" chain is empty in ip6tables\r\n* \"Enable Firewall\" don't change to \"Disable Firewall\" whan I click it.\r\n* No error messages are shown\r\n* Maybe IPv4 support gets mangled along the way.\r\n\r\nAnd a nitpick:\r\n\r\n* \"IPv6 support\" checkbox is in \"User interface\" page, yet does not affect user interface in any way.\r\n\r\nRelated to #347?"},"comment":{"url":"https://api.github.com/repos/ukanth/afwall/issues/comments/160224644","html_url":"https://github.com/ukanth/afwall/issues/461#issuecomment-160224644","issue_url":"https://api.github.com/repos/ukanth/afwall/issues/461","id":160224644,"user":{"login":"vi","id":173219,"avatar_url":"https://avatars.githubusercontent.com/u/173219?v=3","gravatar_id":"","url":"https://api.github.com/users/vi","html_url":"https://github.com/vi","followers_url":"https://api.github.com/users/vi/followers","following_url":"https://api.github.com/users/vi/following{/other_user}","gists_url":"https://api.github.com/users/vi/gists{/gist_id}","starred_url":"https://api.github.com/users/vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vi/subscriptions","organizations_url":"https://api.github.com/users/vi/orgs","repos_url":"https://api.github.com/users/vi/repos","events_url":"https://api.github.com/users/vi/events{/privacy}","received_events_url":"https://api.github.com/users/vi/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T23:05:04Z","updated_at":"2015-11-27T23:05:04Z","body":"At least this script (it tries to copy IPv4 rules to IPv6) finished almost successfully on me device:\r\n\r\n```sh\r\nIFS=\"\r\n\"\r\nA=(`iptables -S | grep afwall`)\r\nfor i in ${A[@]}; do eval \"ip6tables $i\"; done\r\n```\r\n\r\nI see the usual list of rules with RETURN per `owner UID match`. The only errors were:\r\n\r\n```\r\nip6tables: Protocol wrong type for socket.\r\nip6tables v1.4.11.1: unknown reject type \"icmp-port-unreachable\"\r\nTry `ip6tables -h' or 'ip6tables --help' for more information.\r\nip6tables v1.4.11.1: unknown reject type \"icmp-port-unreachable\"\r\nTry `ip6tables -h' or 'ip6tables --help' for more information.\r\n```\r\n\r\nMaybe I can hack up IPv6 support this way (after fixing `afwall-reject` chain)."}}