I just installed APF on my new server, and I am having a pretty big problem with it. I tried to block all ports and see if I could still SSH, FTP, etc (ofcourse dev mode), and it didn't stop anything. I looked at the log and here it is:
Jul 29 04:02:08 solaris apf(2382): flushing & zeroing chain policies
Jul 29 04:02:08 solaris apf(2382): firewall offline
Jul 29 04:02:08 solaris apf(2457): activating firewall
Jul 29 04:02:08 solaris apf(2493): determined (IN_IF) eth1 has address 67.18.215.148
Jul 29 04:02:08 solaris apf(2493): determined (OUT_IF) eth1 has address 67.18.215.148
Jul 29 04:02:08 solaris apf(2493): loading sysctl.rules
Jul 29 04:02:08 solaris apf(2493): setting sysctl_tcp enabled.
Jul 29 04:02:08 solaris apf(2493): setting sysctl_syn enabled.
Jul 29 04:02:08 solaris apf(2493): loading preroute.rules
Jul 29 04:02:08 solaris apf(2493): loading allow_hosts.rules
Jul 29 04:02:08 solaris apf(2493): allow all to/from 12.96.160/24
Jul 29 04:02:08 solaris apf(2493): allow all to/from 67.19.0.29
Jul 29 04:02:08 solaris apf(2493): loading bt.rules
Jul 29 04:02:08 solaris apf(2493): loading log.rules
Jul 29 04:02:08 solaris apf(2493): virtual net subsystem disabled.
Jul 29 04:02:09 solaris apf(2493): loading main.rules
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 20 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 21 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 22 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 24 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 25 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 53 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 80 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 110 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 143 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 443 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 465 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 993 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 995 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 2083 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 2086 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 2087 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 2096 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 8000:8003 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 8443 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 9000 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 9999 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 10000 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 14534 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 20045 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 35000:35999 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound tcp port 51234 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 20 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 21 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 24 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 53 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 1040 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 1716 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 1717 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 1718 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 8767:8773 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 8777 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 9000 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound udp port 27900 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 3 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 5 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 11 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 0 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 30 on 0/0
Jul 29 04:02:09 solaris apf(2493): opening inbound icmp type 8 on 0/0
Jul 29 04:02:09 solaris apf(2493): default (egress) output accept
Jul 29 04:02:09 solaris apf(2493): default (ingress) input drop
Jul 29 04:02:09 solaris apf(2457): firewall initalized
Jul 29 15:41:32 solaris apf(7979): flushing & zeroing chain policies
Jul 29 15:41:32 solaris apf(7979): firewall offline
Jul 29 15:41:38 solaris apf(8007): flushing & zeroing chain policies
Jul 29 15:41:38 solaris apf(8007): firewall offline
Jul 29 15:41:42 solaris apf(8035): activating firewall
Jul 29 15:41:42 solaris apf(8070): determined (IN_IF) eth1 has address 67.18.215.148
Jul 29 15:41:42 solaris apf(8070): determined (OUT_IF) eth1 has address 67.18.215.148
Jul 29 15:41:42 solaris apf(8070): loading sysctl.rules
Jul 29 15:41:42 solaris apf(8070): setting sysctl_tcp enabled.
Jul 29 15:41:42 solaris apf(8070): setting sysctl_syn enabled.
Jul 29 15:41:42 solaris apf(8070): loading preroute.rules
Jul 29 15:41:42 solaris apf(8070): loading allow_hosts.rules
Jul 29 15:41:42 solaris apf(8070): allow all to/from 12.96.160/24
Jul 29 15:41:42 solaris apf(8070): allow all to/from 67.19.0.29
Jul 29 15:41:43 solaris apf(8070): loading bt.rules
Jul 29 15:41:43 solaris apf(8070): loading log.rules
Jul 29 15:41:43 solaris apf(8070): virtual net subsystem disabled.
Jul 29 15:41:43 solaris apf(8070): loading main.rules
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 20 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 21 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 22 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 24 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 25 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 53 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 80 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 110 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 143 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 443 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 465 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 993 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 995 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 2083 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 2086 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 2087 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 2096 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 8000:8003 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 8443 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 9000 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 9999 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 10000 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 14534 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 20045 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 35000:35999 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound tcp port 51234 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 20 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 21 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 24 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 53 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 1040 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 1716 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 1717 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 1718 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 8767:8773 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 8777 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 9000 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound udp port 27900 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound icmp type 3 on 0/0
Jul 29 15:41:43 solaris apf(8070): opening inbound icmp type 5 on 0/0
Jul 29 15:41:44 solaris apf(8070): opening inbound icmp type 11 on 0/0
Jul 29 15:41:44 solaris apf(8070): opening inbound icmp type 0 on 0/0
Jul 29 15:41:44 solaris apf(8070): opening inbound icmp type 30 on 0/0
Jul 29 15:41:44 solaris apf(8070): opening inbound icmp type 8 on 0/0
Jul 29 15:41:44 solaris apf(8070): default (egress) output accept
Jul 29 15:41:44 solaris apf(8070): default (ingress) input drop
Jul 29 15:41:44 solaris apf(8035): firewall initalized
At the end of each of the port open lines, it has on 0/0. On my old server, instead it was on <ip address> and opens up each port on each IP seperately.

What could be causing this problem?