Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

squid_session(8) [debian man page]

squid_session(8)					      System Manager's Manual						  squid_session(8)

NAME
squid_session - Squid session tracking external acl group helper SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a] DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time- out timer. Intended use is for displaying "terms of use" pages, ad popups etc. -t idletimeout (default 3600) Specifies the session idle timeout timer. -b dbpath Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time Squid restarts it's helpers (Squid restart or rotation of logs). -a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN, or terminated by the argument LOGOUT. Without this flag the helper automatically starts the session after the first request. EXAMPLE
Configuration example using the default automatic mode external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session acl session external session http_access deny !session deny_info http://your.server/bannerpage?url=%s session Then set up http://your.server/bannerpage to display a session startup page and then redirect the user back to the requested URL given in the url query parameter. AUTHOR
This helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net> QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>. REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid- cache.org> SEE ALSO
squid(8) Version 1.0 19 March 2006 squid_session(8)

Check Out this Related Man Page

squid_unix_group(8)					      System Manager's Manual					       squid_unix_group(8)

NAME
squid_unix_group - Squid UNIX Group external_acl helper SYNOPSIS
squid_unix_group [-g groupname] [-g groupname...] [-p] [-s] DESCRIPTION
This helper allows Squid to base access controls on users memberships in UNIX groups. -g groupname Specifies a group name to match. -p Also match the users primary group from /etc/passwd -s Strip NT domain name component from user names (/ or separated) EXAMPLES
This squid.conf example defines two Squid acls. usergroup1 matches users in group1, and usergroup2 matches users in group2 or group3 external_acl_type unix_group %LOGIN /usr/local/squid/libexec/squid_unix_group -p acl usergroup1 external unix_group group1 acl usergroup2 external unix_group group2 group3 NOTES
By default up to 11 groups can be matched in one acl (including commandline specified groups). This limit is defined by MAX_GROUPS in the source code. AUTHOR
This manual page was written by Henrik Nordstrom <hno@squid-cache.org> squid_unix_group is written by Rodrigo Campos <rodrigo@geekbunker.org> KNOWN ISSUES
Does not understand gid aliased groups sometimes used to work around groups size limitations. If you are using gid aliased groups then you must specify each alias by name. QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org> REPORTING BUGS
Report bugs or bug-fixes to Rodrigo Campos <rodrigo@geekbunker.org> or Squid Developers <squid-dev@squid-cache.org> SEE ALSO
group(5),passwd(5) Squid UNIX Group helper 12 August 2002 squid_unix_group(8)
Man Page

15 More Discussions You Might Find Interesting

1. Cybersecurity

Killing Idle session

does any one know how to kill an idle session? I want to kill any idle sessions after 30 min... Local or remote.... i want to do this without a script or TCP wrappers...i want to know if there is a file that i can configure..... ThAnks:rolleyes: (4 Replies)
Discussion started by: securhack
4 Replies

2. IP Networking

runnig squid at boot up

Hi Does any body know how i can run a program at bootup? I have squid (cache server) installed on my PC but after boot up i should run it manually but i want it to run automaticly is there a way? I used to do it by entering the address ina file but i've forgotten it now. But i remember that ... (2 Replies)
Discussion started by: hessam
2 Replies

3. Linux

Squid Cache Directory

Hi, I have redhat linux 9 and squid installed on it. I would like to know which (ufs, diskd, async) format I should use in my squid setup for the squid directory. Also if possible can anyone tell me which is the best. Regards, Raja (2 Replies)
Discussion started by: RajaRC
2 Replies

4. Solaris

Every session is expiring within 1 minute if it kept idle.

Hi, I am accessing a solaris server via client machine. My problem is that every session is expiring within 1 minute if it kept idle. I am facing problem as i have to enter the credentials around 30 to 40 times per day. I tried to set the TMOUT variable but it does n't work. Please help... (7 Replies)
Discussion started by: vamshikrishnab
7 Replies

5. UNIX for Advanced & Expert Users

help with insert line into file

hi..i wanted to know is there any way to take input from the user and copy that a particular line number in a particular file for eg . i wanted to create acl in squid at line number 2400 in squid.conf file so the user gives an input like acl inetblock src 192.168.0.0/255.255.0.0 so is there... (4 Replies)
Discussion started by: tarunicon
4 Replies

6. Linux

Squid+DNS

Dear All I have Squid 2.6 running on RHEL4. Actually we have our companys portal and Sun communication suit for Mail Service. Squid uses live DNS for resolving sites. I want to resolve Intranet address without by passing the proxy in the browser. I mean every user have to by pass proxy in the... (7 Replies)
Discussion started by: surfer24
7 Replies

7. UNIX and Linux Applications

squid2 or squid3 ?

hi I've squid version 2.6.STABLE5 installed on Pentium P4, 2.0 Ghz, 2 GB RAM with Debian Etch stable for 200 users. has squid3 more performance than squid2 ? should I migrate to squid 3 ? what's your experience and opinion about squid 3 ? (3 Replies)
Discussion started by: ccc
3 Replies

8. Web Development

squid -> deny cache of all dynamic asp websites

hi howto configure 2.6.STABLE5 to deny caching of .asp webpages? (3 Replies)
Discussion started by: ccc
3 Replies

9. Ubuntu

Simple Noob Question

I am editing the squid.confi on my server. I am done editing. How do I exit the confi file? Thank you. (2 Replies)
Discussion started by: sethartha
2 Replies

10. UNIX for Dummies Questions & Answers

Squid Server

Hi everyone, I am very new to linux. Can anybody help me for my following doubts. 1) Why we put 8080 in squid server configuration ? 2) what is secure and insecure ftp ? 3) difference between ftp and http servers ? 4) can we configure all servers (installing packages with yum client)if... (3 Replies)
Discussion started by: kunalpatil09
3 Replies

11. Shell Programming and Scripting

Help :: Simple Shell Scripting

Hello, I want to find the "IP-OF-SERVER" in /etc/squid/squid.conf And replace it with The IP of server. I know this command returns the IP of server : ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' And I can replace with sed. : sed -i... (4 Replies)
Discussion started by: Ghadamyari
4 Replies

12. UNIX for Dummies Questions & Answers

Squid Configuration Help

I am trying to configure my squid to block access to certain websites facebook and twitter in this case. After defining my acls and the corresponding http_access lines users are still able to access these websites. I would also like to allow access to the proxy from 12:30 to 14:00 hrs only. I... (4 Replies)
Discussion started by: bryanmuts2000
4 Replies

13. UNIX for Advanced & Expert Users

Blocking particular website for specific thinclients on Ubuntu

We have server which is connected with more than 10 thin client machine. I have tried to block the websites ( facebook, orkut,twitter ) for all the users. it works fine for me. But , I want to block for particular user ( thinclient ) or by the way of IP address of machine. How can I do that. (3 Replies)
Discussion started by: pavun_cool
3 Replies

14. UNIX for Advanced & Expert Users

Change Log Path for Squid on Centos 6

I searched and did not find a useful answer. Can someone please tell me the best practice to change the log directory from /var/log to /opt/squid? (4 Replies)
Discussion started by: glev2005
4 Replies

15. AIX

Telnet sessions stay as idle users

Hi The telnet sessions stay as idle users. It is not getting kicked out. Please advise what could be the issue. only when we reboot the server these telnet sessions goes. Below is the current output from the server. we rebooted the server three days ago: pmut6:/> uptime 04:21PM... (8 Replies)
Discussion started by: newtoaixos
8 Replies