:: Re: [DNG] hijacking resolv.conf - p…
Top Page
Delete this message
Reply to this message
Author: Didier Kryn
Date:  
To: dng
Subject: Re: [DNG] hijacking resolv.conf - possible fix?
Le 30/03/2025 à 15:42, tito via Dng a écrit :
> 127.0.0.1 is faster if you keep a little web server
> running on your box just to give a 404 error
> for the request otherwise it seems to me
> that the browser waits for some timeout
> and website loading is a little slower.


    Interesting!

    Some other fancy status codes might be amusing to implement
randomly: practically all 4xx and 5xx (~:

    Pretty easy, BTW. Not even the need to decode the request:

    Accept the connection, flush all the input, send the "f. you"
response header and close.

    The only usage for decoding the request would be statistics.

--     Didier