{"action":"created","issue":{"url":"https://api.github.com/repos/getlantern/lantern/issues/4779","repository_url":"https://api.github.com/repos/getlantern/lantern","labels_url":"https://api.github.com/repos/getlantern/lantern/issues/4779/labels{/name}","comments_url":"https://api.github.com/repos/getlantern/lantern/issues/4779/comments","events_url":"https://api.github.com/repos/getlantern/lantern/issues/4779/events","html_url":"https://github.com/getlantern/lantern/issues/4779","id":162063268,"number":4779,"title":"Detect more HTTP hijacking","user":{"login":"Artoria2e5","id":6459309,"avatar_url":"https://avatars.githubusercontent.com/u/6459309?v=3","gravatar_id":"","url":"https://api.github.com/users/Artoria2e5","html_url":"https://github.com/Artoria2e5","followers_url":"https://api.github.com/users/Artoria2e5/followers","following_url":"https://api.github.com/users/Artoria2e5/following{/other_user}","gists_url":"https://api.github.com/users/Artoria2e5/gists{/gist_id}","starred_url":"https://api.github.com/users/Artoria2e5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Artoria2e5/subscriptions","organizations_url":"https://api.github.com/users/Artoria2e5/orgs","repos_url":"https://api.github.com/users/Artoria2e5/repos","events_url":"https://api.github.com/users/Artoria2e5/events{/privacy}","received_events_url":"https://api.github.com/users/Artoria2e5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-24T02:23:40Z","updated_at":"2016-09-15T16:06:45Z","closed_at":null,"body":"HTTP hijacking is an old, cheap and widespread technique for censorship, seen in many commercial workplace solutions (Meraki, getlantern/lantern-binaries#4) as well as nationwide censorship (#2099, #5267). This issue requests for extending the detour rules to match more countries, as well as a mean of defining simple custom rules for users to use (e.g. a mini DSL written in YAML that deals with string slicing, pattern matching, and boolean logic).\r\n\r\ngetlantern/lantern-binaries#4 shows an example of company-level network censorship via HTTP hijacking which uses a 'Website Blocked' notice to replace the served page. Similar behavior can also be observed in many other workspace censorship solutions, such as Cisco Meraki.\r\n\r\nAllowing lantern to match patterns of such pages would extend its scope and help much more users. Besides matching the content of the notice (for which the user should be able to provide a pattern), lantern can also make use of other characteristics including HTTP header values and response timing to find such blocks."},"comment":{"url":"https://api.github.com/repos/getlantern/lantern/issues/comments/247373062","html_url":"https://github.com/getlantern/lantern/issues/4779#issuecomment-247373062","issue_url":"https://api.github.com/repos/getlantern/lantern/issues/4779","id":247373062,"user":{"login":"myleshorton","id":1143966,"avatar_url":"https://avatars.githubusercontent.com/u/1143966?v=3","gravatar_id":"","url":"https://api.github.com/users/myleshorton","html_url":"https://github.com/myleshorton","followers_url":"https://api.github.com/users/myleshorton/followers","following_url":"https://api.github.com/users/myleshorton/following{/other_user}","gists_url":"https://api.github.com/users/myleshorton/gists{/gist_id}","starred_url":"https://api.github.com/users/myleshorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myleshorton/subscriptions","organizations_url":"https://api.github.com/users/myleshorton/orgs","repos_url":"https://api.github.com/users/myleshorton/repos","events_url":"https://api.github.com/users/myleshorton/events{/privacy}","received_events_url":"https://api.github.com/users/myleshorton/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T16:06:45Z","updated_at":"2016-09-15T16:06:45Z","body":"Yeah interesting @Artoria2e5. That's definitely very easy to detect. FYI @fffw."}}
{"actor":{"display_login":"myleshorton"}}