I know, "Who cares?" or "Great!" is my own response but my users have
other wishes that include msn.com and this one has me stumped.
I had a more complex pf rule set but now I'm using a simple rule set
based almost entirely on the one from the PF FAQ:
ext_if="em0" # External Public Interface
int_if="bge0" # Internal LAN Interface
tcp_services = "{ 22, 113 }"
udp_services = "{ domain, ntp }"
icmp_types = "{ echoreq, unreach }"
table <zombies> persist
set block-policy return
set loginterface $ext_if
set skip on { lo, tun }
scrub in no-df fragment reassemble
nat on $ext_if from !($ext_if) -> ($ext_if:0)
nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
rdr on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port 8021
block in log
pass out log keep state
anchor "ftp-proxy/*"
antispoof log quick for { lo $int_if }
block in log quick on $ext_if from <zombies> to any
pass in log quick on $ext_if proto tcp from any to ($ext_if) port ssh \
keep state (max-src-conn-rate 3/30, overload <zombies> flush global)
pass in log on $ext_if inet proto tcp from any to ($ext_if) port \
$tcp_services keep state
pass in log on $ext_if inet proto udp from any to ($ext_if) port \
$udp_services keep state
pass in log inet proto icmp all icmp-type $icmp_types keep state
pass in log quick on $int_if
I added all of the log lines so I could hopefully see what's going awry.
From the firewall itself, when I use lynx to try
http://www.msn.com
I get asked to accept about 5 cookies, which I accept and then a "HTTP
request sent; waiting for response." and that's it.
Watching pflog0 I see this:
May 20 09:59:58.339833 rule 1/(match) pass out on em0: 192.168.0.2.23294
> 205.128.93.51.53:[|domain]
May 20 09:59:58.548598 rule 1/(match) pass out on em0: 192.168.0.2.4281
> 207.68.173.76.80: [|tcp] (DF)
I don't ever see a return packet, and nothing is ever blocked as seen
from pflog0.
Thinking it is a scrub issue, I've tried scrub in, scrub in no-df, and
the combination listed above, with no difference.
Hopefully someone can provide me a cluestick before my msn deprived
users do something ugly--to me!
Thanks,
Jeff
| Sean | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation,pathname matching |
| Herbert Xu | Re: 2.6.23-rc4-mm1 |
| Miklos Szeredi | Re: [BUG] long freezes on thinkpad t60 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Matthieu Moy | Re: [RFC] Convert builin-mailinfo.c to use The Better String Library. |
| Guido Ostkamp | [PATCH] Fix Solaris Workshop Compiler issues |
| Shawn Pearce | Re: [RFC] Submodules in GIT |
| Imran M Yousuf | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Marco Peereboom | Re: Real men don't attack straw men |
| patrick keshishian | SMTP flood + spamdb |
| Andrés Delfino | Re: bcw(4) is gone |
| Tilman Schmidt | Re: 2.6.25-rc8: FTP transfer errors |
| Denys Fedoryshchenko | SFQ depth limit |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| high memory | 16 hours ago | Linux kernel |
| semaphore access speed | 19 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 20 hours ago | Linux kernel |
| Easter Eggs in windows XP | 23 hours ago | Windows |
| Shared swap partition | 1 day ago | Linux general |
| Root password | 1 day ago | Linux general |
| Where/when DNOTIFY is used? | 1 day ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 1 day ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 1 day ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
