Open prawnsalad opened 5 years ago
Hmm, this'll be interesting to handle. Basically, a new var called LastSeenIP, whenever a client connects we update that user's LastSeenIP with the client's new IP. When we connect to upstream we can use WEBIRC
if it's defined in the... config file probably? Maybe? Should regular users be able to enable/disable WEBIRC
on each network or will we handle it another way to ensure that the bouncer always uses it when appropriate.
If we're connecting to upstream and haven't received a connection from the user at all yet (or e.g. they're connecting from localhost), should we just give a random IP in WEBIRC
, or something different. I wonder how/whether ZNC handles this, will take a look.
Map of hostname<->webirc password, just define it in config.
Some networks would prefer to have the users first connection IP passed to the network so we should add this via WEBIRC