[PATCH] Fixed transparent proxy destination lookup on FreeBSD
FreeBSD has two mutually exclusive firewalls: ipfw(8) and pf(8). Currenlty only pf(8) is supported for transparent proxy lookups of destination addresses.
This patch adds support for ipfw(8). It first checks if /dev/pf exists. If it does, it assumes pf(8) is in use. Otherwise it assumes ipfw(8) is used.
ipfw(8) is actually native on FreeBSD and much more popular than pf(8).
Patch is against tor-0.2.3.25_1