I'm looking to set up an XMPP server with registration by application, as a simple anti-bot measure. I'm looking at XEP0077, it doesn't have anything obvious about "registration pending", should I just have it redirect and handle it elsewhere?
I'm also intending to have a bypass for it where a certain value in the application will grant immediate acceptance (for anyone in the server's vicinity). I assume I can handle that with a bot or something, worst-case.
kingbenicehas joined
karimhas left
Licaon_Kter
A command line script can be an application too, not sure what you mean...
karimhas joined
Zash
What if you build a request form of some sort, then hand out invite links (obligatory plug: https://blog.prosody.im/great-invitations/ ) after processing
belonghas joined
Licaon_Kter
This ^^^
zergling_man
Yeah that.
zergling_man
I guess that's good enough. So I can't do it in-band?
belovehas left
Licaon_Kter
You can't block bots (or not that efficiently) with in-band, no
zergling_man
Fair enough. Thanks.
Zash
Anything is possible if you modify / write a plugin for the server
krzhas left
krzhas joined
Zash
Not sure how potential users will react to waiting time tho. And how will you communicate their approval?
zergling_man
Wouldn't the client need to be able to handle that, though? That you submit a registration and it doesn't reject, per se.
zergling_man
>Not sure how potential users will react to waiting time tho
Not my problem.
>And how will you communicate their approval?
...
I'll figure it out.
Zash
An anti-spam approach I think was discussed before is to allow the registration and let them sign in, but then limit what they can do with internal firewall rules.
barlashas left
zergling_man
Probably I'll just give them a key and it returns processing/accepted/rejected. Let them hit that page 1000 times a second or whatever.
Obscurahas left
Zash
At that point you can also send a message explaining that their account is pending review before it's fully enabled.
abdullahhas left
abdullahhas joined
zergling_man
Hmm, I'm interested in that. Is there a document about it?
kingbenicehas left
carloshas left
Zash
Not specifically. I'd imagine it as something you would build using https://modules.prosody.im/mod_firewall.html
carloshas joined
zergling_man
I should still be able to get the custom data ("prove you're a human by writing a thesis on black holes" or w/e, but less easily pasta'd) during the registration directly, in that case, right?
zergling_man: if you enable verification in mod_register_api, all accounts registered, even using IBR, are put on hold until verified with a mail address. And if not verified within 5 minutes are deleted.
Maranda
(in Metronome)
Ian Blashas joined
abdullahhas left
abdullahhas joined
djorzhas left
Licaon_Kter
_Our messaging system is great, if you have an account on the other messaging system so we can verify you, because we trust the other system_
Maranda
Licaon_Kter as usual complain with who abuses
Maranda
for the requirement of OOB verification.
belovehas left
abdullahhas left
ralphmhas left
abdullahhas joined
abdullahhas left
abdullahhas joined
Licaon_Kter
True
Ian Blashas left
Ray22has joined
belovehas joined
abdullahhas left
abdullahhas joined
Ray22has left
abdullahhas left
abdullahhas joined
djorzhas joined
abdullahhas left
Julianhas left
Julianhas joined
Ian Blashas joined
Ian Blashas left
Chris Machas joined
Alberthas left
Ian Blashas joined
kuba_has left
kuba_has joined
belonghas left
riau.snihas left
sanderhas left
catchyhas left
riau.snihas joined
Ian Blashas left
Alberthas joined
krzhas left
krzhas joined
krzhas left
krzhas joined
leonard_pihas left
kingbenicehas left
krzhas left
krzhas joined
xsohas left
ralphmhas joined
xsohas joined
Ian Blashas joined
krzhas left
krzhas joined
kingbenicehas joined
rosshas left
rosshas joined
belovehas left
belovehas joined
belovehas left
andrathhas joined
belovehas joined
belovehas left
ewagnerhas left
msavoritiashas left
patascahas left
bkil
Good points. For any constructive idea about how we could improve upon this, feel free to chime in via xmpp:mod-ideas@conference.movim.eu
sonnyhas left
sonnyhas joined
ewagnerhas joined
Obscurahas joined
Chris Machas left
p42ityhas joined
p42ityhas left
belovehas joined
riau.snihas left
msavoritiashas joined
*IM*has left
eevvoorhas joined
Chris Machas joined
jzmartinhas left
antranigvhas joined
Ian Blashas left
Ian Blashas joined
'has left
sanderhas joined
'has joined
fireburnerhas left
ilmaisin_has left
jzmartinhas joined
Obscurahas left
ffuenteshas left
ffuenteshas joined
belovehas left
kuba_has left
kuba_has joined
Menel
xmpp:mod-ideas@conference.movim.eu?join
belovehas joined
Ian Blashas left
balabol.imhas left
antranigvhas left
xihas left
balabol.imhas joined
krzhas left
krzhas joined
krzhas left
kryptoshas joined
kryptoshas left
Sapotaceaehas left
krzhas joined
Sapotaceaehas joined
antranigvhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
krzhas left
krzhas joined
konxhas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
resolihas left
Ian Blashas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
krzhas left
krzhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
Obscurahas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
Sapotaceae
updated expat is in testing for fedora: sudo dnf update --enablerepo=*updates-testing expat
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
sonnyhas left
krzhas left
sonnyhas joined
kryptoshas joined
krzhas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
Licaon_Kter
Sapotaceae: has been in debian for a week, why the holdup? :)
krzhas left
krzhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
resolihas joined
kryptoshas joined
kryptoshas left
Ian Blashas left
kryptoshas joined
kryptoshas left
rosshas left
rosshas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
balabol.imhas left
kryptoshas joined
Menelhas left
rosshas left
rosshas joined
kryptoshas left
Menelhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
Silvio Titzmannhas left
kryptoshas left
Zashhas left
kryptoshas joined
kryptoshas left
Silvio Titzmannhas joined
kryptoshas joined
kryptoshas left
ffuenteshas left
ffuenteshas joined
xihas joined
Zashhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
riau.snihas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
abdullahhas joined
Obscurahas left
kryptoshas joined
kryptoshas left
balabol.imhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
Chris Machas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
mikehas left
mikehas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
test1has left
kryptoshas joined
kryptoshas left
Chris Machas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
ffuenteshas left
ffuenteshas joined
kryptoshas joined
kryptoshas left
abdullahhas left
kryptoshas joined
kryptoshas left
melvohas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
catchyhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
krzhas left
krzhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
antranigvhas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
krzhas left
krzhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
schäfchen726has left
schäfchen726has joined
ffuenteshas left
ffuenteshas joined
kryptoshas left
test1has joined
test1has left
test1has joined
'has left
kryptoshas joined
'has joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
inkyhas left
kryptoshas joined
kryptoshas left
kryptoshas joined
heartyhas left
kryptoshas left
Menelhas left
Menelhas joined
kryptoshas joined
kryptoshas left
xihas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
ffuenteshas left
ffuenteshas joined
Ian Blashas joined
schäfchen726has left
Holly Lotorhas joined
schäfchen726has joined
Menelhas left
Menelhas joined
krzhas left
krzhas joined
Menelhas left
Menelhas joined
kryptoshas joined
kryptoshas left
Ian Blashas left
Menelhas left
Menelhas joined
moparisthebesthas left
Menelhas left
Menelhas joined
antranigvhas joined
kryptoshas joined
kryptoshas left
patascahas joined
*IM*has joined
bookadouhas joined
kryptoshas joined
kryptoshas left
Chris Machas left
insanityhas left
ffuenteshas left
ffuenteshas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
insanityhas joined
kryptoshas joined
kryptoshas left
kryptoshas joined
kryptoshas left
homebeachhas left
homebeachhas joined
patascahas left
patascahas joined
miruxhas left
miruxhas joined
kryptoshas joined
kryptoshas left
ffuenteshas left
ffuenteshas joined
xsohas left
xsohas joined
ffuenteshas left
ffuenteshas joined
xihas joined
kryptoshas joined
kryptoshas left
Menelhas left
Menelhas joined
heartyhas joined
kryptoshas joined
kryptoshas left
msavoritiashas left
me9has joined
ffuenteshas left
ffuenteshas joined
patascahas left
patascahas joined
darkflibhas left
kryptoshas joined
msavoritiashas joined
kryptoshas left
krzhas left
krzhas joined
resolihas left
darkflibhas joined
heartyhas left
kryptoshas joined
kryptoshas left
moparisthebesthas joined
heartyhas joined
Silvio Titzmannhas left
bookadouhas left
PfW (xmpp.pingu.at)has left
inkyhas joined
PfW (xmpp.pingu.at)has joined
Ian Blashas joined
kryptoshas joined
kryptoshas left
ffuenteshas left
ffuenteshas joined
kryptoshas joined
kryptoshas left
Alberthas left
fireburnerhas joined
Menelhas left
Menelhas joined
kryptoshas joined
emushas left
bookadouhas joined
*IM*has left
eevvoorhas left
Menelhas left
Menelhas joined
Abbehas joined
ffuenteshas left
ffuenteshas joined
ffuenteshas left
ffuenteshas joined
schäfchen726has left
schäfchen726has joined
Mjolnir Archonhas left
Marandahas left
redflaghas left
RoseBytehas left
scilenshas left
bkilhas left
schäfchen726has left
schäfchen726has joined
PfW (xmpp.pingu.at)has left
croaxhas left
croaxhas joined
PfW (xmpp.pingu.at)has joined
ffuenteshas left
ffuenteshas joined
writer77has left
Chris Machas joined
Abbehas left
Menelhas left
Menelhas joined
Silvio Titzmannhas joined
Menelhas left
Menelhas joined
Ian Blashas left
Ian Blashas joined
Menelhas left
Menelhas joined
Menelhas left
Menelhas joined
Silvio Titzmannhas left
Abbehas joined
riau.snihas left
test1has left
test1has joined
test1has left
test1has joined
fantoskihas left
fantoskihas joined
writer77has joined
riau.snihas joined
test1has left
test1has joined
test1has left
test1has joined
test1has left
test1has joined
test1has left
test1has joined
emushas joined
fantoskihas left
fantoskihas joined
jchas left
jchas joined
test1has left
Abbehas left
scilenshas joined
Menelhas left
Menelhas joined
bkilhas joined
test1has joined
redflaghas joined
ernst.on.tourhas left
p42ityhas joined
Abbehas joined
test1has left
ernst.on.tourhas joined
RoseBytehas joined
Ian Blashas left
Silvio Titzmannhas joined
test1has joined
Abbehas left
test1has left
resolihas joined
test1has joined
test1has left
test1has joined
test1has left
test1has joined
j.r (jugendhacker.de)has left
test1has left
rosshas left
rosshas joined
riau.snihas left
riau.snihas joined
test1has joined
test1has left
test1has joined
me9has left
test1has left
Menelhas left
Menelhas joined
test1has joined
test1has left
kuba_has left
krzhas left
Silvio Titzmannhas left
krzhas joined
ernst.on.tourhas left
melvohas joined
leonard_pihas joined
rosshas left
rosshas joined
test1has joined
test1has left
ernst.on.tourhas joined
test1has joined
test1has left
raghavgururajanhas left
p42ityhas left
raghavgururajanhas joined
test1has joined
test1has left
test1has joined
test1has left
*IM*has joined
riau.snihas left
test1has joined
test1has left
test1has joined
xihas left
test1has left
test1has joined
JonNJhas left
Mjolnir Archonhas joined
test1has left
riau.snihas joined
inkyhas left
msavoritiashas left
test1has joined
test1has left
sonnyhas left
sonnyhas joined
test1has joined
Marandahas joined
test1has left
kuba_has joined
msavoritiashas joined
zergling_man
So... I think I can do it with a single rule in mod_firewall that checks if it's a registration and it put the special code, then set user's role to approved. Default role gets no perms and admins can manually add approved role.
Maybe could have a firewall rule that triggers on permission change to message the approved user, is that possible? If not I can just have a bot polling approvals list every few minutes and sending out welcome messages for anyone that's moved up.
JonNJhas joined
ernst.on.tourhas left
test1has joined
test1has left
test1has joined
test1has left
xihas joined
kingbenicehas left
ernst.on.tourhas joined
test1has joined
darkflibhas left
darkflibhas joined
riau.snihas left
kingbenicehas joined
WojtekIMhas left
Wojtekhas left
test1has left
MattJ
Huh. I forgot to mark the new role stuff in mod_firewall as requiring prosody trunk...
MattJ
Oh wait, maybe it doesn't? Due to mod_compat_roles. Not sure. Maybe ignore me 🙂