-
hook
nlnet.nl XMPP server works fine again
-
Guus
They suffered from a configuration issue in the distribution that they used. Should be permanently fixed.
-
hook
Yup, just heard that from my contact there.
-
Shiny Rhino
Hi there, does anyone know how resource requirements (load, memory, storage) compare between an XMPP server and an IRC server for lets say 100 users chatting with 400 characters per minute simultaneously. What's the ressource ratio?
-
Licaon_Kter
Why deploy IRC in $CURRENTYEAR? :)
-
Licaon_Kter
An RPi1/256Mb can support 100 users doing XMPP things... I guess maybe more IRC lol
-
Shiny Rhino
I recently looked at The IRC book from 2000 and it was talking about running an IRC server on 8MB (!) memory, AFAIK.
-
hook
Shiny Rhino, I have no numbers, but might be a good question whether you mean the old IRC or the new IRCv3.
-
Shiny Rhino
ircv3
-
Shiny Rhino
i have read that matrix is terrible wrt ressource use with 5GB memory for a handful of users (cf disroot page).
-
Shiny Rhino
> Why deploy IRC in $CURRENTYEAR? :) ... because it uses minimal ressouces per user.
-
Guus
Shiny Rhino: as always, 'it depends'. XMPP servers can often run well on pretty low resources.
-
Shiny Rhino
What's low ressouces, eg for a company of 500 users?
-
hook
I guess when it comes to XMPP it is also a question of how many options you turn on or off.
-
Guus
Your mileage will vary enormously depending on usage patterns, software used, etc, but I'd expect you'd look at numbers in the hundred, maybe single-digit gigabytes of RAM.
-
Shiny Rhino
text with OMEMO encyption is enough
-
Guus
XMPP does not suffer from the resource usage explosion that you read about for some Matrix servers - there's no worry of that. I do not know how it compares to IRC.
-
Shiny Rhino
so a 2GB instance for xmpp for 500 users would be worth a start?
-
Guus
If you can easily scale up and down your resources, that could be a good place to start, yes.
-
Shiny Rhino
any recommendations which server to use for someone who has setup an irc server but is new to xmpp✎ -
Guus
again, your mileage will vary enourmously
-
Shiny Rhino
any recommendations which server to use for someone who has setup an irc server but is new to xmpp? ✏
-
Guus
hehe, you're talking to a server dev :D
-
hook
What’s the biggest XMPP server we know about and its resource use? :)
-
Shiny Rhino
My mileage will not vary if we standardize the usecase. Studies needed.
-
MattJ
WhatsApp, but they won't tell us ;)
-
Guus
Fortnite possibly? Grinder?
-
roughnecks
Eve Online too
-
Guus
anyway, as for server recommendations: mine (Openfire) is _obviously_ the best (although many here will disagree ;) ). Common choices are Prosody/Snikket and eJabberd
-
jonas’
prosody is extremely lightweight on resources
-
jonas’
in particular in small setups
-
Guus
There's a listing of server software on https://xmpp.org/software/
-
jonas’
Shiny Rhino, 500 users online at the same time should be absolutely no issue with 2 GiB of RAM.✎ -
jonas’
Shiny Rhino, 500 users online at the same time should be absolutely no issue with 2 GiB of RAM, when running Prosody. ✏
-
Shiny Rhino
> Shiny Rhino, 500 users online at the same time should be absolutely no issue with 2 GiB of RAM, when running Prosody. Sounds great!
-
Shiny Rhino
Thanks, for the moment. let me know if you have some new info on ressource use! Qapla'
-
MattJ
Shiny Rhino, you can see some metrics from a real server (with a slightly higher user count) here: https://stats.jabberfr.org/d/000000002/jabberfr?orgId=1&refresh=1m
-
Shiny Rhino
MattJ, Thanks, I found a recommendation for IRC server by IONOS which recommends VPS M (2vcores, 4GB) for 100 users, which looks like an overkill to sell their stuff: https://www.ionos.com/digitalguide/server/know-how/irc-server/
-
jonas’
oh god and then they build inspircd from source
-
Polarian
> WhatsApp, but they won't tell us ;) tried asking? ↺
-
MattJ
They deny using XMPP :)
-
Polarian
> prosody is extremely lightweight on resources my prosody instance loves eating CPU, but memory wise its low ↺
-
MattJ
(which is only half a lie, it's far from standard XMPP these days)
-
Polarian
> They deny using XMPP :) How did you even contact them? ↺
-
Polarian
I would have expected "f*ck off"
-
MattJ
Folk from WhatsApp occasionally pop up in places
-
Polarian
aha you got to remember they probably signed an NDA
-
Polarian
and also their human rights away
-
Polarian
and also put their entire family down as collateral if they leak IP
-
Wirlaburla
» [05:59:39] <jonas’> prosody is extremely lightweight on resources Can confirm. Prosody takes up less system resources than *checks htop* everything.
-
Polarian
Until people start sending messages and stuff
-
Polarian
Lua is light but not fast... at least not in my experiences with it.
-
Wirlaburla
While people are sending messages.
-
Wirlaburla
I just checked on my active server connected to many other instances, recieving and sending messages. Runs on less resources than my internal tor daemon.
-
moparisthebest
"fast" is always relative, without a frame of reference, it's useless
-
Polarian
> I just checked on my active server connected to many other instances, recieving and sending messages. Runs on less resources than my internal tor daemon. tor is doing crypto of course it will be resource intensive ↺
-
Polarian
in fact tor needs beefy servers to perform well... onion routing is far from efficient resource wise
-
Wirlaburla
Yes but my tor daemon is literally doing nothing right now.
-
Menel
Prosody uses crypto too
-
Menel
Old term, tls
-
Menel
Also I think it's rather "fast" beeing used for games.... Needs to not be slow..
-
Wirlaburla
I know we can agree any XMPP server is better than running any Matrix servers. Those things want you to feed them RAM sticks daily.✎ -
Wirlaburla
I know we can all agree any XMPP server is better than running any Matrix servers. Those things want you to feed them RAM sticks daily. ✏
-
Polarian
> Prosody uses crypto too TLS ↺
-
Polarian
not encrypting a payload 3 times with different keys
-
Polarian
hence "onion"
-
Polarian
> not encrypting a payload 3 times with different keys _possibly even more times_ ↺
-
Wirlaburla
It's running better than my currently inactive spamd.
-
Wirlaburla
Less CPU, less RAM.
- Polarian shrugs
-
Wirlaburla
There is your example of an efficient and performant server.
-
Polarian
would need solid benchmarks to find the truth here.
-
Polarian
but in my experience prosody went nom nom on my CPU
-
Wirlaburla
Yes, perhaps. Unfortunately, I do not wish to perform such benchmarks on my production server.
-
Polarian
Testing in production is 100% safe...
-
Polarian
_totally_
-
Wirlaburla
I'm too busy using my huge bandwidth to fend off ddos attacks.
-
Wirlaburla
Then procrastinating adding ddos protection.
-
Polarian
> I'm too busy using my huge bandwidth to fend off ddos attacks. huge bandwidth? ↺
-
Polarian
> Then procrastinating adding ddos protection. ddos protection involves feeding your packets to big companies ↺
-
Polarian
I rather be hit with a DDOS
-
Wirlaburla
No, not that kind of ddos protection.
-
Polarian
soooo. IP blocking?
-
Wirlaburla
I guess but more automatic and does the job for me.
- chunk is automatic and does the job for Wirlaburla
-
chunk
i r b0t
- chunk sends ping to test
-
chunk
Can somebody tell BobEvans to ping me, pls tnx
-
agris
> Polarian: > 2024-02-19 01:04 (EST) > huge bandwidth? > ddos protection involves feeding your packets to big companies > I rather be hit with a DDOS You can put a reverse proxy in a big data center or a router and do your filtering there but keep tls intact. Filter the big stuff on the cloud then run layer 7 inspection on the prefiltered traffic on your own secure hardware after decryption
-
Wirlaburla
Okay NERD
-
Polarian
> You can put a reverse proxy in a big data center or a router and do your filtering there but keep tls intact. Filter the big stuff on the cloud then run layer 7 inspection on the prefiltered traffic on your own secure hardware after decryption They can still hop your traffic
-
Polarian
remember they have full access to the data on your server
-
agris
Then use your fine grained senors to update the big firewall in the cloud
-
Polarian
that certificate, they can see it
-
Polarian
jabber.ru was a MITM attack, and that was unavoidable
-
Polarian
you can't prevent a datacentre from compromising you
-
agris
That's what encryption is for.
-
Polarian
encryption isn't a silver bullet
-
Polarian
and the certificates can still be compromised
-
agris
Tls runs over tcp, tcp can be related regardless of the payload within
-
Polarian
you are forgetting the big factor here
-
Polarian
you are running it on THEIR hardware
-
Polarian
they have full access to it
-
agris
No
-
Polarian
nothing stops them yanking the certificate key
-
Polarian
unless you FDE... but its not always possible with cloud providers
-
agris
You run your application servers on your own hardware. Then you run your proxy servers or routers in the cloud
-
Polarian
yes...
-
Polarian
they can backdoor the reverse proxy
-
Polarian
and because the reverse proxy decrypts then reencypts
-
Polarian
they yank the packets that way
-
agris
No that's a tls terminating proxy
-
Polarian
so you want to encapsulate it
-
agris
I'm talking about a tcp proxy
-
Polarian
ohhh
-
agris
Tls is already encapsulated in tcp
-
Wirlaburla
I was just gonna use BasedFlare.
-
Polarian
ok that could feasibly work, but it doesn't stop them filtering the packets out
-
agris
What?
-
Polarian
tls encrypts the payload
-
Polarian
thats it
-
Polarian
nothing stops them from filtering the packet
-
Polarian
plus they still get the metadata 🙃
-
Polarian
how many packets your server is getting
-
Polarian
where from
-
Menel
Nothing stops them in any case.. Grabbing it at the big central internet nodes.
-
Polarian
how often
-
Menel
😉
-
Wirlaburla
Nothing stopping your ISP from your metadata either.
-
Menel
Don't need a data center
-
agris
You want packet filtering, the whole purpose is ddos filtering right?
-
Polarian
> Nothing stopping your ISP from your metadata either. Indeed
-
Polarian
I am mainly just showing its pointless
-
Menel
It's not pointless.
-
Wirlaburla
It wasn't.
-
Polarian
_plus the added latency_
-
Wirlaburla
It has purpose but you are missing the point.
-
Polarian
plus more points of faillure✎ -
Polarian
plus more points of failure ✏
-
agris
First define your scope. I thought this was about ddos filtering. Now it seems to be about internet snooping?
-
Wirlaburla
Yeah, it got off track.
-
Polarian
Not a surprise considering I am barely able to keep my eyes open
-
Polarian
maybe I need another monster...
-
agris
> Polarian: > 2024-02-19 02:09 (EST) > plus more points of failure True but just add redundancy. You can use VRRP
-
Wirlaburla
This man sleep sysadmins.
-
agris
That's what it's for
-
agris
If you don't like VRRP openbsd has carp
-
Polarian
> True but just add redundancy. You can use VRRP Ever heard simpler is better?
-
Polarian
You are running a XMPP server here
-
Polarian
not a mission critical datacentre where people will die if you are knocked out
-
Wirlaburla
I love these four letter acronyms all around.
-
agris
What is the alternative? Getting ddosed?
-
Polarian
> What is the alternative? Getting ddosed? Yes
-
Wirlaburla
You can over-engineer ddos protection.
-
Polarian
they give up eventually
-
Wirlaburla
It's not like I'm being attacked by the infamous hacker group known as 4chan.
-
Polarian
All DDOS protection is, is dropping packets on thick fibre
-
Polarian
nothing stops them overloading your ddos protection
-
Polarian
you are almost never immune
-
Polarian
> If you don't like VRRP openbsd has carp Wirlaburla VRRP is Virtual Redundant Router Protocol, and carp is OpenBSD's protocol to provide a fallback router
-
agris
I'm not sure this discussion is in good faith anymore
-
Polarian
carp keeps pf rules synced
-
Polarian
> I'm not sure this discussion is in good faith anymore How so...
-
Polarian
Its not malicious... or intended to be malicious
-
agris
Every time a solution is presented the scope changes
-
Polarian
yeah that sums me up...
-
Polarian
what was the original point?
-
Menel
Soo you're arguing about stuff you don't know the point of?
-
Polarian
no... I am getting lost in something off topic
-
Polarian
ok original topic, feeding big companies your packets
-
Polarian
that doesn't change either way
-
Polarian
slap encryption into it, you only protect the payload
-
Polarian
does it matter? probably not...
-
Polarian
Cloudflare does TCP proxying already
-
Polarian
so you could argue theres no difference here...
-
Polarian
~apart from cloudflare being as trustworthy as someone putting a gun to your head~
-
Wirlaburla
Cockflare.
-
Polarian
I guess doing the TCP proxying yourself _might_ have some benefit... such as being able to use any provider, and more provider freely without being vendor locked
-
Menel
The point was, to use ddos protection, one solution is to route tcp through a bug data enter and handle it there. There are alternatives to cloud flare. Share your data between vendors etc. Nobody said this can't have drawbacks and nobody said it would be the a solution for perfect privacy of metadata. But this goal was never mentioned
-
Polarian
Its not always about privacy either... you are trusting their uptime, their server reliability and hoping they don't get congested. Furthermore you add more points of failure.
-
Menel
Yeah, things have pro and cons. Everyone needs to find out what's best for their use case
-
Polarian
> The point was, to use ddos protection, one solution is to route tcp through a bug data enter and handle it there. > There are alternatives to cloud flare. Share your data between vendors etc. > Nobody said this can't have drawbacks and nobody said it would be the a solution for perfect privacy of metadata. > But this goal was never mentioned I think to sum it up... most people will just use cloudflare...
-
Polarian
> Yeah, things have pro and cons. Everyone needs to find out what's best for their use case I guess its personal opinion
-
Polarian
I have done email relaying before to bypass port restrictions
-
Polarian
I got to tell you, it aint fun!
-
Polarian
you have to check each hop to tell where you are losing emails... and I feel TCP proxying will be a similar problem
-
Polarian
your server starts having network issues, you got to check the firewall, then your physical connection, then your provider, then the providers firewall etc etc
-
Polarian
plus one point I tried to make, and one which I badly made, you don't know what ports/rules the provider will filter on their edge routers
-
Polarian
they could well block ports like port 25 which you would need to ddos protect a email server
-
Polarian
but it seems at this point I am just opposing the point simply to oppose it, I guess it isn't a terrible alternative if DDOS protection is something you value...
-
Licaon_Kter
> You are running a XMPP server here > not a mission critical datacentre where people will die if you are knocked out Define mission critical...
-
Polarian
>> You are running a XMPP server here >> not a mission critical datacentre where people will die if you are knocked out > Define mission critical... are people going to die? ↺
-
Licaon_Kter
Which service should people use since that's like an ever threat? Telegram? Line? Viber? Signal? Because if you start this discussion in these terms...✎ -
Licaon_Kter
Which service should people use since that's like an ever growing threat? Telegram? Line? Viber? Signal? Because if you start this discussion in these terms... ✏
-
Polarian
> Which service should people use since that's like an ever growing threat? Telegram? Line? Viber? Signal? Because if you start this discussion in these terms... when you run 911 on XMPP, then talk about the importance ↺
-
Licaon_Kter
Ok, so we should never use any other service except the one that support 911. Why are you here exactly then?
-
Polarian
> Ok, so we should never use any other service except the one that support 911. > > Why are you here exactly then? I'm a server operator... sorta :) ↺
-
agris
> Polarian: > 2024-02-19 02:13 (EST) > carp keeps pf rules synced > How so... > Its not malicious... or intended to be malicious It's called sealioning
-
agris
https://en.wikipedia.org/wiki/Sealioning
-
Polarian
agris, Denial of service to human beings...
-
Polarian
pretty strong allegation :)
-
agris
Please stop messaging or pinging my name.
-
Polarian
wait thats a catch 22... if I ping you then I have messaged, and I can't message because its one of the conditions...