[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam folder!


[Advertise on 4chan]


File: skeptical.jpg (2.05 MB, 4288x2848)
2.05 MB JPG
How do you secure a linux installation?

Is it just enable the firewall and encrypt your disk and use a password manager like bitwarden?

I know atomic distros are safe but I prefer standard distros.
>>
>>109521142
>bitwarden
nah
>>
>>109521142
you dont!
>>
>>109521142
secure from what? from who? these are the questions you must ask first.
>>
1. Keep web browser up to date. Use DNS adblocking, encrypt DNS. I recommend https://libredns.gr and use the noads.libredns.gr endpoint
2. Keep distro up to date
3. ufw is fine
4. Yes you should encrypt your disk. Use LUKS FDE

Recommendation for distro: Fedora. https://sysguides.com/fedora-36-with-luks-full-disk-encryption as a reference.
>>
>>109521755
how do i know custom dns isn't just more botnet. i dont turn on cloudflare firefox dns for a reason
>>
>>109522152
You can runit yourself if you're paranoid
>>
thinkpad bios password to boot is likely one of the best available
>>
File: 1785273516470836.jpg (789 KB, 1666x1249)
789 KB JPG
>>109521142
Containers (Docker is not a security container and hardly provides more security than bare metal), but this goes for Windows/Mac OS too, not just Linux. Linux specific securing includes the following:
>a firewall (ufw, firewalld)
>defensive in depth per program access definitions (ie, allowing connections only from certain subnets in your samba .conf)
>very restrictive unix permissions, including ACLs and other similar shit
>secure boot (it works on linux too, though afaik not as well as on windows)
>selinux or apparmor (these are like ACLs on steroids and provide much more powerful and more fine grained control over what software can access and what it can do)
>pen tests and intrusion tests, ie the red hat CIS benchmarks (unfortunately debian was left out the last time i looked)
>encryption at rest is good but it doesn't do anything when the data is not at rest, ie when the machine is on and the encrypted partition is mounted
snaps/flatpaks are kind of like a cheap selinux/apparnor, but they are not personally up to my security standards because so many of them are built by random third parties instead of the actual devs or your distro's maintainers

>>109521755
dns adblocking and encrypted (or recursive) dns is more of a router thing. if you want to be a schizo, get a router that can run openwrt and install either the og adblock package or adblock fast. then install unbound to get recursive dns that sidesteps your isp's. this is considerably more air tight than DoH iirc. you can also use opnsense to do the same thing, though you'd need an x86 machine to run it
>>
>>109521142
Just don't use the AUR and odds are you'll be fine
>>
>>109522942
>Dns adblocking and encrypted (or recursive) dns is more of a router thing. If you want to be a, get a router that can run openwrt and install either the og adblock package or adblock fast. Then install unbound to get recursive dns that sidesteps your isp's. This is considerably more air tight than DoH if I recall correctly.

It makes no difference whatsoever. It just saves you the trouble of doing it all your devices. If you want to do it on one or two devices, it literally makes zero difference. Just make sure your system-level DNS and your browser-level DNS are aligned (or maybe you want to use separate DNS servers for those two things, again, it makes no difference)
>>
File: 1484227563122.png (50 KB, 640x480)
50 KB PNG
>>109521142
>How do you secure a linux installation
You can't
>>
>>109522987
>edgy ms paint comic
not real advice
>>
>>109522979
unbound completely sidesteps third party dns servers and recursively queries the root servers. it caches the results on your device so that they're faster for next time. doh is better than nothing but unbound is definitely more secure, not to mention network wide (as you say) so you only have to configure it once for all devices (many of which may be iot devices, which you cannot tell to use doh). when you use a third party dns service, you are still putting yourself in the position of having to trust some randoms with your dns queries. unbound removes this and only queries the source
>>
File: file.png (124 KB, 1028x545)
124 KB PNG
>>109523022
He asked for how to setup a secure linux installation. Installing unbound is an advanced defence in depth thing that goes far beyond the threat models of most users. I gave him direct, simple, actionable steps that teach him directly how to solve the problem that he asked. You go into extreme DiD stuff that most people do not want or need. Encrypted DNS = Your ISP will not see the urls you are looking at (although it might leak in SNI, you should use v2ray for best security, ironically I see no mention of v2ray in your setup) - And not only that, I already told them that they could use their own dns server if they want. Also, shout-out to pic related, the guy who wrote the very good in depth guide that I linked earlier. You are a pedant.
>>
>>109523041
you said
>It makes no difference whatsoever. It just saves you the trouble of doing it all your devices
which is false, unbound is the industrial grade version of private dns because it doesn't rely on anyone but the root servers. that is not pedantry, that is an obvious and real difference
>v2ray
now you're just namedropping random privacy related projects. no shit using them makes you more secure. using tor makes you more secure. you talk about pedantry but then start rambling about random shit
>that pic and guide
full at rest encryption with snapper is basic shit and only protects you when the device is powered off. also, it's hilarious hard much harder it is to do that on fedora than it was on debian kek
>>
>>109523124
>Now you're just namedropping random privacy related projects. No using them makes you more secure. Using tor makes you more secure. You talk about pedantry but then start rambling about random shit
You are not being serious. This isn't amateur hour. In 2024, the Open Technology Fund paid a professional security firm (7ASecurity) to perform a full white-box penetration test on V2Ray.

4 senior auditors spent 32 workdays trying to break it.

The result: Zero "Critical" or "High" severity vulnerabilities were found. The only medium-level issues were minor fingerprint quirks in the Go programming language, which can be patched with a simple config tweak. The auditors even praised the code for being meticulously organized.

https://www.opentech.fund/security-safety-audits/v2ray-security-audit/

I am done engaging in this thread. You are a joke.
>>
>>109523158
Sorry, my userscript mangles links sometimes. I've gone ahead and disabled it for now.

https://www.opentech.fund/security-safety-audits/v2ray-security-audit/

Here is the working link. I said I was done engaging, and I am, but it's important to me that the working link be in the thread for anyone reading.
>>
>>109521142
>Shitwarden
>>
>>109523175
what's better?
>>
>>109521755
I'm new to dns things, but reading about dns encryption leads me to believe that it hides what sites you vist from your isp. Is there any downsides to doing this? Seems like no one would use a vpn if they could just encrypt their dns for free.
Pretty interesting stuff



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.