A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
You can type !ref in this text area to quickly search our full set of tutorials, documentation &
marketplace offerings and insert the link!
i can't change my password on putty or others, when i changed my password the window was closed automatically but there's no change with my password.
OS: debian 7
Does not run due to low memory on a droplet with 2GB.
But swapon operation is not permitted here: "swapon: /swapfile: swapon failed: Operation not permitted"
Followed https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-18-04 to no avail - cannot enable swap in the last step.
What else can I do to enable swap, even if temporarily?
Is there a way to permanently disable THP (Transparent Huge Pages) on **debian 7 x64 guest** setting *transparent_hugepage_defrag=never* in order to calm down **mongodb** warnings on perfomance degrade connected with their use.
Have tried rc.local command and grub config kernel parameter with no luck. Think KVM settings override those of mine.
Can anyone tell me exactly how this rule would translate into UFW:
# Outbound UDP Flood protection in a user defined chain.
iptables -N udp-flood
iptables -A OUTPUT -p udp -j udp-flood
iptables -A udp-flood -p udp -m limit --limit 50/s -j RETURN
iptables -A udp-flood -j LOG --log-level 4 --log-prefix 'UDP-flood attempt: '
iptables -A udp-flood -j DROP
It is to prevent massive UDP flood attacks on our server. At the moment I have a rule that simply blocks all ports apart from some specific service ports I need open. However, this is too restrictive.
My current rule :
-A ufw-after-output -p udp -j DROP
Thanks for any help!