znc/znc — Issue #140: Proposal for new variable-like expand strings
Author: gw0
Created: 2012-03-06 13:09:34+00:00
State: open

Usually ident daemons need to know which string to return for a specific connection, returning the same global string for all for a specific time period can cause on an server with high IRC activity to assign/mix strings from other users.

The solution is to being able to specify the ident daemon exactly for which connection a string must be returned. This is done by specifying this data for each connection:
- source IP
- source port
- destination IP
- destination port

As can be seen from http://wiki.znc.in/ExpandString this values are not available as expandable variable-like strings.

Specifying this in `/msg *identfile setformat ...` would just disable the unintentional mixing of user strings. A complete solution would be to make the setformat smarter and being able to loop through all active connections and printing the correct data. Maybe the template engine from webadmin could be used for such flexibility?