News for hackers. Stuff that matters.

cmbaus

Re:Old Geek Jobs: fighting against ageism in the industry on Thursday September 15, 2016 @12:13PM (#12507357)
Like there are no bigots in NH. When I lived in Central NH I had a long hair and almost got run out of town for being a "fucking long haired hippie"
Re:Why Some Dead OSes Still Matter (2007) [pdf] on Tuesday August 25, 2015 @01:37AM (#10114769)
What political factors are you referring to? I think Linux took off because it was easily accessible and widely available, and Linus made a lot of pragmatic choices.

I remember in the 90s how awesome it seemed to get a *nix system for free with a book.

Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @07:57PM (#10107251)
But there is a radiator at the front of most air-cooled Porsches; although it cools oil instead of water.

See: http://www.pelicanparts.com/techarticles/911_carrera_oil_coo...

Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @07:50PM (#10107233)
I do think there is a subculture of "hip" motorheads. Look at Zeitgeist (bar in SF) for instance. I think Magnus is someone who qualifies as being able to push fashion trends.
Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @07:45PM (#10107215)
I'm wondering if early Boxsters and 996s might be good values now because there are fixes for the IMS bearing issue on the market. I've read it can be done with a clutch job.
Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @07:35PM (#10107176)
For me it was a Subaru STI. I enjoyed it more in almost every way than the Porsche, other than how it looked. My father has a nice 90s Miyata. I've driven it quite a bit and for the money it is a pretty well thought out and fun vehicle. He's got less into the whole car than I have in my Porsche engine and trans.
Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @07:03PM (#10107069)
Magnus's collection is beautiful and I love his aesthetic, but I can't help but think it is the ultra wealthy buyers who own a dozen 911s who are driving up the prices into the stratosphere. It might be sour grapes, but honestly, how many Porsche's does one guy need?
Re:Porsche 911: 52 years of staying true to its roots on Sunday August 23, 2015 @06:30PM (#10106983)
I have a vintage 911. It is fun as hell when the thing is running right, but it is never running right. Even the years they call "bullet proof" don't hold a candle to the reliability of a modern Japanese sports car (which I've also owned).

When you start to pull the car apart you see all the hacks that had to be done to modernize the car to keep the original chassis design alive. My favorite is the air conditioning. It is obvious that air conditioning was not part of the original design. Another favorite is the oil cooler under the front fender. There are oil lines that go all the way from the back of the car to the front just for cooling. The original car didn't have them because the engines were much smaller and ran cooler.

If anyone is considering buying an air cooled 911, I'd say unless you've cashed out a bunch of stock that is blowing a hole in your pocket, stay away. With the current cost of parts any common problem with the cars could easily be a $10k fix. Ask me how I know.

I like the idea. Are the shoes welted?
Re:YubiKey – Making secure login easy on Wednesday June 17, 2015 @07:58PM (#9736009)
This looks interesting, but I don't totally understand how it works. How is the key changed every time on the server? It looks like it requires server side support.
Re:How Harry's Bought a German Razor Factory on Sunday June 14, 2015 @10:20PM (#9717162)
What kind of blades does the company make? Are they multi-blade?

Harry's is a great idea, but I've been happy with double edge razors for a while now: http://baus.net/shave-kit

This is a new idea. Wondering where I should take it next. I would appreciate feedback.
Re:Proxygen, Facebook's C++ HTTP Framework on Wednesday November 05, 2014 @07:25PM (#8565133)
That's interesting. I had been working something similar years ago. I eventually open sourced it, but discontinued work on it. Http://github.com/baus/swithflow

I'm surprised more systems don't take this approach of doing more work in L7 proxies.

Re:Clib: Package manager for C on Sunday May 18, 2014 @02:51PM (#7763910)
This is a good idea. I could see this changing C development for the better.
Re:Chicago’s Last Tannery on Tuesday May 06, 2014 @10:11PM (#7708269)
Cordovan is not a fussy material. It is meant to be worn hard, everyday.
Re:Chicago’s Last Tannery on Tuesday May 06, 2014 @10:01PM (#7708239)
I'm a big fan of horween and alden. If you care about quality and craftsmanship, then I think the products are worth the price (even if it has gone up a lot in the past few years). It is possible to wear out cordovan, but you really have to work at it. Horween shell is an awesome material.
Re:Working simultaneously vs. waiting simultaneously on Friday May 02, 2014 @05:04PM (#7688143)
This is a really good way to put this distinction. Most applications use threads because they are waiting on I/O, not because they are concurrently processing.
Re:“var functionName” vs “function functionName” on Wednesday April 30, 2014 @02:57PM (#7675519)
I'm using asoftmurmur now. I think it is the best noise generator out there. Who cares what the code looks like?
Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @05:21PM (#7575701)
> OpenSSL has an abstraction layer over malloc, which uses an internal stack-based free-list, and which it uses for all allocations

To be clear, this is NOT TRUE. The freelist is used for some allocations, but not in the patch in point. Here is the patch that addresses the bug: https://github.com/openssl/openssl/commit/731f431497f463f3a2...

It clearly uses OPENSSL_Malloc which is basically the equivalent of calling malloc.

https://github.com/openssl/openssl/commit/731f431497f463f3a2...

Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @04:30PM (#7575413)
Here's where the freelist operations are defined: https://github.com/openssl/openssl/blob/21e0c1d23afff48601eb...

But where are they called from?

Update: To answer my own question the freelist is used in

    ssl3_setup_read_buffer()
    ssl3_release_read_buffer()
    ssl3_setup_writer_buffer()
    ssl3_release_write_buffer()
This is not the same as universally replacing the allocator.
Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @04:00PM (#7575215)
I believe there is some confusion (at least I was confused until I looked at the code) that the library had universally replaced malloc with another allocator. While the library allows users to provide their own allocator, it is not done by default.

The code in question does not use the freelist implementation. It goes directly to OPENSSL_Malloc which is basically malloc.

What happened was the exploit allowed remote clients to read beyond the size of the buffer allocated by OPENSSL_Malloc. There just happened to be data from the freelist sitting next to it.

Even if the freelist implementation wasn't used, that wouldn't have prevented this exploit. There would just be something else sitting there in memory, but we can't predict what that would have been.

Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @03:18PM (#7574893)
There is a big discussion going on that could be misleading.

To clarify, are we calling the freelist implementation, which the heartbeat code does not use, an allocator?

Update: I agree with the author that it is wrong to point the blame at the freelist implementation. If every C application that manages the reuse of commonly used data structures is doing wrong, then pretty much every modern server application will have to be re-written -- for instance Apache [1].

C is fast and portable and binds to just about any language which is why OPENSSL is in such wide use. Maybe it would be better to use more 'secure' languages like Go, but if OPENSSL was written in Go, how many applications would use it? I'd say almost none.

[1] https://apr.apache.org/docs/apr/1.5/group__apr__pools.html

Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @02:53PM (#7574714)
> So the focus on the self-written allocator seems to get a little biased in this discussion.

I feel like I'm missing something here. Where are the self written allocators? This article states that the OPENSSL_Malloc is simply malloc by default.

Re:My heart is ok, but my eyes are bleeding on Friday April 11, 2014 @02:22PM (#7574542)
There was some discussion here[1] that OpenSSL had implemented their own allocators, but doesn't seem to be the case. As this article points out, a quick review of the code will show that OPENSSL_Malloc() is simply malloc by default[2].

[1] https://news.ycombinator.com/item?id=7565064

[2] https://github.com/openssl/openssl/blob/a898936218bc279b5d7c...

Re:Using Heartbleed as a starting point on Thursday April 10, 2014 @01:43PM (#7568263)
Regarding point #5. If the performance of OpenSSL was terrible we would not be having this discussion. This is system level component which must pass all encrypted traffic.

OpenSSL is ubiquitous and runs everywhere including phones and low powered VPSs that everyone is using. If OpenSSL burned RAM and CPU cycles for the sake of correctness, alternatives would appear. The hard part about developing a library like OpenSSL is it has to be fast AND secure.

Re:Add heartbeat extension bounds check on Wednesday April 09, 2014 @03:11AM (#7558050)
I'm sort of surprised an allocation occurs every time the heartbeat is sent. That is a lot of trips to the heap.

I'm not very familiar with how TLS heartbeats are implemented, but I wonder if the buffer could have just been alloc'd once when the connection was created.

Older »