{"issue":{"created_at":"2011-12-10T23:43:43Z","state":"open","updated_at":"2011-12-10T23:43:55Z","comments":2,"user":{"gravatar_id":"5ba9f77b20f8ee7f7bab04ca792a5ea7","id":306256,"url":"https://api.github.com/users/passbe","avatar_url":"https://secure.gravatar.com/avatar/5ba9f77b20f8ee7f7bab04ca792a5ea7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"passbe"},"body":"Create an API function: \nboolean using_proxy() \n\nUse the same functionality as:\nhttp://browserspy.dk/connections.php<br><br><em>Google Code Issue: http://code.google.com/p/beef/issues/detail?id=267</em>","assignee":null,"id":2513872,"labels":[{"name":"GC Imported Issue","color":"ededed","url":"https://api.github.com/repos/beefproject/beef/labels/GC+Imported+Issue"},{"name":"Priority-Low","color":"ededed","url":"https://api.github.com/repos/beefproject/beef/labels/Priority-Low"},{"name":"Type-Enhancement","color":"ededed","url":"https://api.github.com/repos/beefproject/beef/labels/Type-Enhancement"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":527,"title":"Detect if proxy is being used by the hooked browser","html_url":"https://github.com/beefproject/beef/issues/527","closed_at":null,"url":"https://api.github.com/repos/beefproject/beef/issues/527","milestone":null},"action":"created","comment":{"created_at":"2011-12-10T23:43:55Z","updated_at":"2011-12-10T23:43:55Z","user":{"gravatar_id":"5ba9f77b20f8ee7f7bab04ca792a5ea7","id":306256,"url":"https://api.github.com/users/passbe","avatar_url":"https://secure.gravatar.com/avatar/5ba9f77b20f8ee7f7bab04ca792a5ea7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"passbe"},"body":"<strong><em>A.M.Saafan on May 31, 2011 16:57:20</em></strong>:<br><br>To be able to implement this, we need a server side handler to the API call that will detect the a proxy using:\n\n1. Detection of one of the proxy known headers in the http request:\nHTTP_VIA\nHTTP_X_FORWARDED_FOR\nHTTP_FORWARDED_FOR\nHTTP_X_FORWARDED\nHTTP_FORWARDED\nHTTP_CLIENT_IP\nHTTP_FORWARDED_FOR_IP\nVIA\nX_FORWARDED_FOR\nFORWARDED_FOR\nX_FORWARDED\nFORWARDED\nCLIENT_IP\nFORWARDED_FOR_IP\nHTTP_PROXY_CONNECTION\n\n2. Detection of common open proxy ports from the originating IP (8080,3128,80,443)\n<br><br><em>Google Code Comment: http://code.google.com/p/beef/issues/detail?id=267#c7</em>","id":3094665,"url":"https://api.github.com/repos/beefproject/beef/issues/comments/3094665"}}