With i2lua you can add custom logic to your Invisible Internet router by writing scripts in Lua.
Lua is a full-featured programming language, which means you can resolve complex issues with it.
Some basic tasks you can accomplish with i2lua:
- make all tunnels to have only trusted nodes as first hop (restricted routes, similar to Tor's guard nodes)
- make I2P router to only use high-speed nodes for building tunnels
- create tunnels with first hop in specific countries (e.g. make connections only to Russia and Germany)
- implement custom node profiling mechanism
and so on.