57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions
news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo) (\_/)
(='.'=)
(")_(")comment 9y ago · link · parent
- SELinux Enabled
- Sysctl tuning applied
- Inbound/Outbound/Forward iptables rules enabled
- ipset iptables rules enabled
- iptables intercept rules to route all ntp/dns over VPN
to VPS nodes.
- Unbound DNS overriding many spammy domains
- tinc vpn enabled to multiple VPS nodes.
-- Each VPS node load balancing to multiple datacenter open resolvers that
are NOT OpenDNS or Google.
- ip route blackhole about 20k bad networks from firehol on github
- syslog to internal host
- Surricata IDS logging to syslog
- tc cbq traffic shaping enabled
- haproxy L4 vips for sending select traffic to select squid proxies.
- power conditionor / ups enabled, one for router, one for cable modem.
Those are the basic things. My router is always Linux running on commodity hardware with dual gig interfaces for clear physical demarcation.comment 9y ago · link · parent
Nginx and Apache are about the same performance, assuming you are on 2.4.x and using the latest apr/apr-util/apr-iconv. The memory footprint is about the same and benchmarks are about the same.
Nginx still hard codes libc options that I have to undo in the Makefile each time to get the glibc hardening options enabled. (PIE, Full RELRO, stack protector and so on) I have not tested the last 3 or so releases, so maybe Maxim has resolved this?
I prefer Apache for anything CGI related, as the security is more tightly coupled to the webserver. With NGINX, I have to use another daemon that has it's own security settings, environment, etc.
comment 9y ago · link · parent
comment 9y ago · link · parent
[1] https://en.wikipedia.org/w/index.php?title=Covfefe&direction...
comment 9y ago · link · parent
comment 9y ago · link · parent
E-Cigs potentially saved my sons life. He grew up around smokers. I had no control over this. Now that he lives with me, I fully support the use of E-Cigs. He has almost stopped using E-Cigs and he has stopped smoking tar+tobacco cigarettes completely.
Traditional cigarettes for certain are carcinogens and there is no dispute they cause cancer and kill people.
comment 9y ago · link · parent
For years, you had billions of bacteria in your mouth, slowly disintegrating the enamel of your teeth and slowly burrowing cavities into your teeth. They consume the food you eat, then urinate acidic waste that destroys your teeth and gums. They do this so slowly that you don't even feel the acidic damage.
Then, one day, you use a very strong mouthwash that contains alcohol. The alcohol instantly kills billions of bacteria, all of whom urinate instantly all at the same time, in excruciatingly painful death. The acid level is so high that it causes a burning sensation in your mouth, you are like, "damn, this mouthwash burns, I'm not using this crap again!"
You saw the mouthwash as the bad guy. In reality, the bad guys were there all along.
comment 9y ago · link · parent
While the people that did this caused pain and cost to the industry, I am looking forward to them inducing more pain until the "health professionals" stop harming patients by being wreckless and cavalier with their patient data. The real patient harm has been occurring all along, you just didn't know about it until now.
Also, your analogies are off track.
comment 9y ago · link · parent
comment 9y ago · link · parent
There are way too many factors to generalize any proper response. If you are too close to the blast for the filtration in a car to be of use, you will probably be in a state of shock anyway, so just get in, drive away, go to the closest convenience store, help yourself to water, food, etc and drive away as fast as you can. Otherwise, if you are in a busy city, ya, yer pretty much out of luck.
Oh and this is just a guess, but save up on bottle caps.
comment 9y ago · link · parent
From there, for sure, the risk increases. I am not sure I trust DNSSEC to help me much. That said, I rotate through many local recursors at each location, so they have to rewrite my traffic right as it leaves my node. That is doable, but that isn't really what I am defending against. Anything I care about, I validate in a script and write into /etc/hosts.
You are correct, there are not that many recursors that support TLS.
Beyond that, things like software updates I don't trust DNS at all and certainly not public mirrors. I validate packages with GPG signatures. Even that is tricky, because chicken+egg, so I validate the GPG sigs from trusted sources.
On a funny side note, you would be surprised how many people rely on trusting GPG keys that are contained in a package, signed by those same keys, in the same repo.
comment 9y ago · link · parent
This isn't some rebellion against tech. I helped build the first GSM network in the United States long ago. I think that helped me dislike cell phones (in general) and distrust providers.
comment 9y ago · link · parent
comment 9y ago · link · parent
You could use the other github scripts that folks have linked for setting up the VPN. Then you would want to set up recursive DNS servers on your home router and VPS nodes. Then look into iptables mangle to intercept DNS, NTP, etc. HAProxy L4 vip on the router is an easy way to forward some web traffic to Squid running on multiple VPS nodes. Squid has an intercept mode you can use for any traffic you want to throw at it. Unbound DNS can override min-ttl and allows overriding partial or complete DNS zones for block some shenanigans. Calomel.org has some articles on some of these things.
It's probably even better if you research each step yourself so that adversaries have to work harder to generalize attacks around your configuration.
comment 9y ago · link · parent
[1] https://dev.ssllabs.com/ssltest/analyze.html?d=www.defcon.or...
comment 9y ago · link · parent
At a minimum, my ISP can not see or tamper with DNS requests. My VPS nodes are multi-purpose so it isn't really extra cost.
This also gives me the capability to intercept some of my traffic and route it over my VPN using a combination of haproxy and squid. I can do this by source PC, or by destination, or protocol, or any combination thereof.
For me, this has worked great for years and gives me a lot more flexibility, options and control over my data flows. If I want more privacy, I can use my existing tc cbq QoS and rate limited rsync's of random noise to hide some traffic patterns.