3 ms·
> There's no way to lock out after N failures or even to rate limit attempts. Given it’s a single machine with a /80, couldn’t the machine rate limit attempts
by yardstick 5y ago
> There's no way to lock out after N failures or even to rate limit attempts.
Given it’s a single machine with a /80, couldn’t the machine rate limit attempts to any IP in the /80? Ie rate limit by source, and separately rate limit by destination. Cover both bases.
- kadoban 5y agoThe way I understood it, only the correct IP address would even be connected to anything, the rest would just fail. You probably could do something like that, yeah.
- yardstick 5y agoGood point, just had a look at the code. The NF queue will receive packets from all IPs in the /80 and they are all processed and validated by the ghost program that reads from the queue. So it could do the rate limiting there with full visibility. https://github.com/aidansteele/ipv6-ghost-ship/blob/main/main.go https://github.com/aidansteele/ipv6-ghost-ship/blob/main/mai...