Skip to content

New Libevent Releases

Nick just announced two new libevent releases. Here is his summary.

Libevent 1.4.12-stable:
You can find the source in the usual place:

http://monkey.org/~provos/libevent-1.4.12-stable.tar.gz

This is a bugfix-only release, and some of the bugs were kind of nasty. I'd recommend that you upgrade, especially if you are writing code that uses epoll or evdns.

Changes in 1.4.12-stable:
  • Try to contain degree of failure when running on a win32 version so heavily firewalled that we can't fake a socketpair.
  • Fix an obscure timing-dependent, allocator-dependent crash in the evdns code.
  • Use _VA_ARGS_ syntax for varargs macros in event_rpcgen when compiler is not GCC.
  • Activate fd events in a pseudorandom order with O(N) backends, so that we don't systematically favor low fds (select) or earlier-added fds (poll, win32).
  • Fix another pair of fencepost bugs in epoll.c. [Patch from Adam Langley.]
  • Do not break evdns connections to nameservers when our IP changes.
  • Set truncated flag correctly in evdns server replies.
  • Disable strict aliasing with GCC: our code is not compliant with it.

Libevent-2.0.2-alpha:
The first alpha release in the long-promised Libevent 2.0 series is finally out. You can download Libevent 2.0.2-alpha from:

http://monkey.org/~provos/libevent-2.0.2-alpha.tar.gz

This is an alpha release. Libevent 2.0 is not finished. There will be bugs, and we make no promises about the stability of any APIs introduced in the 2.0.x-alpha releases. When you find bugs, please let us know.

Libevent 2.0 is intended to be backward compatible with the Libevent 1.4 APIs[*]. Any program that worked with Libevent 1.4 should still work with Libevent 2.0, unless we screwed up. Please test your programs when you have a chance, so that if we did screw up, we can notice soon.
[*] Unless you were messing around with the internals of internal structures.

This release adds many new features to the previous alpha release, and fixes many bugs. See the ChangeLog for full details. Highlights include:
  • evdns is now threadsafe, with locking support
  • There's an evconnlistener type that you can use to abstract cross-platform differences in accepting connections.
  • The evbuffer interface (and therefore bufferevents) now supports zero-copy much better.
  • About a zillion fixes for tricky bugs in the new Libevent 2.0.1-alpha code.

Special thanks to everybody who helped find bugs and improve the code, especially James Mansion, Zack Weinberg, and Joachim Bauch.
Categories: Libevent, News
Defined tags for this entry: ,

Aikido in Hamburg

Yesterday, I managed to practice Aikido in Hamburg for the first time in almost twelve years. The dojo at Charlottenstra├če was beautiful with windows to the outside and plenty of light. The training was interesting and very enjoyable. I even managed to practice with a few folks from university times. Next week, it's back to the US and Aikido practice in Mountain View.
Categories: News
Defined tags for this entry:

DirectShow Vulnerability Exploited Everywhere

The DirectShow vulnerabilities are being exploited all over the place now. Unfortunately, the second vulnerability in DirectShow is still unpatched and exploit sites seem to be jumping on this. There is even some evidence that it's possible to successfully exploit the vulnerability without even using JavaScript. New exploit domains are popping after every day. DirectShow now seems to be what Flash and PDF were earlier in the year.
Categories: Malware, Security, SpyBye
Defined tags for this entry: , ,

Finn (1999 - 2009)

Finn (1999 - 2009)
Categories: News

Testing the Zowada Forced-Air Manifold

I had time to forge down the 2in pipe for the nozzle today which completed everything needed for the burner. Here is a video of the first test run. Propane and air can be mixed separately via the gate valves which should allow precise control over the atmosphere in the forge.
Categories: Hacking
Defined tags for this entry: ,

The Village Blacksmith

The landlord visited today while I was working on some bolt jaw tongs. When he saw me blacksmithing, he told me that he used to turn the crank blower for a blacksmith when he was a boy and recited the following poem:
Under a spreading chestnut tree
The village smithy stands;
The smith, a mighty man is he,
With large and sinewy hands;
And the muscles of his brawny arms
Are strong as iron bands.

His hair is crisp, and black, and long,
His face is like the tan;
His brow is wet with honest sweat,
He earns whate'er he can,
And looks the whole world in the face,
For he owes not any man.
Continue reading "The Village Blacksmith"
Categories: Hacking