Xmpp: Difference between revisions

From NURDspace
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:


It is also convenient to have if you want people in #nurds (irc) to be able to send you a message by using "!summon nickname text" (contact [[flok]] for that).
It is also convenient to have if you want people in #nurds (irc) to be able to send you a message by using "!summon nickname text" (contact [[flok]] for that).
Every NURDspace member has an account on our server. The server can be reached at: <b>space.nurdspace.nl</b>. So for example a username is <b>folkert@space.nurdspace.nl</b>.


See also the [[phonebook|nurdspace phonebook]]
See also the [[phonebook|nurdspace phonebook]]
Line 28: Line 30:
* listens on xmpp.vm.nurd.space and also allows space.nurdspace.nl domain
* listens on xmpp.vm.nurd.space and also allows space.nurdspace.nl domain


* certificate is installed from revproxy01 from /etc/dehydrated/updateCertsEnRestart.sh:
* certificate is installed from revproxy01 from cron:


  <nowiki>
  <nowiki>
# XMPP/Jabber server
0 0 * * * /usr/bin/scp -C /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/space.nurdspace.nl/* root@xmpp.vm.nurd.space:/root/certificate
# copy key + certificate
</nowiki>
/usr/bin/scp -C /etc/ssl/letsencrypt/space.nurdspace.nl/* root@xmpp.vm.nurd.space:/root/certificate/
 
# install into prosody & restart prosody
On the XMPP host, the new certificate is installed on 00:05 (/root/bin/update-prosody-certificates.sh).
/usr/bin/ssh root@xmpp.vm.nurd.space 'cp /root/certificate/public.key /var/lib/prosody/space.nurdspace.nl.crt && \
                  cp /root/certificate/private.key /var/lib/prosody/space.nurdspace.nl.key && \
                  /etc/init.d/prosody restart'</nowiki>


* <strike>add user:
* <strike>add user:
** prosodyctl register USERNAME space.nurdspace.nl PASSWORD</strike>
** prosodyctl register USERNAME space.nurdspace.nl PASSWORD</strike>
* ^ Just add the user to the LDAP
* ^ Just add the user to the LDAP

Revision as of 22:36, 29 March 2025

XMPP/Jabber
NoPicture.png
Participants
Skills
Status Active
Niche
Purpose
Tool No
Location Space
Cost
Tool category

XMPP/Jabber Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}


XMPP / Jabber: WHY?!

With this protocol (xmpp == jabber) you can chat with other people that have such an account. Not neccessarily on the nurdspace server; any account will do. As the nurdspace server uses ssl/tls/something-encryption, it should be safe as well to use. Only when someone hacks either the nurdspace-xmpp-server or the xmpp-server of the opponent you're chatting with (well or your computer or the computer of the opponent), only then your messages can be read. Well... unless you install the "off the record"-plugin (OTR) - if you enable that in a chat (and exchange the fingerprints via some other channel), then hacking your chats will be rather difficult.

It is also convenient to have if you want people in #nurds (irc) to be able to send you a message by using "!summon nickname text" (contact flok for that).

Every NURDspace member has an account on our server. The server can be reached at: space.nurdspace.nl. So for example a username is folkert@space.nurdspace.nl.

See also the nurdspace phonebook


XMPP versus Jabber

So what is the difference between XMPP and Jabber? Well, there's none! It is the same, just an other name.


technical details

  • runs on xmpp.vm.nurd.space
  • listens on xmpp.vm.nurd.space and also allows space.nurdspace.nl domain
  • certificate is installed from revproxy01 from cron:
0 0 * * * /usr/bin/scp -C /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/space.nurdspace.nl/* root@xmpp.vm.nurd.space:/root/certificate

On the XMPP host, the new certificate is installed on 00:05 (/root/bin/update-prosody-certificates.sh).

  • add user:
    • prosodyctl register USERNAME space.nurdspace.nl PASSWORD
  • ^ Just add the user to the LDAP