Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
Usually, when configuring the firewall, only the ports on which a service is running are left open and the rest of the ports are closed. For example, they open ports 80 and 443 for Apache and close the other ports.
When a service is not running on a port, why should that port be closed?
This is sort of like the "Principle of Least Privilege." Basically: computers are really awful at knowing when to say "yes," but terrific at saying "no!"
Start by locking every single one of the gates that lead into the pastures where your prize horses are being kept. Then, very-specifically unlock only the handful of gates which must be open, always knowing precisely why you did so.
Also(!) explore additional technologies such as OpenVPN, which you can use to create a "moat" around your entire installation.
Last edited by sundialsvcs; 02-15-2024 at 07:37 PM.
So that if something misbehaves, or malware gets past and wants to open a port, you are still protected
Thinking of the time I illegally torrented Windows software and ran it, then later found that my computer was running a TinyFTP server. Good thing the FTP port was closed.
And if you want to judge me for my bad judgement: it was how we lived those days.
Thinking of the time I illegally torrented Windows software and ran it, then later found that my computer was running a TinyFTP server. Good thing the FTP port was closed.
And if you want to judge me for my bad judgement: it was how we lived those days.
Hello,
Thank you so much for your reply.
Are you saying that a malware has installed TinyFTP on your system via torrent?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.