XMPP Service Operators - 2021-01-27


  1. Licaon_Kter

    sudo package update in Debian, Ubuntu and CentOS at the same time. FYI

  2. jonas’

    yeah, local root

  3. jonas’

    yeah, unauthenticated local root exploit

  4. pepta.net

    edhelas: > I have this theory that if we continue to block the dumb bots and scripts that are creating fake accounts on our servers, after a while they will have to make accounts that are more and more realistic until a point where we're not able anymore to differentiate from a real one. If they also send messages that could not be differentiated from a real conversation (instead of spam), it would be for good ;-) At least there will always be some pattern to fight spam after account creation like same messages / lots of messages to contacts not in roster / or rely on spam reports.

  5. arne

    Hi, does anyone uses lxqt vor servers?

  6. jonas’

    I don’t run GUIs on servers.

  7. arne

    I on devuan and it uses xfce as standard but I thought about a more lightweight environment..

  8. jonas’

    GUIs are waaaaay too much attack surface

  9. arne

    yes sure

  10. arne

    and ssh?

  11. jonas’

    hm?

  12. MattJ

    and sudo

  13. jonas’

    :D

  14. vanitasvitae

    > https://upload.esaanchez.net/716b9766f49b549c3916d680ca95e63cbc4e715d/MLDhdja7abyhepCVkqbAa7LGX9Rd1ZwbWL2gAdNB/Xg_3o5MPRdql5py6YwnhYg.jpg > and the winner of the contest for the longest http upload URL iiiiiiiisss .... tom! thats standard ejabberd url format, isn't it? 😀

  15. jonas’

    yeah, thinking about that it’s probably safer, trusted-computing-base-wise, to log in as root with key authentication than as normal user with suod :)

  16. jonas’

    yeah, thinking about that it’s probably safer, trusted-computing-base-wise, to log in as root with key authentication than as normal user with sudo :)

  17. arne

    normaly I didn't use any desktop environment on my main server and also no ssh

  18. arne

    x'D

  19. MattJ

    But when sudo became a thing we were told the opposite, root accessible over ssh is terrible!

  20. MattJ

    Also you often want to give multiple people root access on a server anyway, and then giving them a normal user account makes auditing and access control simpler

  21. MattJ

    Compared to dropping a bunch of keys in ~root's .ssh

  22. mathieui

    MattJ, ssh CAs?

  23. jonas’

    MattJ, agreed

  24. jonas’

    mathieui, revoking the signatures is no fun

  25. mathieui

    So I was told

  26. arne

    still the best is no ssh and no desktop environment I guess, hehe.

  27. jonas’

    arne, what would one use instead? telnet ;D

  28. mathieui

    arne, if you can afford it, sure

  29. mathieui

    I guess you can use hashicorp vault to manage ssh certs, though, jonas’

  30. mathieui

    not sure if it helps with revoking otoh

  31. arne

    na I'm selfhosting so I can just use a monitor :D

  32. jonas’

    ah, hosting at home doesn’t work well with the high availability I want to achieve :)

  33. arne

    mh, didn't you see my project jonas' ?

  34. arne

    my little data center is nearly autarkic with backup connection

  35. mathieui

    if you can do it, a dedicated network interface on a separate (private) network for ssh is probably the best you can achieve

  36. arne

    yes this would be possible mathieui

  37. Licaon_Kter

    arne: > mh, didn't you see my project jonas' ? Link?

  38. arne

    https://monocles.de/more/

  39. arne

    but still not finished, waiting for some recycled batteries

  40. mwk

    Hi

  41. mwk

    Any one try to build xmpp server at his home ?

  42. mwk

    https://jabber.hot-chilli.net/jabberupload/share_v2.php/f177caf4-d444-4dec-8812-6834a31fbcf7/RECORDING_20210127_233231923.m4a

  43. Kris

    sure, easy to do. just set up a dynDNS and run it on a cheab SBC

  44. Kris

    sure, easy to do. just set up a dynDNS and run it on a cheap SBC

  45. jayteeuk

    Yep, very doable.

  46. jayteeuk

    Has anyone installed Salut à Toi core using something like Ansible?

  47. ben

    I run ejabberd on a thinkpad x230 in my living room

  48. ben

    works great

  49. mwk

    What you mean run it in cheap SBC ?

  50. mwk

    I try to run xmpp server from android app in playstore but i cant know how to run

  51. mwk

    I will post link for that app

  52. mwk

    https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimatepro

  53. mwk

    https://jabber.hot-chilli.net/jabberupload/share_v2.php/f5d15772-9c88-4606-b30d-3410cf7160e6/aBOOWXPvRFCsscMDdsa6zA.jpg

  54. mwk

    But i cant make it success to run server in local lan or wan

  55. mjk

    mwk: sooo... you wanna run it on a phone, or you have a googlified android installed on an sbc such as raspberry pi?

  56. mwk

    On my phone

  57. mwk

    Brows the app in playstore and read details about it

  58. mwk

    I put playstore link for it

  59. pepta.net

    mwk: software probably violating open source licenses. Then, all-in one soft is probably the worst thing to have... Security holes, ...

  60. mjk

    That's... unusual, but with power plugged, I guess it can work out

  61. mjk

    Make sure android doesn't kill the server every once in a while

  62. mwk

    I success ftp server and make dynamic dns and success login to my phone server from different city

  63. mwk

    But i cant make xmpp server

  64. mwk

    https://jabber.hot-chilli.net/jabberupload/share_v2.php/45f67894-f38c-4670-8bc7-e5be1efa798c/qzGT8h-bTgmbPDtus3onMQ.jpg

  65. mwk

    https://jabber.hot-chilli.net/jabberupload/share_v2.php/4d66295d-75cb-44d9-99fb-664e96e5ef81/_RuO-HzMTz2uOjUmoPx35A.jpg

  66. mwk

    In server name what should i put ? Any thing like test .

  67. mwk

    ?

  68. mwk

    And in domain name put my home external ip adress ?

  69. mwk

    https://jabber.hot-chilli.net/jabberupload/share_v2.php/fee73464-6f05-4a96-b5b1-898f493b09aa/EWt5mYvqR1O0N0jIg7nX1Q.jpg

  70. mwk

    In user what should add ? The same server name like test

  71. pepta.net

    mwk: This is a commercial app, please contact related support.

  72. mjk

    mwk: You should consult the app's documentation or seek support from the developers.

  73. mwk

    How to login ? Like test@ipadress

  74. mwk

    Is there recommended xmpp server for raspberry pi ?

  75. mjk

    I don't think anyone here has experience with it, and tgere's certainly no psychics here to guess what 'server name' means :)

  76. mjk

    > Is there recommended xmpp server for raspberry pi ? ejabberd and prosory come to mind first

  77. mwk

    Ok , no problem , any experience with setup pi as a server

  78. mjk

    > Is there recommended xmpp server for raspberry pi ? ejabberd and prosody come to mind first

  79. mwk

    And login to that server from here , from conversation app

  80. mwk

    Login on local lan and from outside to pi

  81. mjk

    > any experience with setup pi as a server Just general linux stuff, nothing specific for the pi, except if you expect a lot of users, maybe put the databases on an external drive, not the microsd. And maybe logs too.

  82. mwk

    Is there ready to use tool in github xmpp server ?

  83. mjk

    Here's one good guide https://www.process-one.net/blog/how-to-move-the-office-to-real-time-im-on-ejabberd/

  84. mjk

    > Login on local lan ...may require you to specify connection address manually in your client (Conversations does support that). But it's probably better to just let the router do its job: to route packets locally

  85. mjk

    Disclaimer: I have no first-hand experience with xmpp servers, others here would be able to help much more

  86. mwk

    And from external connection ? Does i need to call ISP to open port 5222 for external ? Or no need for that ?

  87. mjk

    Yes, you need 5222 open for client connections from outside

  88. mjk

    And 5223 (was it?) for server-to-server connections. Unless you don't want to federate

  89. mjk

    443 for http file uploads & downloads

  90. mjk

    5443 for http file uploads & downloads

  91. mwk

    I call isp to open all ports , but when i test it it open ports 21 , 22 , 80 , 8080 just !

  92. mjk

    > And 5223 (was it?) for server-to-server connections. Sorry, that's wrong. The guide I linked has it all anyway, just read it :)

  93. mjk

    Bad provider!

  94. mjk

    They may have some kind of user-configurable firewall that would allow you to upen all ports

  95. mwk

    If i make port forwarding in my router to 5222 to fix lan ip adress that run server , is that work ?

  96. mjk

    Or they may not

  97. mwk

    The port 5222 for my ip when i try external port test , i see it closed

  98. mwk

    Or if i make DMZ in my adsl router to server ip , does that work ?

  99. mjk

    Xmpp client connection can work on any port, actually, provided you can setup SRV records for your domain

  100. mjk

    > Or if i make DMZ in my adsl router to server ip , does that work ? Not sure I understand. Can you rephrase?

  101. mwk

    What you mean i can setup SRV record for my ip

  102. mwk

    ?

  103. mjk

    Yes, you can specify connection ports in SRV records

  104. mjk

    So you can actually use any available ports

  105. mwk

    I dont know what you mean by srv record

  106. mjk

    > Xmpp ~client~ connection can work on any port Corrected ↑

  107. mwk

    Ya

  108. mjk

    Start here: https://en.m.wikipedia.org/wiki/SRV :

  109. mjk

    Start here: https://en.m.wikipedia.org/wiki/SRV :)

  110. mjk

    Then see if your dns server provider allows you to add these

  111. mwk

    If you setup server in your home , you need to make 1 user admin and password for that server like john , and how to connect from conversation app ? Like john@externalipofmyhome.

  112. mjk

    Pretty much

  113. mwk

    > Then see if your dns server provider allows you to add these I will read them ... Thanks 😊

  114. Menel

    Don't know about ejabberd but with prosody reading the manual helps and gives better understanding then a quick start guide.. And all you don't understand --> search engine.

  115. mwk

    > Don't know about ejabberd but with prosody reading the manual helps and gives better understanding then a quick start guide.. And all you don't understand --> search engine. Thanks 😊 i will

  116. mwk

    > Start here: https://en.m.wikipedia.org/wiki/SRV :) So i need to call my local ISP and request from them SRV RECORD to my ip adress ?

  117. mwk

    Thats should i need to do ?

  118. mjk

    You said you have dynamic dns setup, that means you already have an A or AAAA record with your IP address, so check with them if they allow adding SRV records

  119. mjk

    If your dns provider is your ISP, then yes, ask them

  120. mwk

    Ask them i need SRV Record ?

  121. mjk

    Yep

  122. mwk

    They know it

  123. mwk

    They add that service from there system to my ip ?

  124. mwk

    My dynamic dns on no-ip

  125. mjk

    Usually they'd give you web interface for doing that

  126. mjk

    Without srv records and without the standard server-to-server connection port number, I think you'd be unable to receive messages from other servers. But at least clients should be able to connect, by specifying the non-standard port number

  127. mwk

    Ya

  128. mwk

    > Usually they'd give you web interface for doing that Can add srv in no-ip website that i added in ddns

  129. mjk

    Good

  130. mjk

    Next, read up on the necessary xmpp srv records somewhere in the interwebs :)

  131. mwk

    If i dont need to communicate with other servers . So no need for srv record? If just me and my family connect to my host server dynamic dns ,.from lan or from outside 3g or 4g phone , so in this case , no need srv ?