Re: Kallithea crashes when "IP address" headers have hostnames

2021-04-20 Thread Brett Smith
On 4/17/21 4:03 PM, Mads Kiilerich wrote: But I'm surprised your webserver (waitress?) according to the environment dump apparently didn't set REMOTE_ADDR from the actual TCP connection in the environment. It did, I manually took that out of the report (along with similar variables) to

Re: Kallithea crashes when "IP address" headers have hostnames

2021-04-17 Thread Mads Kiilerich
On 4/13/21 4:29 PM, Brett Smith wrote: Hi Kallithea team, I got this crash report I thought I should pass on. The short version: some IP address/Internet mapping service visited us, and provided a full DNS hostname in the various IP address headers. The code crashes because it assumes any

Kallithea crashes when "IP address" headers have hostnames

2021-04-13 Thread Brett Smith
Hi Kallithea team, I got this crash report I thought I should pass on. The short version: some IP address/Internet mapping service visited us, and provided a full DNS hostname in the various IP address headers. The code crashes because it assumes any string in these headers /must/ be an IP