Answer first visits to / and favicon with an instant WordPress lure
Unknown IPs get a small WordPress-looking page or icon and are not held; later requests are trapped as before. Switch: Flypaper__Drip__Lure. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2437880013
commit
4b946453fb
18 files changed
+360
-2
No files matched your search
@@ -0,0 +1,9 @@
|
||||
using System.Net;
|
||||
using Flypaper.Core.Abstractions;
|
||||
|
||||
namespace Flypaper.Core.Networking;
|
||||
|
||||
internal sealed class NullKnownIpLookup : IKnownIpLookup
|
||||
{
|
||||
public ValueTask<bool> HasSeenAsync(IPAddress address, CancellationToken ct) => ValueTask.FromResult(true);
|
||||
}
|
||||
Reference in new issue
Block a user