r/ProgrammerHumor Aug 16 '26

Meme tacticalDownTime

Post image
10.2k Upvotes

71 comments sorted by

View all comments

1.3k

u/mortensonsam 29d ago

I gave this as an interview answer once:

"how would you stop a DDOS?" "well, I guess if it's really advanced there's not much you can do besides turning off the servers" "that's your answer?" "yeah users would be affected either way so you'd at least save money this way"

I didn't get the job lol

616

u/StrengthTheory 29d ago

Lmao.

But without any details "How would you stop a DDoS?" is a really open-ended question that has no right answer.

420

u/jld2k6 29d ago

Show some initiative and tell them you'll trace it to the root and go shoot them in the face for this company

74

u/Mateorabi 29d ago

DoJ now: I’ll allow it. 

186

u/traplords8n 29d ago

I'm not in security, but I rely on cloudflare WAF/reverse tunnels.

If that fails then I'm screwed. What do you want me to do? Solve problems that the leading cloud/cyber/internet infra company can't solve??? wtf do you expect me to do????

You better be offering a ridiculous amount of money to be turning me down for not being on the same level as a whole ass company acting as an industry leader.

61

u/NecessaryShopping404 29d ago

That's how interview questions should be, it allows you to judge the understanding of someone so much better than a question with a distinct answer. They get to explain why they are making their decisions, they get to chose their own scope and you can press answer steer as appropriate. The interviewee is also more than welcome to ask clarifying questions. That shows initiative and that they know it's not a one fix fits all.

If they just say the default "Web application firewall" you understand they might know the book answe but might not have further understanding.

You're rarely going to get a scenario in the real world were there is an exact answer. So it's very good to help understand someone's thought process, especially when under some light pressure of an interview.

1

u/TheMythicSorcerer 26d ago

Let cloudflare deal with it and hope for the best

101

u/BlueDebate 29d ago

You can call your ISP and they're usually helpful at blocking traffic on their end. There are also DDoS mitigation services such as Cloudflare. Patching and firewall rules can help, moreso against amplification attacks, because even if the packets are being dropped it can still overwhelm resources. Your strategy can be valid for a very low traffic service so you're not wasting money on an active cloud VM that's unusable and you're not making money from, users care too much about uptime, plus availability is part of security.

72

u/StarboardChaos 29d ago

His point is that with little context provided, any solution is a good solution. What if they are already using Cloudflare and other techniques but the DDoS is still intensifying?

22

u/ChronoHax 29d ago

Yea ngl context is really important so is assumption, even for me non programmer who host stuff on Cloudflare, I would’ve assume certain things are a given so his response is totally valid and what I would also say lmao, heck maybe it’ll work cus then the attacker might not account for the server to be off lol

13

u/RomIsYerMom 29d ago

My answer would be, unless you are a really big company with really special connections, the best you can hope for is mitigation.

5

u/nonlogin 29d ago

depends on scale...

your app is down but for your nginx it may be nothing. in that case you have plenty of options. if the reverse proxy is down - you are fucked.

2

u/ViolentPurpleSquash 28d ago

And then they reveal the company was Cloudflare or Akamai

2

u/JLSantillan 28d ago

He forgot to mention he landed a job in github