]> git.ipfire.org Git - thirdparty/tor.git/commit
Refactor tor to support the new tor-fw-helper protocol.
authorGeorge Kadianakis <desnacked@riseup.net>
Thu, 7 Jun 2012 16:16:18 +0000 (19:16 +0300)
committerGeorge Kadianakis <desnacked@riseup.net>
Wed, 5 Sep 2012 15:04:34 +0000 (18:04 +0300)
commitcd05f35d2cdf50d31108428cf5c19549d468dbc0
treedc9379c4e24762af4d5fda709a145adf2b6a6dfe
parent64b2a64310a66a3e22403917ecdef38263ba0483
Refactor tor to support the new tor-fw-helper protocol.

Add handle_fw_helper_output(), a function responsible for parsing the
output of tor-fw-helper. Refactor tor_check_port_forwarding() and
run_scheduled_events() accordingly too.

We now issue warnings when we get control output from tor-fw-helper,
and we log the verbose output of tor-fw-helper in LOG_INFO.

Conflicts:
src/common/util.c
src/common/util.c
src/common/util.h
src/or/main.c