[LARTC] Firewall marks

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm new to this list, and I have some questions.
I'd like to be able to provide priorities for the web users in my network.
Web access is always done via Squid.

Excerpt from the "Linux 2.4 Advanced Routing HOWTO" (v0.0.3 $Date:
2000/04/01 13:27:51 $):
"9.1 The "fw" classifier
...
That's all there is to it! This is the (IMHO) easy way, the other ways are
I think harder to understand. Note that you can apply the full power of
the firewalling code with this classifier, including matching MAC
addresses, user IDs and anything else the firewall can match."

I'm interested in the above "user IDs". How can I set an "fw" classifier
so that it works by "tagging" the outgoing packets (that go to port 80,
anywhere) with the usernames of the Squid users? FYI, the user
authentication is handled by PAM (Squid's pam_auth); so basically the
users are the Linux machines' users (those who listed in /etc/passwd). Is
there any module to install? Scripts to write? 

Thanks in advance,
Oki




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux