Hi, I don't know if I'm hitting a bug or I'm missing something. I'm
using 7.2 (ZEN), enabled passthrough and configured it like this:
[root@srvpf ~]# grep ^passt /usr/local/pf/conf/pf.conf
passthrough=enabled
passthroughs=*.facebook.com,*.fbcdn.net,*.akamaihd.net,portquiz.net:tcp:8080
Notice that the last one has a port defined. Unfortunetely the only
ports opened are 80 and 443:
[root@srvpf ~]# ipset list pfsession_passthrough
Name: pfsession_passthrough
Type: hash:ip,port
Revision: 2
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 16592
References: 2
Members:
178.33.250.62,tcp:80
178.33.250.62,tcp:443
Where 178.33.250.62 is the ip address of portquiz.net
This is a log snippet of pfdns in TRACE mode
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) DEBUG: [mac:[undef]] pfdns:
caught SIGTERM - terminating (main::normal_sighandler)
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) DEBUG: [mac:[undef]] pfdns:
caught SIGTERM - terminating (main::normal_sighandler)
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) DEBUG: [mac:[undef]] pfdns:
caught SIGTERM - terminating (main::normal_sighandler)
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) DEBUG: [mac:[undef]] pfdns:
caught SIGTERM - terminating (main::normal_sighandler)
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) DEBUG: [mac:[undef]] pfdns:
caught SIGTERM - terminating (main::normal_sighandler)
Aug 8 17:04:15 srvpf pfdns: pfdns(3121) INFO: [mac:[undef]] stopping
pfdns (main::END)
Aug 8 17:04:23 srvpf pfdns: pfdns(4628) DEBUG: [mac:[undef]] invalid
IP: from __ANON__ (pf::util::valid_ip)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) TRACE: [mac:[undef]] Memory
configuration is still valid for key resource::SwitchTypesConfigured in
local cached_hash (pfconfig::cached::is_valid)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) DEBUG: [mac:[undef]] cache get
for namespace='configfiles', key='/usr/local/pf/conf/pf.conf',
cache='Redis:l1_cache', time='0ms': MISS (not in cache)
(CHI::Driver::_log_get_result)
Aug 8 17:04:25 srvpf pfdns: pfdns(4628) DEBUG: [mac:[undef]] cache get
for namespace='Default', key='HASH(0x3e4b210)', cache='RawMemory',
time='0ms': MISS (not in cache)