HNHacker News
TopNewBestAskShowJobs

erglkjahlkh

164 karma · joined October 24, 2014

submissionscomments
erglkjahlkh··on Security: OpenBSD vs. FreeBSD
Shipping a targeted policy is simply a matter of practicality. Linux has actual 3rd party applications, and forcing all the vendors to either ship with policies or let the applications fail to run correctly would be a kiss of death to the MAC system. That was actually tried in the early days of SELinux, and it did not go well.

In fact that is why you even nowadays see "SELinux must be disabled" in application manuals. The early SELinux iterations really broke all the applications, and many people never took a second look at the technology. 9/10 of the application vendors that recommend disabling SELinux really don't do anything that would hit a targeted policy - the SELinux is already practically disabled for them. They just destroy the protection for the other software in the system...

Most common tweaking tasks can be found from booleans, and extra tweaks are easy to accomplish the help of audit2allow. However it baffles me to notice that audit2allow is not part of the default installations. It is a life saver that makes finding out why SELinux doesn't allow something really fast and easy.

erglkjahlkh··on Interview: Lennart Poettering
He mentioned kernel, c libraries, and "all the tools". Well, kernel is in one repository. The (gnu) c library is in one repository. The tools, well the category of stuff like "ls" and "cat" is afaik in one repository. In similar manner, he seems to think that systemd should manage the set of most crucial processes of the base system.

I am not saying that he is correct, I am just interpreting!

erglkjahlkh··on Google discloses another Windows security issue after deadline exceeded
Then again, 90 days contains 2.5 of their fix cycles. If the vulnerability really is serious, and they can't fix it in that time line, they should exit the business.
erglkjahlkh··on Against DNSSEC
puts on his compliance hat

Many organizations are mandated (by statutes etc) to use elliptic curve based cryptography already. It is not because RSA is broken, but because the key sizes would have to be uneconomically large.

The key size requirements are picked based on the advancement rate of technology (mathematics, calculation power / price), and the time the data should stay protected. Many security related standards aim for several decades, and for RSA key sizes that does not look so good.

If the system is not already in wide usage, rolling out a major protocol that does not contain support for ECC at this time is a very, very bad choice. Many organizations have simply to disable it already because it violates the requirements. (Oddly I have seen being not encrypted not violate anything, because "that's the way DNS is"... Go figure)

erglkjahlkh··on Linux NFSv4.1 Performance Under a Microscope [pdf]
It seems I have some reading to do! I will check this out..
erglkjahlkh··on Linux NFSv4.1 Performance Under a Microscope [pdf]
That's too simple for specification. For instance: How much are you ready to pay for the performance in terms of usability, and what are the actual use cases?

For instance NFS is pretty poor if your use case is serving shared network directories for workstations (not really great with complex ACLs), or if you require proper authentication for the resources (the Achilles' heel of NFS - where's my kerberos support?!?!!). You might be better off with CIFS.

As the other comments already pointed out, there are several alternatives for several needs. Performance alone should not guide your selection.

erglkjahlkh··on Frameworks are for hacks, libraries for seeds
Or, what you are building requires somewhat complex components, but you'd rather focus on something else? Many frameworks have their own component libraries.

I'm not talking simple tooltips, I'm talking about real components. Sencha's tree.Panel comes first to my mind: http://docs.sencha.com/extjs/5.0/5.0.1-apidocs/#!/api/Ext.tr...

It has extremely powerful feature set (based on the other features of the framework) out of the box and you can very fast switch your focus on other things besides re-implementing the wheel.

I simply haven't found some of these things as simple libraries. They nearly always come within complete frameworks, because they have had to implement a lot of stuff that really just requires other features from frameworks. And, no, I'd rather not spend a year implementing that feature set.

erglkjahlkh··on IBM Launches Z13 Mainframe
I have participated in sales, and I did not want to get into hours long discussion (boring, and not really important) about what Power/AIX offers so I boiled it down for potential customers like this:

If you want the best with insane price level, buy into Power/AIX. If you are not really sure, please don't. You need to train administrators (with larger setups) - or prepare to shell in a lot of money, the hardware contains nasty licensing surprises, the hardware is rather expensive, and so on. When you get it running, it's insanely powerful indeed, and the platform itself nearly never screws up (if you tested properly for Monday parts), and the virtualization is insanely good in practice.

