Gentoo Archives: gentoo-user

From: Hund <lists_gentoo@×××××××××××.se>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] IPv4 broken beyond repair
Date: Fri, 21 May 2021 03:17:51
Message-Id: B5F7A9FC-A7B1-4200-BB56-788682185FF4@linuxkompis.se
In Reply to: Re: [gentoo-user] IPv4 broken beyond repair by thelma@sys-concept.com
1 On May 20, 2021 11:20:27 PM GMT+02:00, thelma@×××××××××××.com wrote:
2 >On 5/20/21 1:29 PM, tastytea wrote:
3 >> On 2021-05-20 11:20-0600 thelma@×××××××××××.com wrote:
4 >>
5 >>> It seems to me IPv4 is broken beyond repair.
6 >>> I'm trying to block spammers but they rewrite the source IP (that is not
7 >>> checked) so it is impossible to block them. Example below is from a
8 >>> single source:
9 >>>
10 >>> 189.142.216.209 - - [20/May/2021:09:49:29 -0600] "GET /contact_us.php
11 >>> HTTP/1.0" 200 25552 82.79.97.137 - - [20/May/2021:09:49:31 -0600]
12 >>> "GET /vvc_display.php?vvc= HTTP/1.0" 200 4149 202.138.252.59 - -
13 >>> [20/May/2021:09:49:33 -0600] "POST /contact_us.php?action=send
14 >>> HTTP/1.0" 302 13 91.235.177.140 - - [20/May/2021:09:49:35 -0600] "GET
15 >>> /contact_us.php?action=success HTTP/1.0" 200 24031 41.82.36.214 - -
16 >>> [20/May/2021:09:49:37 -0600] "GET /contact_us.php HTTP/1.0" 200 25725
17 >>
18 >> As long as the website is find-able by search engines, it doesn't
19 >> matter if it is IPv4 or IPv6.
20 >> A good measure against non-targeted spam is a hidden input field with
21 >> the name “url”. If the bot put anything in that field, throw it out.
22 >> Simple math captchas (like “what is 2 + 3?”) work well too.
23 >> If the spam is targeted, you'll probably need a more advanced captcha
24 >> solution.
25 >>
26 >> See also:
27 >> <https://nearcyan.com/you-probably-dont-need-recaptcha/>
28 >> <https://www.nfriedly.com/techblog/2009/11/how-to-build-a-spam-free-contact-forms-without-captchas/>
29 >>
30 >> Kind regards, tastytea
31 >>
32 >
33 >Simple math captchas might work, but I have to find out how to implement it into current php e-mail form.
34 >
35
36 I use Antispam Bee[1] for my contact form on my WordPress website. It works very well without any annoying capcha or anything. You could have a look at how they do it.
37
38 1. https://antispambee.pluginkollektiv.org/documentation/
39
40 --
41 Hund