{"action":"created","issue":{"url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/283","repository_url":"https://api.github.com/repos/jens-maus/RaspberryMatic","labels_url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/283/comments","events_url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/283/events","html_url":"https://github.com/jens-maus/RaspberryMatic/issues/283","id":303846728,"number":283,"title":"[Feature-Request] mod_extforward für lighthttpd bei reverse-proxy setup","user":{"login":"udochrist","id":869637,"avatar_url":"https://avatars2.githubusercontent.com/u/869637?v=4","gravatar_id":"","url":"https://api.github.com/users/udochrist","html_url":"https://github.com/udochrist","followers_url":"https://api.github.com/users/udochrist/followers","following_url":"https://api.github.com/users/udochrist/following{/other_user}","gists_url":"https://api.github.com/users/udochrist/gists{/gist_id}","starred_url":"https://api.github.com/users/udochrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udochrist/subscriptions","organizations_url":"https://api.github.com/users/udochrist/orgs","repos_url":"https://api.github.com/users/udochrist/repos","events_url":"https://api.github.com/users/udochrist/events{/privacy}","received_events_url":"https://api.github.com/users/udochrist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T13:48:57Z","updated_at":"2018-03-09T14:21:11Z","closed_at":null,"author_association":"NONE","body":"Hallo,\r\nwenn man die ccu/raspberrymatic hinter einem reverse-proxy betreibt, dann sieht derzeit der webserver auf der ccu die ip des proxy-servers als quell ip. dementsprechend greifen dann z.b. Berechtigungen auf urls wie z.b xml-api usw. nicht oder falsch\r\n\r\nnormalerweise setzt der proxy den parameter x-forwarded-for oder x-real-ip mit der echten quell-ip. dazu hat lighthttpd auch ein modul mit dem man darauf reagieren kann. (mod_extforward).\r\n\r\nIdeal wäre es wenn dann auch bei einem reverse-proxy setup die berechtigungen für externe ips korrekt überprüft werden könnten. da man die lighthttpd konfig dafür editieren muss sollte das am besten über die gui direkt oder ein addon gehen. unklar ist mir allerdings ob ein addon das überhaupt kann/darf/sollte.\r\n\r\ngrüße\r\nudo\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/comments/371825107","html_url":"https://github.com/jens-maus/RaspberryMatic/issues/283#issuecomment-371825107","issue_url":"https://api.github.com/repos/jens-maus/RaspberryMatic/issues/283","id":371825107,"user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars2.githubusercontent.com/u/5887769?v=4","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T14:21:11Z","updated_at":"2018-03-09T14:21:11Z","author_association":"OWNER","body":"Du kannst gerne ja mal exemplarisch zeigen wie solch eine Konfiguration mit mod_extforward auszusehen hat..."}}
{"actor":{"display_login":"jens-maus"}}