FYI: hookipa.net/xmpp.social will shut down for maintenance (relocation to a new server)
Ian Blashas left
Ian Blashas joined
andrey.utkinhas joined
ijhas left
candyman188has left
raverhas left
karlhas left
karlhas joined
Ian Blashas left
patascahas joined
JRHaighhas left
JRHaighhas joined
hotaruhas joined
raverhas joined
karmehas left
greenkeeperhas left
greenkeeperhas joined
gooyahas left
Ian Blashas joined
gooyahas joined
candyman188has joined
marc0shas left
marc0shas joined
ij (messaging1)has joined
marc0shas left
marc0shas joined
antranigvhas joined
purhas joined
gooyahas left
gooyahas joined
candyman188has left
candyman188has joined
myjabber1337has left
croaxhas left
croaxhas joined
myjabber1337has joined
myjabber1337has left
ianhas left
Ian Blashas left
raghavgururajanhas left
antranigvhas left
'has left
'has joined
marc0shas left
marc0shas joined
myjabber1337has joined
purhas left
Ian Blashas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
*IM*has left
ricciohas left
ricciohas joined
gooyahas left
JRHaighhas left
gooyahas joined
JRHaighhas joined
Ian Blashas left
JRHaighhas left
JRHaighhas joined
patascahas left
ijhas joined
ijhas left
gagikhas left
raverhas left
andrey.utkinhas left
menelhas left
ij (messaging1)has left
ij (messaging1)has joined
raverhas joined
Dead Headhas left
ij (messaging1)has left
Ian Blashas joined
surenhas left
Tyler B. Joneshas left
Tyler B. Joneshas joined
大明白20210720has left
gagikhas joined
myjabber1337has left
myjabber1337has joined
大明白20210720has joined
SUNhas joined
大明白20210720has left
大明白20210720has joined
froghas left
froghas joined
rinohas joined
rinohas left
surenhas joined
大明白20210720has left
rinohas joined
大明白20210720has joined
rinohas left
RayTutuhas left
大明白20210720has left
大明白20210720has joined
kuba_has left
jayteeukhas joined
leohas joined
大明白20210720has left
surenhas left
surenhas joined
大明白20210720has joined
candyman188has left
candyman188has joined
大明白20210720has left
大明白20210720has joined
raverhas left
kryptoshas joined
大明白20210720has left
大明白20210720has joined
admin dcuba.arhas joined
marc0shas left
Ian Blashas left
test1has left
raverhas joined
karlhas left
karlhas joined
marc0shas joined
Ian Blashas joined
raghavgururajanhas joined
surenhas left
surenhas joined
Silvio Titzmannhas left
Silvio Titzmannhas joined
Sammy8806has left
Sammy8806has joined
pablohas joined
emushas left
[czar]has left
[czar]has joined
leohas left
patascahas joined
ffuenteshas joined
melvohas joined
admin dcuba.arhas left
Maranda[x]has left
myjabber1337has left
Maranda[x]has joined
croaxhas left
croaxhas joined
Dexterhas left
ffuenteshas left
ffuenteshas joined
emushas joined
surenhas left
surenhas joined
karmehas joined
[czar]has left
[czar]has joined
[czar]has left
[czar]has joined
[czar]has left
[czar]has joined
Dexterhas joined
quantumwingshas left
quantumwingshas joined
karlhas left
gooyahas left
gooyahas joined
karlhas joined
opensourcedhas left
surenhas left
surenhas joined
wladmishas left
wladmishas joined
karlhas left
karlhas joined
opensourcedhas joined
patascahas left
大明白20210720has left
andrey.utkinhas joined
SJMhas joined
大明白20210720has joined
inkyhas left
kuba_has joined
myjabber1337has joined
surenhas left
surenhas joined
raghavgururajanhas left
大明白20210720has left
大明白20210720has joined
*IM*has joined
karmohas joined
surenhas left
surenhas joined
ianhas joined
ianhas left
ianhas joined
Ivan A.has left
Ivan A.has joined
pablohas left
antranigvhas joined
antranigvhas left
surenhas left
surenhas joined
Ivan A.has left
Ivan A.has joined
inkyhas joined
eevvoorhas left
patascahas joined
candyman188has left
eevvoorhas joined
bookadouhas left
bookadouhas joined
Alacer_dsrthas left
marc0shas left
marc0shas joined
antranigvhas joined
kuba_has left
ijhas joined
croaxhas left
croaxhas joined
karmohas left
ijhas left
bunghas joined
анонимhas joined
аноним
Hello
Katherinehas left
аноним
We hello
kikuchiyohas left
quantumwingshas left
antranigvhas left
antranigvhas joined
Menel
Hi
CKhas left
balabol.imhas left
balabol.imhas joined
candyman188has joined
Ian Blashas left
kuba_has joined
CKhas joined
raverhas left
naveesromhas left
Ivan A.has left
Ivan A.has joined
raverhas joined
Ian Blashas joined
kikuchiyohas joined
patascahas left
antranigvhas left
yyyyyypx4has joined
kikuchiyohas left
kikuchiyohas joined
kryptoshas left
naveesromhas joined
surenhas left
surenhas joined
myjabber1337has left
qwestionhas joined
karimhas left
karimhas joined
rinohas joined
Pingu from Woodquarterhas left
qwestionhas left
Pingu from Woodquarterhas joined
rinohas left
surenhas left
surenhas joined
greenkeeperhas left
greenkeeperhas joined
thndrbvrhas left
pablohas joined
william.chatnerhas joined
raverhas left
qwestionhas joined
raverhas joined
candyman188has left
candyman188has joined
antranigvhas joined
Dead Headhas joined
patascahas joined
greenkeeperhas left
greenkeeperhas joined
ianhas left
ianhas joined
qwestionhas left
antranigvhas left
antranigvhas joined
raverhas left
patascahas left
raverhas joined
greenkeeperhas left
greenkeeperhas joined
kuba_has left
smooth_operatorhas joined
surenhas left
surenhas joined
kuba_has joined
smooth_operator
hello. basic xmpp question:
Ian Blashas left
thndrbvrhas joined
smooth_operator
if a user joins a muc on a brand new server, and then leaves the muc, does the s2s connection stay open?
fantoskihas left
fantoskihas joined
p55shas left
p55shas joined
Ian Blashas joined
Link Mauve
smooth_operator, it depends™.
Link Mauve
Some servers (Ejabberd for instance) like to close s2s connections when no stanza has been exchanged in some time, some other (Prosody for instance) don’t.
Link Mauve
The trade-offs are that it takes a few seconds to open a connection, so the next message you send might get delayed a bit if the connection got closed.
smooth_operator
makes sense. so in the case of prosody, surely there is an eventual timeout?
Link Mauve
On the other hand, it takes a few KiB of memory to have an open connection, so for resource reasons it might be preferable to close the connections on servers starved for RAM.
froghas left
Link Mauve
Not that I know of, the s2s connection gets closed only when the other end closes it, or when the server gets restarted.
smooth_operator
hmmm
Menel
Or ip change, TCP time out
Link Mauve
I have never found this problematic, but if you have very little RAM and a lot of idle s2s you might want to change that.
CKhas left
infohas left
smooth_operator
so the scenario i have is, if a user on my muc joins all these random mucs just to browse, but then leaves them all, all of those connections stay open indefinitely
Link Mauve
There is mod_s2s_idle_timeout in prosody-modules to do that.
smooth_operator
oh cool, perfect
Link Mauve
smooth_operator, is that an issue though?
Link Mauve
As I said, it only takes a few KiB of memory to keep a TCP + TLS connection open.
smooth_operator
not really, im just micromanaging since im new to xmpp
Link Mauve
And as Menel said, you will get timeouts for other reasons anyway.
kuba_has left
Link Mauve
smooth_operator, note that it has nothing to do with MUC, the s2s doesn’t care what gets transmitted over it.
qwestionhas joined
yyyyyypx4has left
smooth_operator
yeah that makes sense
Link Mauve
smooth_operator, and be aware of the time it takes to reestablish a connection, especially if you have a weak CPU, especially if the other end uses a large certificate (4096 bits RSA for instance).
Menel
If you are less new, in time, you'll notice the defaults are there for a reason and most micromanagement not useful.
loopboomhas joined
Link Mauve
Yup. ^^
smooth_operator
yeah i bet. i just like knowing what traffic my server is doing, is all
kuba_has joined
balabol.imhas left
Link Mauve
By definition, an idle connection will have almost no traffic.
candyman188has left
infohas joined
admin dcuba.arhas joined
p55shas left
p55shas joined
froghas joined
kuba_has left
kuba_has joined
candyman188has joined
balabol.imhas joined
smooth_operator
yeah im not concerned about amount of traffic. just the various connections my server holds open and if they are solicited or not
Ian Blashas left
jakobhas left
Link Mauve
All connections are solicited. :D
Link Mauve
No server goes “nothing asked me to, but I’ll open a connection anyway!” :D
marc0shas left
marc0shas joined
jakobhas joined
smooth_operator
lol i mean like all the internet scanners scanning for 5269, i wanna know if that connection is because a user is doing something with the server or not, i guess
loopboomhas left
kuba_has left
Link Mauve
Those probably close it right after they’ve done their scanning.
Link Mauve
It would be too expensive on their end not to.
smooth_operator
well that's only stage 1 :)
smooth_operator
stage 2 is fingerprinting
smooth_operator
stage 3 is hacking
EuAndrehhas joined
Link Mauve
I’ve only ever seen DoS over unauthenticated streams, never hacking.
infohas left
Link Mauve
Doesn’t mean it doesn’t happen, but I am not aware of any case in the past fifteen years I’ve been following XMPP stuff.
naveesromhas left
smooth_operator
okay, so another xmpp noob question: is there actually authentication over s2s aside from cert validation?
antranigvhas left
Link Mauve
If the certificate is valid, that is authentication.
Link Mauve
Presenting a valid certificate for a domain is kind of a proof that you do own said domain.
Link Mauve
There are other ways to prove it, but that’s the current most accepted one.
smooth_operator
yeah that's what i was thinking. all they need is a domain and cert which isn't hard to get
Ian Blashas joined
kuba_has joined
antranigvhas joined
smooth_operator
so maybe a more useful question is, are there any good guides for hardening our servers?
gagikhas left
smooth_operator
or at least best practices
infohas joined
Link Mauve
What do you want to harden it against?
Link Mauve
As Menel said earlier, “in time, you'll notice the defaults are there for a reason”. :)
naveesromhas joined
smooth_operator
minimizing attack surface
inkyhas left
Menel
smooth_operator: best practice is use the software..
I'm not aware of any xmpp "hack" beside DOS.
The attach surface is with the default very small as far as I see.
There are endless servers out there.. But has any been hacked via xmpp?
patascahas joined
Menel
Ever?
Ian Blashas left
Link Mauve
Probably, don’t load random community modules that haven’t been vetted by the devs of your server or reviewed by you, would be the best answer I could give you.
croaxhas left
kuba_has left
infohas left
croaxhas joined
CKhas joined
smooth_operator
Menel: i don't know of xmpp server hacking either, but that doesn't mean it doesn't happen. and if it's normal for the server to hold open tons of idle connections, how would operators know those aren't malicious or not
smooth_operator
and i'm just being theoretical here. anytime i expose something to the internet i just like knowing what i'm exposing
kuba_has joined
smooth_operator
so things like bosh, websocket, proxy65: i have no idea what those are for so i just disable them
homebeachhas left
homebeachhas joined
antranigvhas left
candyman188has left
candyman188has joined
raverhas left
smooth_operatorhas left
smooth_operatorhas joined
'has left
'has joined
smooth_operatorhas left
qwestionhas left
'has left
smooth_operatorhas joined
neoxhas left
kryptoshas joined
'has joined
neoxhas joined
surenhas left
surenhas joined
Licaon_Kter
smooth_operator:
> so things like bosh, websocket, proxy65: i have no idea what those are for so i just disable them
you can read...
admin dcuba.arhas left
Licaon_Kter
Web client old standard, new standard, file transfer helper, etc
raverhas joined
quantumwingshas joined
antranigvhas joined
smooth_operator
well yeah i can look them all up and spend hours reading xeps, but the argument was about not messing with defaults. now that i think about it, it's impossible for me to _not_ mess with defaults lol. character flaw. so never mind my rambling :)
SUNhas left
CKhas left
Menel
Well, if you are like that you'll _have_ to read about it or never sleep well 😀
patascahas left
patascahas joined
Ian Blashas joined
Menel
I just don't think its a big difference if your s2s closes connections or not.
If the open connection is used by a malicious actor.. They will just hold it open. And a timeout will not help with security
Menel
As you already discoverd a server will happily listen to a valid connection
smooth_operator
yeah, you're right
Licaon_Kter
smooth_operator: either accept defaults or read, and you'll read anyway when stuff is not working lol
smooth_operator
yeah. i'm just looking for the easy button first ;)
greenkeeperhas left
greenkeeperhas joined
Licaon_Kter
Make default working, then read and prune what's not wanted.
Licaon_Kter
No need for s2s or proxy65 at start, no one would use them when you start, since no one knows your server yet.
rosshas left
rosshas joined
candyman188has left
Menel
Before reading xeps, I would start with the prosody doc from the top, and then all the modules you use.. Xeps are a bit abstract..
Ian Blashas left
antranigvhas left
candyman188has joined
SUNhas joined
inkyhas joined
Ian Blashas joined
rosshas left
rosshas joined
smooth_operatorhas left
smooth_operatorhas joined
kuba_has left
kuba_has joined
homebeachhas left
homebeachhas joined
CKhas joined
smooth_operatorhas left
smooth_operatorhas joined
surenhas left
surenhas joined
kryptoshas left
kuba_has left
smooth_operatorhas left
smooth_operatorhas joined
JRHaighhas left
kuba_has joined
анонимhas left
анонимhas joined
surenhas left
surenhas joined
JRHaighhas joined
ilmaisin_has left
antranigvhas joined
kuba_has left
kuba_has joined
ijhas joined
patascahas left
antranigvhas left
infohas joined
ij
hookipa.net/xmpp.social is online again (since a few hours)