Scott Ullrich wrote:
Take a look at /etc/inc/filter.inc.   Search for squid.  It should be
pretty obvious once you see how we hook that in.

Thanks! I went through the code and have a small question.

Suppose if I turn transparency off in the squid web interface, does this rule gets deleted automatically ?

Also, rather than having the filter.inc hacked for each package, can pfsense core provide 4 (?) anchors for anchor, binat, nat and rdr, so that packages themselves can create subanchor inside them and manage the rules? I would hack the code to include some thing like


$natrules .=  "anchor package-anchor/*"
$natrules .=  "anchor package-rdr-anchor/*"
$natrules .=  "anchor package-nat-anchor/*"
$natrules .=  "anchor package-binat-anchor/*"

and from my package, I will add an anchor for havp inside package-rdr-anchor and add/delete my rules in them.

I am not an *that* familiar with pf, so I am not sure if this will work as 
intended.

raj


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to