Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Linux 6.18 Will Be A Big Improvement For Servers Encountering DDoS Attacks

itsTomHarperitsTomHarper Member, Megathread Squad

A set of patches merged via the networking pull request for the Linux 6.18 will help servers better cope with distributed denial of service "DDoS" attacks. Thanks to a Google engineer there are some significant optimizations found in the Linux 6.18 kernel code for more efficiently handling of UDP receive performance under stress, such as in DDoS scenarios.

More at:
https://www.phoronix.com/news/Linux-6.18-DDoS-Improvement

Comments

  • jsgjsg Member, Resident Benchmarker

    They (phoronix) force a "accept or go through our cumbersome 'choices'" game on their readers (or more precisely victims), hence -> /ignored, not read.

    Maybe OP can offer us more thant a link and a quick copy_and_paste, aka useful (i.e. not just their blurb) summary.

  • @shallownorthdakota said:
    Death to Cloudflare.

    YYYEEESS!!!
    Cloudflare MitM's soo many sites (including this forum), allegedly has some censorship issues, also stops everyone from creating their own search engine (blocking bots)

    Their CAPTCHA is very slow and wastes a lot of user time!

    All bots are welcome on my website, which does not use CF

    Thanked by 1JohnnySac
  • wadhahwadhah Member, Host Rep
    edited October 2025

    @jsg said:
    They (phoronix) force a "accept or go through our cumbersome 'choices'" game on their readers (or more precisely victims), hence -> /ignored, not read.

    Maybe OP can offer us more thant a link and a quick copy_and_paste, aka useful (i.e. not just their blurb) summary.

    Yeah here's the full article:

    How Not to Be an Asshole

    There's a special kind of person who has perfected the art of weaponized helplessness on the internet. You know the type: someone drops a link in a chat, forum, or social media thread, and instead of taking three seconds to click it themselves, they demand that others summarize it for them. "What does this say?" they ask, as if their fingers are temporarily paralyzed and their eyeballs have gone on strike.

    The Anatomy of Link Laziness

    This behavior reveals a fascinating entitlement complex. The person who refuses to click a link is essentially saying: "My time is more valuable than yours, so you should do this trivial task for me." They're not asking because they have a legitimate accessibility issue or because the link is broken. They're asking because they've decided that reading is someone else's job.

    What makes this particularly obnoxious is the complete lack of self-awareness. These individuals will spend more time waiting for someone to respond than it would have taken to just click the damn link. They'll refresh the page repeatedly, checking for answers, investing far more effort into avoiding the task than the task itself would require.

    Why This Makes You an Asshole

    When you refuse to click links and demand others do it for you, you're not just being lazy; you're being disrespectful. You're treating other people like your personal assistants, unpaid interns hired to filter information for your royal consumption. Every person who reads your request wastes mental energy deciding whether to help you, ignore you, or call out your behavior.

    It's also intellectually dishonest. Part of participating in online discussions is doing your own research and forming your own opinions based on source material. When you demand summaries instead of reading the actual content, you're relying on someone else's interpretation, which may be incomplete or biased.

    The Solution

    Click the link. That's it. That's the entire solution. Your fingers work. Your eyes work. Your brain presumably works. Use them. If you're genuinely concerned about security, use a link checker or preview tool. If you're worried about paywalls, say so specifically. But if you're just being lazy? Stop it.

    And if you find yourself typing "can someone tell me what this says?" pause and ask yourself: "Am I being an asshole right now?" The answer is yes. Delete your message and click the link like a functional adult.


    @jsg and just for you because i know you cant read an article that long, i asked AI to summarize it for you:

    • Refusing to click links and demanding others do it is entitled asshole behavior

    • You're treating people like unpaid assistants, which is disrespectful

    • You waste more time waiting for answers than clicking would take

    • Your fingers, eyes, and brain work, probably, use them like a functional adult

    • Click your own links and stop being lazy

  • jsgjsg Member, Resident Benchmarker

    Whether someone like you considers me asshole isn't relevant to me, if anything I take it as a compliment. So, thank you!

    So, forcing visitors to play their game and to one way or another accept their rules is O.K. for you? Well then click "accept" and enjoy. I'll not even call you "asshole".

  • zedzed Member

    what are you guys even arguing about

  • he must be on some jank fuckass vpn ... I've never gotten any kind of challenge reading articles on phoronix ... not domestically, not even rawdoggin' shithole resort wifi in mexico... ublock origin helps, maybe - but then again, I'm usually on a phone so, who knows... this place is still a cesspool, lol

  • Good morning!

    Thanked by 2oloke cainyxues
  • raindog308raindog308 Administrator, Veteran

    @jsg said: They (phoronix) force a "accept or go through our cumbersome 'choices'" game on their readers (or more precisely victims), hence -> /ignored, not read.

    Strange...took me right to the article.

    The guts of the article are copy/pasted below. Or look at this archive.ph I created just now: https://archive.ph/6XkuA

    But even with a nearly 50% improvement in handling UDP traffic...a single server cannot cope with a DDoS. This just requires a larger DDoS than before. Which isn't a bad thing by any means, but this is not the end of DDoS protection needs.

    Article:

    "This series is the result of careful analysis of UDP stack, to optimize the receive side, especially when under one or several UDP sockets are receiving a DDOS attack.

    I have measured a 47 % increase of throughput when using IPv6 UDP packets with 120 bytes of payload, under DDOS.

    16 cpus are receiving traffic targeting a single socket.

    Even after adding NUMA aware drop counters, we were suffering from false sharing between packet producers and the consumer.

    1) First four patches are shrinking struct ipv6_pinfo size and reorganize fields to get more efficient TX path. They should also benefit TCP, by removing one cache line miss.

    2) patches 5 & 6 changes how sk->sk_rmem_alloc is read and updated. They reduce reduce spinlock contention on the busylock.

    3) Patches 7 & 8 change the ordering of sk_backlog (including sk_rmem_alloc) sk_receive_queue and sk_drop_counters for better data locality.

    4) Patch 9 removes the hashed array of spinlocks in favor of a per-udp-socket one.

    5) Final patch adopts skb_attempt_defer_free(), after TCP got good results with it."

    Thanked by 2nghialele jsg
  • @shallownorthdakota said:
    Death to Cloudflare.

    This isn’t a cure-all for every DDoS attack. If your network link or hardware (the uplink, internet channel, or NIC) is fully saturated, kernel-level optimizations can’t eliminate the physical congestion. Large-scale attacks still require additional network-side measures such as filtering, rate limiting, or traffic scrubbing by your provider.

  • SaragoldfarbSaragoldfarb Member, Megathread Squad

    @zed said:
    what are you guys even arguing about

    Arseholes vs assholes.

    Thanked by 2zed itachikonoha
  • Something fixed, something else broken. Normal daily kernel surprises.

  • This also means, that the kernel is capable of sending outgoing floods better. Attackers benefit just as much.

    Thanked by 2jsg itachikonoha
  • CybrCybr Member
    edited October 2025

    @raindog308 said:

    @jsg said: They (phoronix) force a "accept or go through our cumbersome 'choices'" game on their readers (or more precisely victims), hence -> /ignored, not read.

    Article:

    "This series is the result of careful analysis of UDP stack, to optimize the receive side, especially when under one or several UDP sockets are receiving a DDOS attack.

    I have measured a 47 % increase of throughput when using IPv6 UDP packets with 120 bytes of payload, under DDOS.

    A lot of people are going to see the headline and mistakenly think this will make a difference to their server during a DDoS attack...

    It may help some providers who use linux for light scrubbing on nodes with huge connections, but serious scrubbing is done upstream and usually bypasses the kernel entirely.

    It's not going to make your 1Gbps server be magically boosted to 1.47Gbps during a DDoS attack.

    Thanked by 1jsg
  • @NetPIMP said:
    he must be on some jank fuckass vpn ... I've never gotten any kind of challenge reading articles on phoronix ... not domestically, not even rawdoggin' shithole resort wifi in mexico... ublock origin helps, maybe - but then again, I'm usually on a phone so, who knows... this place is still a cesspool, lol

    Just one period is sufficient. Three periods is doing it wrong.

  • NetPIMPNetPIMP Member
    edited October 2025

    @TimboJones said:
    Just one period is sufficient. Three periods is doing it wrong.

    you seem like the type of guy who beats the shit out of his wife after taking tylenol ...

    Thanked by 1jsg
  • @stefeman said:
    This also means, that the kernel is capable of sending outgoing floods better. Attackers benefit just as much.

    Probably limited by the pipe size already. Meaning, if they could saturate a gigabit link already, this just reduces CPU usage to send same amount of traffic.

    Thanked by 1beermachine
  • @NetPIMP said:

    @TimboJones said:
    Just one period is sufficient. Three periods is doing it wrong.

    you seem like the type of guy who beats the shit out of his wife after taking tylenol ...

    Wife beaters are known for basic grammar standards? If you say so. You must live in an extremely low IQ area.

    You seem like the kind of uneducated red neck douche wearing a wife beater t-shirt while making that nonsensical statement.

  • NetPIMPNetPIMP Member
    edited October 2025

    @TimboJones said:
    You seem like the kind of uneducated red neck douche wearing a wife beater t-shirt while making that nonsensical statement.

    whatever you say fuckface ... weird that you're so bored that you somehow get ragebaited by dots ... strange that some rando's grammar on the internet gets you so hot that you have to try to assert dominance on an internet forum... I'm sure your mom was proud of you before she died...

  • right now, @TimboJones is frantically typing up his reply ... make no mistake, my nonsensical comments have short-circuited the 3 remaining neurons that survived his mom's heroin and tylenol use while she was pregnant with him ... all he can do is come up with more cliche insults in response to my ridiculous insults, all while furiously beating off to the tentacle porn playing at full volume on his other monitor... almost there, timmeh... almost there...

  • itsTomHarperitsTomHarper Member, Megathread Squad
    edited October 2025

    Should have never made this thread.

  • c'mon, @TimboJones ... it's been 20 whole minutes ... lemme have it, man... tell me how terrible I am... how stupid I am... tell me how horrible my grammar is... tell me how I'm ruining your experience of the sacred forum ...

    C'MON ... WHAT ARE YOU WAITING FOR!?!?! UNLEASH YOUR RAGE AT ME MAN!!! YOU DIDN'T HOLD BACK IN THE OTHER THREADS!! SAY ALL THE MEAN THINGS SO I KNOW THAT YOU'RE HIGHER STATUS THAN ME!!!

    TELL ME I NEED MEDICATED, THAT MY GRAMMAR IS BAD, THAT I'M A HILLBILLY WHO DOESN'T HAVE GOOD READIN' SKILLS AND USES '...' TOO... MANY... TIMES...

    WHY ARE YOU HOLDING OUT ON ME TIMMEH!!?!?!???? ... I'M WAITING SO PATIENTLY MAN... DON'T QUIT ON ME NOW, BRO!!!

    TELL ME HOW MUCH BETTER THAN ME YOU ARE BECAUSE OF YOUR IMPECCABLE WRITING AND HIGH COMMENT COUNT AND GOOD ENGLISH SKILLS, TIMMY ...

    WE ALL NEED TO KNOW HOW MUCH COOLER YOU ARE THAN ANYONE ELSE HERE, ESPECIALLY ME... !!! THIS IS YOUR CHANCE TO SHOW US ALL... LETS GOOOOOO....

    WHERE THE HELL ARE YOU TIMMEH?!?!?!?

    Thanked by 1CloudHopper
  • jsgjsg Member, Resident Benchmarker
    edited October 2025

    @raindog308 said:

    @jsg said: They (phoronix) force a "accept or go through our cumbersome 'choices'" game on their readers (or more precisely victims), hence -> /ignored, not read.

    Strange...took me right to the article.

    The guts of the article are copy/pasted below. Or look at this archive.ph I created just now: https://archive.ph/6XkuA

    Thank you for that!

    But even with a nearly 50% improvement in handling UDP traffic...a single server cannot cope with a DDoS. This just requires a larger DDoS than before. Which isn't a bad thing by any means, but this is not the end of DDoS protection needs.

    WUT? Some (alleged I guess) linux kernel improvement does not stop all DDOS attacks?! If only one could have seen that!!!

    Article:

    "This series is the result of careful analysis of UDP stack, to optimize the receive side, especially when under one or several UDP sockets are receiving a DDOS attack.

    I have measured a 47 % increase of throughput when using IPv6 UDP packets with 120 bytes of payload, under DDOS.

    And what if the attackers, as they usually do, send IP4 packets? Strange to only check for one IP version and (as far as I can see) only one packet size (and btw one that not particularly well selected, but probably gives the best result for the author and his 'hurray"' message ...)

    16 cpus are receiving traffic targeting a single socket.

    Sense?

    ...
    1) First four patches are shrinking struct ipv6_pinfo size and reorganize fields to get more efficient TX path. They should also benefit TCP, by removing one cache line miss.

    Oops, they spilled the beans (re IPv6 only)
    Edit: WUT? again. Doesn't that guy know that 2 x 128 bits vs 2 x 32 bits makes absolutely no difference and actually only brings loads of advantages. Send some "IPv6 advocates" to that guy! And to the kernel team as well!
    (small hint: (particularly) L1 caches do fit 32 bits perfectly well while 128 bits very often needs 2 cache lines. And I know from experience that cache, in particular L1 and L2 often are more relevant for performance than CPU speed. Example: that's one of the reasons why the new Epyc leaves the new Xeon in the dust. source (one of quite few): chipsandcheese).

    [further details] ...

    Thanks again for your helpful "service"!

    And for that super-selective mainly nothingburger they force their reader to click accept. Thanks no.

    @stefeman said:
    This also means, that the kernel is capable of sending outgoing floods better. Attackers benefit just as much.

    WUT? So faster packet processing works both ways? Who could have known?

    @NetPIMP said:
    right now, @TimboJones is frantically typing up his reply ... make no mistake, my nonsensical comments have short-circuited the 3 remaining neurons that survived his mom's heroin and tylenol use while she was pregnant with him ... all he can do is come up with more cliche insults in response to my ridiculous insults, all while furiously beating off to the tentacle porn playing at full volume on his other monitor... almost there, timmeh... almost there...

    I'm certainly no friend of that asshole, but why bring his mother in? Actually she might be a perfectly fine woman.

    @itsTomHarper said:
    Should have never made this thread.

    What I wrote was in no way meant to somehow attack you! Just saying.

  • yo wut

  • @jsg said:

    @NetPIMP said:
    right now, @TimboJones is frantically typing up his reply ... make no mistake, my nonsensical comments have short-circuited the 3 remaining neurons that survived his mom's heroin and tylenol use while she was pregnant with him ... all he can do is come up with more cliche insults in response to my ridiculous insults, all while furiously beating off to the tentacle porn playing at full volume on his other monitor... almost there, timmeh... almost there...

    I'm certainly no friend of that asshole, but why bring his mother in? Actually she might be a perfectly fine woman.

    You're right ... tho in all reality, the only thing that would make this clownshow better is if HIS ACTUAL MOM came on here to crash out at me, too, for my dogshit F-tier communication skills. Man, that'd be a hell of a read with my morning coffee. I hope something like that happens... I can't wait.

    ... ... ...

    Thanked by 1jsg
  • @NetPIMP said:

    @jsg said:

    @NetPIMP said:
    right now, @TimboJones is frantically typing up his reply ... make no mistake, my nonsensical comments have short-circuited the 3 remaining neurons that survived his mom's heroin and tylenol use while she was pregnant with him ... all he can do is come up with more cliche insults in response to my ridiculous insults, all while furiously beating off to the tentacle porn playing at full volume on his other monitor... almost there, timmeh... almost there...

    I'm certainly no friend of that asshole, but why bring his mother in? Actually she might be a perfectly fine woman.

    You're right ... tho in all reality, the only thing that would make this clownshow better is if HIS ACTUAL MOM came on here to crash out at me, too, for my dogshit F-tier communication skills. Man, that'd be a hell of a read with my morning coffee. I hope something like that happens... I can't wait.

    ... ... ...

    He just triggered a response and left. And you my friend, stupidly waiting for a reply, the action which he wanted you to do..... So you are falling on the trap and unless you have some other privileges, your posts may attract warnings from mods.

    Thanked by 1webcraft
  • @itachikonoha said:

    He just triggered a response and left. And you my friend, stupidly waiting for a reply, the action which he wanted you to do..... So you are falling on the trap and unless you have some other privileges, your posts may attract warnings from mods.

    Thanks for explaining ... such a valuable insight. If I get a warning from the mods, my life will have less meaning.

  • Somehow this thread is leading nowhere

    Thread closed

This discussion has been closed.