On Sat, 2022-12-03 at 13:40 -0800, Mike Wright wrote:
> It's the dummy webserver that has me stumped.  I'd like it to return 0 
> bytes, status 200 for every connection to port 80.

You mightn't need to have a webserver pretend to answer their queries,
my approach of using a domain doesn't exist DNS response works well for
me.  Web browsers instantly failed to do anything related to the
advert, and carried on doing everything else that they could.

If you do want a webserver to respond in some way, it doesn't necessary
have to be a 200 response.  You could have a 0 byte 404 response, that
should work just as effectively, and be easy to implement it.

I tried that long ago, just having the webserver respond to any access
directed to it, and they'd always get a 404 as they'd never be
requesting anything it had.

But for me it didn't prove to be any advantage over the domain
blocking, other than the logs satisfying my curiosity about what had
been going on (or failing to go on, so to speak).
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to