I don't know if there are different ways to achieve your goal, but an easy way is to have two different instances of squid (one listening on port 3128, and the other listening on port 3129), each pointing to its own squidguard, with its own filtering/redirecting policies.
It is not quite "ideal", but it is practical: it works. If there are simpler ways, I'm glad to hear. Sincerely, Giancarlo Favero -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di CRX Driver Inviato: luned� 9 agosto 2004 17.08 A: [EMAIL PROTECTED] Oggetto: Source port behaviour changes I am preparing to upgrade our Linux firewall/cache. Have decided to continue to use the most excellent Squid for caching. Have also decided to try and use squidGuard as the standard redirector, since it seems well supported. Now for the problem. I have the need for rules in squidGuard to act differently when the web requests are coming in from a different source port. For example, if requests are coming from taylor:3128 I want to filter porn, adult, ads, and limit to approved sites only. If requests are coming from taylor:3129 I want to filter porn, adult, ads, and allow everything else. Taylor is a large multiuser system- so almost all web requests for the facility come from the same IP address, taylor. After hours of looking at config files, FAQ's, and docs, I give up. I don't think it is possible. Ideally, I would want to run one squid and two squidguards. The squid would call the appropriate squidgauard depending on the source request port. Does anyone know if that is possible? -- /-------------------------------------------------------------------\ | Mark A. Davis Norfolk, VA; EDT (757)-461-5001x431 | | Director of Information Systems & Commun, www.himss.org | | Lake Taylor Transitional Care Hospital www.laketaylor.org | | Adjunct Linux Prof., ITT Technical Institute www.itt-tech.edu | | Charter Member, TideWater Unix User's Group www.twuug.org | \-------------------------------------------------------------------/ _________________________________________________________________ Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx
