@@ -38,6 +38,18 @@ You can specify a file containing a list of IP addresses to be blacklisted. IPs
-`IP_BLACKLIST_FILE`: The path to the file containing blacklisted IP addresses or domains.
### Ban List Configuration
The proxy maintains a persistent ban list for IPs that attempt to send transactions from blacklisted addresses.
-`BAN_LIST_FILE`: The path to the file where banned IPs are stored (default: `banlist.txt`).
### Local Address Blacklist Configuration
You can specify a file containing a list of Ethereum addresses to be blacklisted locally. Requests from these addresses will be blocked, and the sender's IP will be banned.
-`LOCAL_BLACKLIST_FILE`: The path to the file containing blacklisted Ethereum addresses.
## Usage
1. Set the required environment variables.
...
...
@@ -66,3 +78,23 @@ Example:
bad-actor.com
*.botnet.net
```
## Ban List File Format
The ban list file contains one IP address per line. This file is automatically updated by the proxy when a blacklisted sender is detected.
Example:
```
10.0.0.5
192.168.1.20
```
## Local Address Blacklist File Format
The local address blacklist file contains one Ethereum address per line.