Comment by ~mooff on ~emersion/soju
Thanks Simon. However, that doesn't permit the use cases described above. The CIDR algo of
upstream-user-ip
could be a contrib/ script for a general-purposeupstream-user-ip-cmd
?
Ticket created by ~mooff on ~emersion/soju
Let the outgoing IP/hostname ("localAddr") for upstream connections be determined from user info at dial time.
Example implementation: https://git.sr.ht/~mooff/soju/commit/42dcf362
Alternatively, a script could be run, passing e.g. username as arg 1
This lets an admin setup "vanity" hostnames, split users into e.g. staff.foo.bar; plebs.foo.bar, or even e.g. username.foo.bar (possible with reverse DNS delegation)
Comment by ~mooff on ~emersion/soju
Fwiw a scenario is described here[1]i
[1] https://ircv3.net/specs/extensions/labeled-response.html#client-implementation-considerations
On Mon, Apr 4 2022 at 20:28:05 -0000, ~emersion outgoing@sr.ht wrote:
Hm, can this really happen? If so we should clarify it in modern-irc. A timeout would be good to have regardless.
-- View on the web: https://todo.sr.ht/~emersion/soju/193#event-169079
Comment by ~mooff on ~emersion/soju
I wondered if there's a timeout for the queuing mechanism - it's not guaranteed that a WHOIS command will generate a response, e.g. when the upstream queries remote servers
Comment by ~mooff on ~emersion/soju
Also, it's just cool.
Comment by ~mooff on ~emersion/soju
With no account, we connect you to our IRCd as ~username@cyberspace.baby.
Registered, you're username@cyberspace.baby, and can use BOUNCER to connect to other networks.
Motivation is to explore federation / identity based around that.
But, I thought appearing as foo@chat.sr.ht to other networks would be useful for your service, too.
For access lists, bans, knowing who you're talking to, etc.
Comment by ~mooff on ~emersion/soju
Ticket created by ~mooff on ~sircmpwn/aerc2
The current version was tagged was last year, making it hard to tell if distro packages include more recent fixes like:
commit 60c5a82a76a639137a15a1446bc71434e432d8cd Author: Reto Brunner <reto@labrat.space> Date: Sat Apr 17 18:50:35 2021 +0200 load config: do not overwrite the config upon error