{"action":"created","issue":{"url":"https://api.github.com/repos/piratas/gti/issues/62","repository_url":"https://api.github.com/repos/piratas/gti","labels_url":"https://api.github.com/repos/piratas/gti/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/piratas/gti/issues/62/comments","events_url":"https://api.github.com/repos/piratas/gti/issues/62/events","html_url":"https://github.com/piratas/gti/issues/62","id":233351421,"number":62,"title":"Mudar as portas do Tor","user":{"login":"desci","id":2027447,"avatar_url":"https://avatars3.githubusercontent.com/u/2027447?v=3","gravatar_id":"","url":"https://api.github.com/users/desci","html_url":"https://github.com/desci","followers_url":"https://api.github.com/users/desci/followers","following_url":"https://api.github.com/users/desci/following{/other_user}","gists_url":"https://api.github.com/users/desci/gists{/gist_id}","starred_url":"https://api.github.com/users/desci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desci/subscriptions","organizations_url":"https://api.github.com/users/desci/orgs","repos_url":"https://api.github.com/users/desci/repos","events_url":"https://api.github.com/users/desci/events{/privacy}","received_events_url":"https://api.github.com/users/desci/received_events","type":"User","site_admin":false},"labels":[{"id":315354768,"url":"https://api.github.com/repos/piratas/gti/labels/melhoria","name":"melhoria","color":"fef2c0","default":false},{"id":405610143,"url":"https://api.github.com/repos/piratas/gti/labels/sysadmin","name":"sysadmin","color":"0052cc","default":false},{"id":381920369,"url":"https://api.github.com/repos/piratas/gti/labels/tarefa","name":"tarefa","color":"006b75","default":false},{"id":618805505,"url":"https://api.github.com/repos/piratas/gti/labels/tor","name":"tor","color":"0052cc","default":false},{"id":412700667,"url":"https://api.github.com/repos/piratas/gti/labels/wiki","name":"wiki","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"desci","id":2027447,"avatar_url":"https://avatars3.githubusercontent.com/u/2027447?v=3","gravatar_id":"","url":"https://api.github.com/users/desci","html_url":"https://github.com/desci","followers_url":"https://api.github.com/users/desci/followers","following_url":"https://api.github.com/users/desci/following{/other_user}","gists_url":"https://api.github.com/users/desci/gists{/gist_id}","starred_url":"https://api.github.com/users/desci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desci/subscriptions","organizations_url":"https://api.github.com/users/desci/orgs","repos_url":"https://api.github.com/users/desci/repos","events_url":"https://api.github.com/users/desci/events{/privacy}","received_events_url":"https://api.github.com/users/desci/received_events","type":"User","site_admin":false},"assignees":[{"login":"desci","id":2027447,"avatar_url":"https://avatars3.githubusercontent.com/u/2027447?v=3","gravatar_id":"","url":"https://api.github.com/users/desci","html_url":"https://github.com/desci","followers_url":"https://api.github.com/users/desci/followers","following_url":"https://api.github.com/users/desci/following{/other_user}","gists_url":"https://api.github.com/users/desci/gists{/gist_id}","starred_url":"https://api.github.com/users/desci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desci/subscriptions","organizations_url":"https://api.github.com/users/desci/orgs","repos_url":"https://api.github.com/users/desci/repos","events_url":"https://api.github.com/users/desci/events{/privacy}","received_events_url":"https://api.github.com/users/desci/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-06-03T06:57:42Z","updated_at":"2017-06-03T07:05:29Z","closed_at":null,"body":"### A que site, ferramenta ou coisa esta questão está relacionada?\r\n\r\nTor [link 1](https://wiki.partidopirata.org/blog/Torify/) [link 2](https://wiki.partidopirata.org/blog/tor/)\r\n\r\n---\r\n\r\n## Se for um problema\r\n\r\n### O que tu tentou fazer?\r\n\r\nAtribuir portas efêmeras aos serviços tor\r\n\r\n### O que deveria acontecer?\r\n\r\nNão ter conflitos com as portas dockers que estamos usando\r\n\r\n### O que aconteceu?\r\n\r\nA primeira porta é a da social pirata: **42086**\r\n\r\nEu fui adicionando sites e já está em **42107**\r\n\r\n### Como reproduzir o problema?\r\n\r\nEditar o arquivo `/etc/tor/torrc`\r\n\r\n---\r\n\r\nIsto é um problema porque agora pra adicionar mais sites em docker tem que ficar prestando atenção em duas configurações.\r\n\r\nO lugar central onde é pra verificar quais portas estão livres é esta página da wiki: <https://wiki.partidopirata.org/wiki/infra/>\r\n\r\nProvavelmente a melhor forma de resolver é alterar todas as portas e usar outra faixa. Começar em **42901** talvez."},"comment":{"url":"https://api.github.com/repos/piratas/gti/issues/comments/305957050","html_url":"https://github.com/piratas/gti/issues/62#issuecomment-305957050","issue_url":"https://api.github.com/repos/piratas/gti/issues/62","id":305957050,"user":{"login":"desci","id":2027447,"avatar_url":"https://avatars3.githubusercontent.com/u/2027447?v=3","gravatar_id":"","url":"https://api.github.com/users/desci","html_url":"https://github.com/desci","followers_url":"https://api.github.com/users/desci/followers","following_url":"https://api.github.com/users/desci/following{/other_user}","gists_url":"https://api.github.com/users/desci/gists{/gist_id}","starred_url":"https://api.github.com/users/desci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desci/subscriptions","organizations_url":"https://api.github.com/users/desci/orgs","repos_url":"https://api.github.com/users/desci/repos","events_url":"https://api.github.com/users/desci/events{/privacy}","received_events_url":"https://api.github.com/users/desci/received_events","type":"User","site_admin":false},"created_at":"2017-06-03T07:05:29Z","updated_at":"2017-06-03T07:05:29Z","body":"Configuração atual:\r\n\r\n```\r\nHiddenServiceDir /var/lib/tor/hidden_service/social-pirata-antiga/\r\nHiddenServicePort 80 127.0.0.1:42086\r\nHiddenServiceDir /var/lib/tor/hidden_service/social-pirata/\r\nHiddenServicePort 80 127.0.0.1:42088\r\nHiddenServiceDir /var/lib/tor/hidden_service/mumble-pirata/\r\nHiddenServicePort 80 127.0.0.1:42087\r\nHiddenServicePort 64738 127.0.0.1:64738\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-gti-pirata/\r\nHiddenServicePort 80 127.0.0.1:42089\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-iuf-pirata/\r\nHiddenServicePort 80 127.0.0.1:42090\r\nHiddenServiceDir /var/lib/tor/hidden_service/sftp-pirata/\r\nHiddenServicePort 80 127.0.0.1:42091\r\nHiddenServicePort 22 127.0.0.1:4242\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-torrent-pirata/\r\nHiddenServicePort 80 127.0.0.1:42092\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-btorrent-pirata/\r\nHiddenServicePort 80 127.0.0.1:42093\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-www-pirata/\r\nHiddenServicePort 80 127.0.0.1:42094\r\nHiddenServiceDir /var/lib/tor/hidden_service/wiki-pirata/\r\nHiddenServicePort 80 127.0.0.1:42095\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-tesouraria-pirata/\r\nHiddenServicePort 80 127.0.0.1:42096\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-sul-pirata/\r\nHiddenServicePort 80 127.0.0.1:42097\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-saopaulo-pirata/\r\nHiddenServicePort 80 127.0.0.1:42098\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-mg-pirata/\r\nHiddenServicePort 80 127.0.0.1:42099\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-loomio-pirata/\r\nHiddenServicePort 80 127.0.0.1:42100\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-iniciativa-pirata/\r\nHiddenServicePort 80 127.0.0.1:42101\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-gtc-pirata/\r\nHiddenServicePort 80 127.0.0.1:42102\r\nHiddenServiceDir /var/lib/tor/hidden_service/biblioteca-pirata/\r\nHiddenServicePort 80 127.0.0.1:42103\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-apoio-pirata/\r\nHiddenServicePort 80 127.0.0.1:42104\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-anapirata-pirata/\r\nHiddenServicePort 80 127.0.0.1:42105\r\nHiddenServiceDir /var/lib/tor/hidden_service/site-piratasgauchos-pirata/\r\nHiddenServicePort 80 127.0.0.1:42106\r\n```\r\n\r\nPS: Não existe **nenhum** risco de segurança publicar isto aqui, ninguém precisa reportar falha de segurança catastrófica e ninguém vai hackear nenhum site e nenhum servidor com esta informação."}}
{"actor":{"display_login":"desci"}}