On Wed, 15 Feb 2023 at 18:42, Boris Grozev <[email protected]> wrote: > We also ran into this issue with prosody 0.12. Specifically, we have a > custom module for rate limiting[0] which registers as a session filter > and uses session.ip. The code in mod_websocket replaces session.ip > with request.ip, but only after the session filters are applied. As a > result, our module runs with session.ip still set to conn:ip(), which > is the proxy's address and not what we want. > > I'm attaching an updated patch for 0.12.
Thanks for the updated patch! A new minor release for 0.12 is imminent, so I'll try to get it into that if we can. Regards, Matthew -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prosody-dev/CAJt9-x7VS9ow4HqMeJc1YKCdx2ZkcWCMS6iM%2BnzNTV1Nb2REWw%40mail.gmail.com.
