{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/722","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/722/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/722/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/722","id":169038711,"number":722,"title":"Broken with windows firewall","user":{"login":"pnegry","id":2201980,"avatar_url":"https://avatars.githubusercontent.com/u/2201980?v=3","gravatar_id":"","url":"https://api.github.com/users/pnegry","html_url":"https://github.com/pnegry","followers_url":"https://api.github.com/users/pnegry/followers","following_url":"https://api.github.com/users/pnegry/following{/other_user}","gists_url":"https://api.github.com/users/pnegry/gists{/gist_id}","starred_url":"https://api.github.com/users/pnegry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnegry/subscriptions","organizations_url":"https://api.github.com/users/pnegry/orgs","repos_url":"https://api.github.com/users/pnegry/repos","events_url":"https://api.github.com/users/pnegry/events{/privacy}","received_events_url":"https://api.github.com/users/pnegry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T03:20:49Z","updated_at":"2016-08-03T03:20:49Z","closed_at":null,"body":"With Windows Firewall set to 'outbound rules that do not match a rule are denied', it's impossible to create a rule to allow bash-on-windows to do anything with the network.\r\n\r\n* Expected results: connect to the network\r\n\r\n* Actual results: \r\ntelnet: Unable to connect to remote host: Permission denied\r\n\r\n* Your Windows build number: 1067\r\n\r\n* Steps / commands required to reproduce the error\r\nConfigure Windows Firewall as above\r\nTry to connect or do anything with the network\r\nTry to configure windows firewall to allow the bash process - it doesn't exist so there's no way to create a rule\r\n\r\n* Strace of the failing command\r\nexecve(\"/usr/bin/telnet\", [\"telnet\", \"192.168.191.53\", \"53\"], [/* 19 vars */]) = 0\r\nbrk(0)                                  = 0x1edd000\r\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)\r\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d50000\r\naccess(\"/etc/ld.so.preload\", R_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 3\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=18732, ...}) = 0\r\nmmap(NULL, 18732, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5699d4b000\r\nclose(3)                                = 0\r\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/lib/x86_64-linux-gnu/libstdc++.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0 \\266\\5\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=979056, ...}) = 0\r\nmmap(NULL, 3159040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f56996f0000\r\nmprotect(0x7f56997d6000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f56999d5000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe5000) = 0x7f56999d5000\r\nmmap(0x7f56999df000, 82944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f56999df000\r\nclose(3)                                = 0\r\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/libc.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\320\\37\\2\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0\r\nmmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5699320000\r\nmprotect(0x7f56994db000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f56996da000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7f56996da000\r\nmmap(0x7f56996e0000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f56996e0000\r\nclose(3)                                = 0\r\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/libm.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\20V\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=1071552, ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d40000\r\nmmap(NULL, 3166568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5699010000\r\nmprotect(0x7f5699115000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f5699314000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x104000) = 0x7f5699314000\r\nclose(3)                                = 0\r\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/lib/x86_64-linux-gnu/libgcc_s.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\260*\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=90160, ...}) = 0\r\nmmap(NULL, 2186016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5698df0000\r\nmprotect(0x7f5698e06000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f5699005000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f5699005000\r\nclose(3)                                = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d30000\r\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d20000\r\narch_prctl(ARCH_SET_FS, 0x7f5699d20780) = 0\r\nmprotect(0x7f56996da000, 16384, PROT_READ) = 0\r\nmprotect(0x7f5699314000, 4096, PROT_READ) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d10000\r\nmprotect(0x7f56999d5000, 32768, PROT_READ) = 0\r\nmprotect(0x614000, 4096, PROT_READ)     = 0\r\nmprotect(0x7f5699c22000, 4096, PROT_READ) = 0\r\nmunmap(0x7f5699d4b000, 18732)           = 0\r\nbrk(0)                                  = 0x1edd000\r\nbrk(0x1f02000)                          = 0x1f02000\r\nrt_sigaction(SIGTSTP, {0x40b6c0, [TSTP], SA_RESTORER|SA_RESTART, 0x7f5699356d40}, {SIG_DFL, [], SA_RESTORER, 0x7f39ea026d40}, 8) = 0\r\nioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nrt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0\r\nfstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 1), ...}) = 0\r\nioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699d00000\r\nwrite(1, \"Trying 192.168.191.53...\\n\", 25Trying 192.168.191.53...\r\n) = 25\r\nclose(-1)                               = -1 EBADF (Bad file descriptor)\r\nsocket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3\r\nsetsockopt(3, SOL_IP, IP_TOS, [16], 4)  = 0\r\nconnect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr(\"192.168.191.53\")}, 16) = -1 EACCES (Permission denied)\r\ndup(2)                                  = 4\r\nfcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)\r\nfstat(4, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 1), ...}) = 0\r\nioctl(4, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5699cf0000\r\nlseek(4, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)\r\nwrite(4, \"telnet: Unable to connect to rem\"..., 60telnet: Unable to connect to remote host: Permission denied\r\n) = 60\r\nclose(4)                                = 0\r\nmunmap(0x7f5699cf0000, 4096)            = 0\r\nclose(3)                                = 0\r\nexit_group(1)                           = ?\r\n+++ exited with 1 +++\r\n\r\n* Required packages and commands to install\r\njust bash\r\n\r\n"}}
{"actor":{"display_login":"pnegry"}}