Some potential customers have bought Power/AIX, some not. The ones that did are still years after customers, and to my knowledge pretty happy. I believe IBM is actually gaining customers. Slowly, but they are. Those that made the choice knew what they got into, and are not going to change their views.

erglkjahlkh··on 151-byte static Linux binary in Rust
It is also bad in following dependencies, and links the whole libraries. The result is like spaghetti, import on library and half of the standard libraries come with it. Some optimizations have been already done to prevent that, but the work is going to be still in progress for several versions.
erglkjahlkh··on A plastic card for easy to remember strong passwords
In other words, this card is cryptographically nonsense.

On the other hand, nearly every attack against passwords is non-targeted, software trolling for matches with word lists and such. A user of qwertycard is paradoxically safe, especially as single password (from for instance hacked database) does not contain telltales of being generated by substitution cipher.

In order to be in danger someone would have to either do some mathematical analysis, someone should have already tools looking for substitution ciphers, or someone should set up some application (scripts, whatever) to look for substition ciphers and break them.

Now the crucial part: No one bothers. Typically almost 9/10 of the targets use the same "catdog123" password on every site. They will be used because it is less work.

Unless you are in a risk of targeted attacks, these cards actually can improve your overall security, even despite the flaw in logic. (Which could be mitigated by the way, there are several ways to that.) In other words, non-geeks can benefit from this. My mom could.

erglkjahlkh··on Snapdragon processors address mobile security with smartphone kill switch
What really scares is me is "combined with third party service provider support" part. That means it is not just you who has the capability to flip the switch.

Imagine someone breaking into service provider's database, acquiring all the keys. That couldn't surely happen, could it?

erglkjahlkh··on The future of wearable technology is not wearables – it's analysing the data
Usability wise, no one wants to strap on devices and carry them around. They must be non-noticeable to users, and require no active maintenance (for instance synchronizing data). We are still a long way from conveniently wearable computing, although I believe we will get there some day.
erglkjahlkh··on CSS changes that increased Reddit account creation by 200K yearly users
The ugly truth is, the reason for Reddit's popularity growth in long term is /r/gonewild and its children. It's so integral part of Reddit, not even the femi-nazi-caterpillartrack-crazies dare to even attempt SJW'ing it.
erglkjahlkh··on Last Call: HTTP2
Extremely light weight? It may be complex, but x509 is based on ASN.1 and one of the most compact and efficient way to represent and handle certificates.

There are so many tools supporting it properly, and many of them are extremely hard to change (especially HSMs) because there are actual dependencies, that I wouldn't bother.

