rdig / ethereum-honeypot

Track external parties actions run on open ethereum nodes.
MIT License
6 stars 1 forks source link

Same client version string per request IP #4

Open rdig opened 6 years ago

rdig commented 6 years ago

Continuing the implementation from #3 which tracks modifying the response from the web3_clientVersion call.

It should query the database, find out the last request from this IP (current requester) and match the client version response.

This way, it will be a little less obvious that the machine is running a honeypot.

rdig commented 6 years ago

This is easily done now that the firebaseFirestorGetData method is implemented.

We do the same for the geolocation data to save on API requests:

https://github.com/rdig/ethereum-honeypot/blob/master/src/legacy/logger.js#L20-L64

But while the implementation is easy, it's not really useful until we implement returning different client string version to different requests.

See: #3 for more info on this.