shadow/shadow — Issue #29: Libevent compatibility broken in newer Tor versions
Author: robgjansen
Created: 2011-10-11 14:05:44+00:00
State: open
Labels: bug

New Tor (tested against 0.2.3.5-alpha) use new libevent config options that break scallion. In src/common/compat_libevent.c:

cfg = event_config_new()
event_base_new_with_config(cfg)

These are not intercepted by Shadow, and lead to evsig_init calls that fail while trying to create socketpair's. We should be able to intercept event_base_new_with_config(), ignore the config hints, and redirect to event_base_new().