The problems are mostly in SSL & TLS protocols, not in the certificates. We should get a new alternative that would be designed to be easily implementable, and it should get proper reference implementation (with proofs of correctness, which by the way are available for X509... That's the only part that is verifiable afaik).

erglkjahlkh··on F-35 stealth jet 'will not be able to fire its guns until 2019'
This. They had well defined, implemented, and tested technologies to support creating extremely bug free and working software. For some reason they decided to abandon all that previous work. I can not believe they were that inept, they must have done that on purpose.
erglkjahlkh··on Sony Reveals an Even Bigger Attack on the Internet – the MPAA Is Behind It
Hey a web site that informs me about the most efficient warez sites. How well thought of them to produce that for me!
erglkjahlkh··on Everyday hassles in Go
For one, it fails to handle memory fragmentation. The effect is that your application seems to grow and grow. It is not very common to cause real problems, but compression is something JVMs learned a long time ago. There are also afaik a few corner cases with stack, I've seen a few discussions about those on Stackoverflow lately.
erglkjahlkh··on Everyday hassles in Go
The majority of the programs do not really need to guarantee latency.

That being said, it is well known that Golang's present GC performs poorly. It presently fails to free memory in certain cases, and has pretty high overhead. There is work done on improving the GC to be fully concurrent, but that is still probably still 2-3 major versions away.

erglkjahlkh··on Everyday hassles in Go
While I understand your comment, I have to disagree.

Programming languages should be kind of boring, and support the average developers' work. That is why Haskell will ultimate fail and fade away - most of the developers on this planet are simply not skilled enough to touch any of that stuff. Attempting to add all Ninja concepts to a language will just lead to a massive failure.

Go does a very good job on forcing even the most average developers to reach surprisingly succinct and elegant solutions. However, the lack of generics really forces in some situations to either use the reflection or stop being very DRY or elegant. Go wouldn't have to implement full generics to fix that. Just adding something similar to what interfaces are to methods for variables would do, without the rest of the moving parts.

erglkjahlkh··on Inside the NSA's War on Internet Security
It is about economics. The attacks on crypto systems have complexities, and still at the end of the day they require things like raw calculation power. Could they break even single 16384-bit RSA key pair? Probably yes, but they wouldn't be doing anything else on that year. It would be simply way too uneconomical.

Presented by Spiegel are internal services that are designed on purpose to be more economical. They exploit more bad implementations. It doesn't really matter as long as the dirty tricks get the work done.

Also, NSA seems to troll for targets from the vicinity of their targets of interest. It is again more economical, and can be just as revealing. The risk there is that the broken target has nothing of use. The real movie style "let's break the encryption keys" stuff is done for sure targets when they get the extremely rare high value target on platter.

erglkjahlkh··on 1MB+ of HTTP overhead due to TowerData cookies
Thank you for good links. What is also somewhat scary is font enumeration. It is somewhat uncommon to find two computer with the exactly same set of installed fonts. I have noticed that especially on Windows platform many applications bundle their own fonts, and the resulting sets are very good for fingerprinting systems.
erglkjahlkh··on Show HN: Cvesync – Synchronizing new CVEs to issue management system
Just a fast hobby project for the holidays. The motivation being following:

Accidentally disregarding known information-security vulnerabilities and exposures may lead to dire consequences. Tracking CVEs reliably requires great amount of work. Cvesync assists in previous by synchronizing new CVEs to an issue management system. After that the workflow included within issue management system can assist in the analysis, mitigation, and patching.

erglkjahlkh··on Chernobyl’s Hot Mess, “the Elephant’s Foot,” Is Still Lethal (2013)
Also, the experiment's requirement lead into the operators disabling almost every single safety mechanism. The automated systems disallowed the actions they were trying to do, so they disconnected most important security measures.

Operating like that you can make even hydroelectric power station extremely deadly, and kill a lot of people.

erglkjahlkh··on Regin: Top-tier espionage tool enables stealthy surveillance
As are services like Whispersystems RedPhone...

Why bother cracking RedPhone when you can just trigger something remotely on the completely unaccredited radio chip, or the SIM, or the OS platform itself. A modern phone does not have one operating system, but 3-4 and they all can - after you crack one - ask services freely from others.

The whole architecture of cellphones is so broken that installing RedPhone and thinking someone with resources can't do anything about it is plain laughable. Yes, it drops casuals and non-targeted attacks. But targeted? Never.

erglkjahlkh··on Regin: Top-tier espionage tool enables stealthy surveillance
It's not supposed to really encrypt anything. It's an obfuscation method. It doesn't matter how "broken" it is, as long as anti-virus applications have no idea about how to "decrypt" it.

They might as well XOR'ed the data, but opted in for RC5 for some reason.

erglkjahlkh··on Systemd redux: The end of Linux
Unfortunately FreeBSD doesn't have very good MAC system. Capsicum and friends implement only ~10% of what SELinux offers. Also the virtualization is far more basic, and lacks tooling (it's like receiving a huge bag of Legos and instructions on how to build space shuttle).
erglkjahlkh··on OpenBSD 5.6
That is not Single-Sign-On, if you have to sign on several times. LDAP is NOT a replacement for Kerberos.

OAuth and alike might be, but when you work with internal users Kerberos is much much better. Also for web services because GSSAPI/spnego stuff just works.

By removing kerberos from base setup openBSD people have once more moved towards irrelevance outside their own closet setups. Kerberos is the only really working method you can use in corporate setups for large amounts of users and achieving SSO. When it's not in base setup, it's just easier to install any decent Linux distro, and skip openBSD. That as market placement decision was yet another major blunder from openBSD folks, and still they wonder why their donations have dried up the last a few years...

← PreviousPage 2 of 2