You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(22) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Henrik N. <he...@he...> - 2010-08-13 21:06:37
|
I have started to resurrect this project a little, with initial goal of making a release that works properly on modern systems. progress so far has been pretty good. Medusa has been upgraded, and some minor adjustments of icap-server to match current Medusa & python versions. Only lightly tested so far, but seems to work. At least bannerPI RESPMOD proxylet is confirmed working inserting it's banner as it should. Regards Henrik Nordström |
From: <dha...@wi...> - 2007-11-23 08:16:58
|
Hi, =20 I am trying to install the icap-server . I have downloaded that from http://sourceforge.net/project/showfiles.php?group_id=3D47737 . When I try to start the icap_server by start_icap.py or icap_server.py its showing error like=20 =20 =20 Tace ball(most recent call last) File ./icap_server.py Line 21 in ? import asyncore File ./icap-server/Desktop/Dhannya/icap-server/medusa-20010416/asyncore.py" line 515 in ? import FCNTL=20 =20 ImportError No module name FCNTL . =20 Please let me know what is the problem . Yaa I have found this query is posted by several others and but I couldn't found a solution for this problem .=20 =20 My squid Icap-client is already configured and that installation is fine . The setup for the icap_server also fine . I got values in ICAP_PATH variable and PYTHONPATH variable . I am using Debian OS .=20 =20 Please help me to solve this problem . =20 Thanks & Regards, Dhannya Chandran, Broadband Access Networks, Cochin. =20 =20 |
From: Sasan D. <sa...@cs...> - 2004-08-10 14:47:21
|
Hi Folks, I'm using the Squid ICAP client and the Python server. I have implemented a proxylet that in its modGetRequest method, if some checks are met, can return the complete response to the HTTP request. Here's that piece of code: out = plreq.getResponseOutputStream() out.write("HTTP/1.0 200 OK\r\n") out.write("Content-type: text/html\r\n") out.write("Connection: close\r\n") out.write("\r\n") out.write("<HTML>\r\n") out.write("<BODY><P>Hi there!!!</P></BODY>") out.write("</HTML>\r\n") return ProxyletStatus.PROXYLET_OK The other parts of this proxylet work fine, but this one has no eefect. When I point the browser to a URL, going through the proxy, the browser gets the following piece of HTML back: <html><body></body></html> Here is the corresponding rules.xml configuration: <rule processing-point="1"> <property name="Request-Path" matches=".*"> <action>translatePl</action> </property> </rule> (FOr testing purposes, I just editted tanslatePl.py.) What am I doing wrong? Should I return a different return value? I am writing the wrong HTTP headers? ... ? Is this not implemented yet? Any help would be strongly appreciated. Regards, --Sasan |
From: Geetha M. <ge...@in...> - 2003-10-20 10:27:26
|
Thought this may be of some help to others too... |
From: Victor J. H. G. <vjh...@ci...> - 2003-02-14 18:18:52
|
> > If you still face any problems with this - please send me your > ruleProcessor.py and rules.xml. > In fact we are not able to get it run even with the files you provided to us :-(( We would like to get squid integrated with Web Procect for ICAP (a TrendMicro Avirus traffic filtering solution). Do you know of any succesful installation of this combination? -- Víctor |
From: Geetha M. <ge...@in...> - 2002-11-16 02:18:34
|
Hello Mr Riadh, Thanks for the bug . I have made the change and checked into our CVS. It would be interesting to know more about your product. thanks and regards Geetha Riadh Elloumi wrote: > > Dear sir, > > I'm intrested in your icap server. I have installed the new > > release 1.2.1, and tried to use it with the icap client that I > > am implementing. The icap server sent in encapsulated header: > > Encapsulated: res-hdr=0 res-body=395\r\n > > I think that this contradicts Icap draft, because res-body and > > res-hdr must be separated by a comma, like this: > > Encapsulated: res-hdr=0, res-body=395\r\n > > I corrected this in the python source code, in order to make > > the icap server work with our product which is an http proxy > > powered by icap. Could you make this change in further > > releases, please ? > > Best regards > > Riadh. > > Accédez au courrier électronique de La Poste : www.laposte.net ; > 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)" |
From: Geetha M. <ge...@in...> - 2002-11-01 22:35:21
|
Hi All, The binaries and source bundles of release 1.2.1 of the ICAP server and the Squid ICAP client are now available for download from the project page, http://www.sourceforge.net/projects/icap-server Attached is the change log. These changes have also been reflected on the CVS. Feedback in the form of suggestions/bugs/comments are most welcome! Thanks and regards, Geetha PS: Sorry for the delay, this was long overdue..... ========================================================== What has changed after release 1.2: ---------------------------------- ICAP server : * OPTIONS method is now supported. * RESPMOD filters can define their own preview method (optionally) * Filters for banner insertion and translation have been cleaned up to work without any dependencies. .. Squid ICAP client: 1. Support for processing OPTIONS header. 2. A new configuration option "icap_send_client_ip" to send IP address of client in ICAP header as X-Client-IP . 3. Supports configurable preview size, with new config parameter, icap_preview_size. 4. The redundant configuration option icap_mode is removed, now. 5. Some bug fixes (default port number, host redirection bug, header modification bug, small icap header size) ====================== Geetha Manjunath Technical Architect Hewlett Packard Labs. ======================= |
From: Geetha M. <ge...@in...> - 2002-07-01 08:09:56
|
> 1. change a gif in a web page to another gif reqmod for that gif - change the request url > 2. change some text in a web page to some others Yes youcan, you are already doing it in baner insertion. ma...@so... wrote: > > Hi, Geetha! > > I have successfully insert a gif at the head > of a web page. I enjoy it! What a nice work! > What a nice software! :-) > > I still have a question. Can I use the software to > do the following things, > > 1. change a gif in a web page to another gif > 2. change some text in a web page to some others > > Cheers, > George Erik > > ----- Original Message ----- > From: Geetha Manjunath > To: ma...@so... > Subject: Re: [icap-server] Syntax error when running "./start_icap.py". > Sent: Mon Jul 01 14:42:25 CST 2002 > > > Name the new class also as 'test'. So line 25 of file test.py should > > read as > > > > class test(HTTPProxylet): > > > > regards > > Geetha > > > > > > ma...@so... wrote: > > > > > > Hi, Geetha! > > > > > > I using the following procedures to > > > insert a gif when user browsing www.yahoo.com. > > > > > > 1. write a file named test.py > > > (I have send the file as the attchment of the mail) > > > > > > 2. modify irml.xml > > > (I have send the file as the attchment of the mail) > > > > > > 3. run command "make install" in irml directory > > > > > > 4. run ". ./setup" in the icap_server directory > > > > > > 5, run "./start_icap.py" in the icap_server directory > > > > > > When running "./start_icap.py", I got the following errors, > > > > > > -------- > > > [root@demo icap_server]# ./start_icap.py > > > /usr/lib/python2.2/FCNTL.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl > > > DeprecationWarning) > > > Traceback (most recent call last): > > > File "./start_icap.py", line 12, in ? > > > import icap_handler > > > File "./icap_handler.py", line 34, in ? > > > import icap_services, reqmod , respmod > > > File "./icap_services.py", line 19, in ? > > > from reqmod import process_reqmod > > > File "./reqmod.py", line 31, in ? > > > from ruleProcessor import getReqModifier > > > File "/root/icap_server/proxylet/ruleProcessor.py", line 47, in ? > > > from test import test > > > ImportError: cannot import name test > > > -------- > > > > > > Are there anything wrong? How to resolve the > > > trouble? > > > > > > Cheers, > > > George Erik > > > > > > ----- Original Message ----- > > > From: Geetha Manjunath > > > To: ma...@so... > > > Cc: ica...@li... ;ica...@li... > > > Subject: Re: [icap-server] Syntax error when running "./start_icap.py". > > > Sent: Mon Jul 01 13:19:06 CST 2002 > > > > > > > I guess my response to your mail on documentation for rule authoring > > > > wold have cleared your doubt here. > > > > Please see redirectPl.py in proxylet directory. This proxylet currently > > > > redirects to a different port based on acccessed url. Please change it > > > > to do the needful > > > > regards > > > > Geetha > > > > > > > > ma...@so... wrote: > > > > > > > > > > Hi, pals! > > > > > > > > > > When running ./start_icap.py, I got such errors, > > > > > > > > > > -------- > > > > > [root@demo icap_server]# ./start_icap.py > > > > > /usr/lib/python2.2/FCNTL.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl > > > > > DeprecationWarning) > > > > > Traceback (most recent call last): > > > > > File "./start_icap.py", line 12, in ? > > > > > import icap_handler > > > > > File "./icap_handler.py", line 34, in ? > > > > > import icap_services, reqmod , respmod > > > > > File "./icap_services.py", line 19, in ? > > > > > from reqmod import process_reqmod > > > > > File "./reqmod.py", line 31, in ? > > > > > from ruleProcessor import getReqModifier > > > > > File "/root/icap_server/proxylet/ruleProcessor.py", line 47 > > > > > from www.hp.com import www.hp.com > > > > > ^ > > > > > SyntaxError: invalid syntax > > > > > -------- > > > > > > > > > > My purpose is as the following, when users visit > > > > > "www.yahoo.com", I will display the page "www.hp.com" > > > > > at the same time. > > > > > > > > > > Such is the content of rules.xml, > > > > > -------- > > > > > <?xml version="1.0"?> > > > > > <rulemodule> > ...... |
From: <ma...@so...> - 2002-07-01 07:35:39
|
Hi, pals! I think icap project is a part of OPES, so I download a tar ball from http://www.ietf-opes.org/documents/proxylet_api_0.2_idl.tar.gz But I find it is not the same as icap proxylets. What is the relationship between the tar ball and icap proxylets? Cheers, George Erik |
From: <ma...@so...> - 2002-07-01 05:44:00
|
Thanks, Geetha pal! You have resolved my trouble! :-) Cheers, George Erik ----- Original Message ----- From: Geetha Manjunath To: ma...@so... Subject: Re: [icap-server] Questions aboue the installation of icap. Sent: Mon Jul 01 12:59:13 CST 2002 > Try adding a line > http_access allow localhost > > That part of squid.conf should look like this: > > http_access deny manager all > http_access allow demo > http_access allow proxy > http_access allow ma > http_access allow localhost > http_access deny all > > regards, > Geetha > > ma...@so... wrote: > > > > Hi, Geetha! > > > > I have send my squid.conf file as the attchment of this > > E-mail. > > > > Can you see what is wrong with my squid.conf file? > > > > Cheers, > > George Erik > > > > ----- Original Message ----- > > From: Geetha Manjunath > > To: ma...@so... > > Cc: ica...@li... > > Subject: Re: [icap-server] Questions aboue the installation of icap. > > Sent: Mon Jul 01 12:19:53 CST 2002 > > > > > please mail the complete squid.conf (atleast the http_access lines). > > > Looks like there is some problem with the acl's you configured. > > > > > > I understand/assume that you are able to browse the web when your client > > > runs on a different machine but there is an error only if your client > > > runs on the local machine. > > > regards, > > > Geetha > > > > > > ma...@so... wrote: > > > > > > > > Thanks, Geetha pal! > > > > > > > > I have resolved the trouble simply by replace > > > > "210.73.46.75" by "demo.gscas.ac.cn". Thanks > > > > again for your kind and intelligence! > > > > > > > > But I meet with another trouble, when browing the web > > > > page through icap_client on 210.73.46.75, I got an error > > > > that I have no access. But other machine works fine. > > > > How to resolve the trouble? > > > > > > > > Cheers, > > > > George Erik > > > > > > > > ----- Original Message ----- > > > > From: Geetha Manjunath > > > > To: ma...@so... > > > > Cc: ica...@li... > > > > Subject: Re: [icap-server] Questions aboue the installation of icap. > > > > Sent: Sat Jun 29 20:46:19 CST 2002 > > > > > > > > > Please try the following and let me know what happens... > > > > > 1. Check whether your icap server is working ok. You do that as follows: > > > > > telnet 210.73.46.75 1344 > > > > > - Does it connect? > > > > > 1(a) If yes. cut and paste the lines from icap_server/tests/icap_req2 > > > > > for telnet. (You can also do a netcat if that is installed.) > > > > > - you should get a response from the icap server > > > > > 1(b) If no, change the icap_service lines in squid.conf by replacing > > > > > 210.73.46.75 with demo.gscas.ac.cn . Restart squid and try. > > > > > > > > > > 2. Run squid on command line as "squid -X -N" and look for any parse > > > > > errors in conf file. > > > > > - Ensure that the icap_service lines are all on a single line > > > > > SAME LINE: icap_service resService respmod_precache 0 > > > > > icap://210.73.46.75:1344/respmod > > > > > > > > > > 3. Set "icap_enable off" in the squid.conf file and try using squid > > > > > without icap. You should be able to browse things on the web with your > > > > > Konqueror browser. > > > > > > > > > > Let us hope we do not need any more checks.. :-) > > > > > > > > > > Happy Weekend! > > > > > > > > > > Thanks and regards > > > > > Geetha > > > > > > > > > > > > > > > > > > > > > > > > > ma...@so... wrote: > > > > > > > > > > > > Hi, pals! > > > > > > > > > > > > When user visiting web pages through icap-client(proxy > > > > > > server), they got errors, "broken pipe". I want to make it ...... |
From: Geetha M. <ge...@in...> - 2002-07-01 05:23:24
|
From: Geetha M. <ge...@in...> - 2002-07-01 05:22:32
|
I guess my response to your mail on documentation for rule authoring wold have cleared your doubt here. Please see redirectPl.py in proxylet directory. This proxylet currently redirects to a different port based on acccessed url. Please change it to do the needful regards Geetha ma...@so... wrote: > > Hi, pals! > > When running ./start_icap.py, I got such errors, > > -------- > [root@demo icap_server]# ./start_icap.py > /usr/lib/python2.2/FCNTL.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl > DeprecationWarning) > Traceback (most recent call last): > File "./start_icap.py", line 12, in ? > import icap_handler > File "./icap_handler.py", line 34, in ? > import icap_services, reqmod , respmod > File "./icap_services.py", line 19, in ? > from reqmod import process_reqmod > File "./reqmod.py", line 31, in ? > from ruleProcessor import getReqModifier > File "/root/icap_server/proxylet/ruleProcessor.py", line 47 > from www.hp.com import www.hp.com > ^ > SyntaxError: invalid syntax > -------- > > My purpose is as the following, when users visit > "www.yahoo.com", I will display the page "www.hp.com" > at the same time. > > Such is the content of rules.xml, > -------- > <?xml version="1.0"?> > <rulemodule> > > <owner class="access provider"> > <name>Yahoo</name> > <id>www.yahoo.com</id> > </owner> > <protocol>http</protocol> > <rule processing-point="4"> > <property name="Content-Type" matches="text/html"> > <action>www.hp.com</action> > </property> > </rule> > </rulemodule> > -------- > > After modify the file rules.xml, I have already run the > command "make install" in the directory icap_server/irml. > > How to resolve the trouble? > > Cheers, > George Erik > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > icap-server-general mailing list > ica...@li... > https://lists.sourceforge.net/lists/listinfo/icap-server-general |
From: Geetha M. <ge...@in...> - 2002-07-01 04:23:06
|
please mail the complete squid.conf (atleast the http_access lines). Looks like there is some problem with the acl's you configured. I understand/assume that you are able to browse the web when your client runs on a different machine but there is an error only if your client runs on the local machine. regards, Geetha ma...@so... wrote: > > Thanks, Geetha pal! > > I have resolved the trouble simply by replace > "210.73.46.75" by "demo.gscas.ac.cn". Thanks > again for your kind and intelligence! > > But I meet with another trouble, when browing the web > page through icap_client on 210.73.46.75, I got an error > that I have no access. But other machine works fine. > How to resolve the trouble? > > Cheers, > George Erik > > ----- Original Message ----- > From: Geetha Manjunath > To: ma...@so... > Cc: ica...@li... > Subject: Re: [icap-server] Questions aboue the installation of icap. > Sent: Sat Jun 29 20:46:19 CST 2002 > > > Please try the following and let me know what happens... > > 1. Check whether your icap server is working ok. You do that as follows: > > telnet 210.73.46.75 1344 > > - Does it connect? > > 1(a) If yes. cut and paste the lines from icap_server/tests/icap_req2 > > for telnet. (You can also do a netcat if that is installed.) > > - you should get a response from the icap server > > 1(b) If no, change the icap_service lines in squid.conf by replacing > > 210.73.46.75 with demo.gscas.ac.cn . Restart squid and try. > > > > 2. Run squid on command line as "squid -X -N" and look for any parse > > errors in conf file. > > - Ensure that the icap_service lines are all on a single line > > SAME LINE: icap_service resService respmod_precache 0 > > icap://210.73.46.75:1344/respmod > > > > 3. Set "icap_enable off" in the squid.conf file and try using squid > > without icap. You should be able to browse things on the web with your > > Konqueror browser. > > > > Let us hope we do not need any more checks.. :-) > > > > Happy Weekend! > > > > Thanks and regards > > Geetha > > > > > > > > > > ma...@so... wrote: > > > > > > Hi, pals! > > > > > > When user visiting web pages through icap-client(proxy > > > server), they got errors, "broken pipe". I want to make it > > > clear that whether I have installed icap-server and icap-client > > > correctly. > > > > > > I am using Reh Hat 7.2, Kernel 2.4.7-10, > > > squid-icap-client-1.2-src.tgz, > > > icap_server-1.2.tar.gz. > > > > > > 0.install Python and PyXML > > > > > > 1. Install icap-client: > > > > > > ./configure --enable-icap-support --prefix=/usr/local/squid > > > make > > > make install > > > > > > modify squid.conf > > > ----------- > > > icap_enable on > > > icap_mode both > > > icap_service reqService reqmod_precache 0 icap://210.73.46.75:1344/reqmod > > > icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod > > > icap_class MyClass reqService resService > > > icap_access MyClass allow all > > > icap_access reqService allow all > > > icap_access resService allow all > > > ----------- > > > > > > modify squid.conf > > > ----------- > > > cache_mem > > > cache_dir > > > acl > > > http_access > > > ----------- > > > ./squid -z > > > > > > 2. install icap-server > > > modify the setup file > > > ----------- > > > export ICAP_PATH=`pwd` > > > export PYTHONPATH=$ICAP_PATH/medusa-20010416:$ICAP_PATH/proxylet:/usr/lib/python2.2/site-packages > > > ----------- > > > then run . ./setup > > > > > > 3.start icap > > > ./squid -NCd1 > > > ./start_icap.py > > > > > > Have I missed anything? Or I did something wrong? > > > > > > Cheers, > > > George Erik > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > No, I will not fix your computer. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > icap-server-general mailing list > > > ica...@li... > > > https://lists.sourceforge.net/lists/listinfo/icap-server-general |
From: <ma...@so...> - 2002-06-30 12:10:10
|
Hi, pals! When running ./start_icap.py, I got such errors, -------- [root@demo icap_server]# ./start_icap.py /usr/lib/python2.2/FCNTL.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl DeprecationWarning) Traceback (most recent call last): File "./start_icap.py", line 12, in ? import icap_handler File "./icap_handler.py", line 34, in ? import icap_services, reqmod , respmod File "./icap_services.py", line 19, in ? from reqmod import process_reqmod File "./reqmod.py", line 31, in ? from ruleProcessor import getReqModifier File "/root/icap_server/proxylet/ruleProcessor.py", line 47 from www.hp.com import www.hp.com ^ SyntaxError: invalid syntax -------- My purpose is as the following, when users visit "www.yahoo.com", I will display the page "www.hp.com" at the same time. Such is the content of rules.xml, -------- <?xml version="1.0"?> <rulemodule> <owner class="access provider"> <name>Yahoo</name> <id>www.yahoo.com</id> </owner> <protocol>http</protocol> <rule processing-point="4"> <property name="Content-Type" matches="text/html"> <action>www.hp.com</action> </property> </rule> </rulemodule> -------- After modify the file rules.xml, I have already run the command "make install" in the directory icap_server/irml. How to resolve the trouble? Cheers, George Erik |
From: <ma...@so...> - 2002-06-30 11:32:42
|
Are there any documents about the topic? Cheers, George Erik |
From: <ma...@so...> - 2002-06-30 11:26:55
|
Thanks, Geetha pal! I have resolved the trouble simply by replace "210.73.46.75" by "demo.gscas.ac.cn". Thanks again for your kind and intelligence! But I meet with another trouble, when browing the web page through icap_client on 210.73.46.75, I got an error that I have no access. But other machine works fine. How to resolve the trouble? Cheers, George Erik ----- Original Message ----- From: Geetha Manjunath To: ma...@so... Cc: ica...@li... Subject: Re: [icap-server] Questions aboue the installation of icap. Sent: Sat Jun 29 20:46:19 CST 2002 > Please try the following and let me know what happens... > 1. Check whether your icap server is working ok. You do that as follows: > telnet 210.73.46.75 1344 > - Does it connect? > 1(a) If yes. cut and paste the lines from icap_server/tests/icap_req2 > for telnet. (You can also do a netcat if that is installed.) > - you should get a response from the icap server > 1(b) If no, change the icap_service lines in squid.conf by replacing > 210.73.46.75 with demo.gscas.ac.cn . Restart squid and try. > > 2. Run squid on command line as "squid -X -N" and look for any parse > errors in conf file. > - Ensure that the icap_service lines are all on a single line > SAME LINE: icap_service resService respmod_precache 0 > icap://210.73.46.75:1344/respmod > > 3. Set "icap_enable off" in the squid.conf file and try using squid > without icap. You should be able to browse things on the web with your > Konqueror browser. > > Let us hope we do not need any more checks.. :-) > > Happy Weekend! > > Thanks and regards > Geetha > > > > > ma...@so... wrote: > > > > Hi, pals! > > > > When user visiting web pages through icap-client(proxy > > server), they got errors, "broken pipe". I want to make it > > clear that whether I have installed icap-server and icap-client > > correctly. > > > > I am using Reh Hat 7.2, Kernel 2.4.7-10, > > squid-icap-client-1.2-src.tgz, > > icap_server-1.2.tar.gz. > > > > 0.install Python and PyXML > > > > 1. Install icap-client: > > > > ./configure --enable-icap-support --prefix=/usr/local/squid > > make > > make install > > > > modify squid.conf > > ----------- > > icap_enable on > > icap_mode both > > icap_service reqService reqmod_precache 0 icap://210.73.46.75:1344/reqmod > > icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod > > icap_class MyClass reqService resService > > icap_access MyClass allow all > > icap_access reqService allow all > > icap_access resService allow all > > ----------- > > > > modify squid.conf > > ----------- > > cache_mem > > cache_dir > > acl > > http_access > > ----------- > > ./squid -z > > > > 2. install icap-server > > modify the setup file > > ----------- > > export ICAP_PATH=`pwd` > > export PYTHONPATH=$ICAP_PATH/medusa-20010416:$ICAP_PATH/proxylet:/usr/lib/python2.2/site-packages > > ----------- > > then run . ./setup > > > > 3.start icap > > ./squid -NCd1 > > ./start_icap.py > > > > Have I missed anything? Or I did something wrong? > > > > Cheers, > > George Erik > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > No, I will not fix your computer. > > http://thinkgeek.com/sf > > _______________________________________________ > > icap-server-general mailing list > > ica...@li... > > https://lists.sourceforge.net/lists/listinfo/icap-server-general |
From: Geetha M. <ge...@in...> - 2002-06-29 12:48:25
|
Please try the following and let me know what happens... 1. Check whether your icap server is working ok. You do that as follows: telnet 210.73.46.75 1344 - Does it connect? 1(a) If yes. cut and paste the lines from icap_server/tests/icap_req2 for telnet. (You can also do a netcat if that is installed.) - you should get a response from the icap server 1(b) If no, change the icap_service lines in squid.conf by replacing 210.73.46.75 with demo.gscas.ac.cn . Restart squid and try. 2. Run squid on command line as "squid -X -N" and look for any parse errors in conf file. - Ensure that the icap_service lines are all on a single line SAME LINE: icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod 3. Set "icap_enable off" in the squid.conf file and try using squid without icap. You should be able to browse things on the web with your Konqueror browser. Let us hope we do not need any more checks.. :-) Happy Weekend! Thanks and regards Geetha ma...@so... wrote: > > Hi, pals! > > When user visiting web pages through icap-client(proxy > server), they got errors, "broken pipe". I want to make it > clear that whether I have installed icap-server and icap-client > correctly. > > I am using Reh Hat 7.2, Kernel 2.4.7-10, > squid-icap-client-1.2-src.tgz, > icap_server-1.2.tar.gz. > > 0.install Python and PyXML > > 1. Install icap-client: > > ./configure --enable-icap-support --prefix=/usr/local/squid > make > make install > > modify squid.conf > ----------- > icap_enable on > icap_mode both > icap_service reqService reqmod_precache 0 icap://210.73.46.75:1344/reqmod > icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod > icap_class MyClass reqService resService > icap_access MyClass allow all > icap_access reqService allow all > icap_access resService allow all > ----------- > > modify squid.conf > ----------- > cache_mem > cache_dir > acl > http_access > ----------- > ./squid -z > > 2. install icap-server > modify the setup file > ----------- > export ICAP_PATH=`pwd` > export PYTHONPATH=$ICAP_PATH/medusa-20010416:$ICAP_PATH/proxylet:/usr/lib/python2.2/site-packages > ----------- > then run . ./setup > > 3.start icap > ./squid -NCd1 > ./start_icap.py > > Have I missed anything? Or I did something wrong? > > Cheers, > George Erik > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > No, I will not fix your computer. > http://thinkgeek.com/sf > _______________________________________________ > icap-server-general mailing list > ica...@li... > https://lists.sourceforge.net/lists/listinfo/icap-server-general |
From: <ma...@so...> - 2002-06-29 11:24:45
|
Hi, pals! When user visiting web pages through icap-client(proxy server), they got errors, "broken pipe". I want to make it clear that whether I have installed icap-server and icap-client correctly. I am using Reh Hat 7.2, Kernel 2.4.7-10, squid-icap-client-1.2-src.tgz, icap_server-1.2.tar.gz. 0.install Python and PyXML 1. Install icap-client: ./configure --enable-icap-support --prefix=/usr/local/squid make make install modify squid.conf ----------- icap_enable on icap_mode both icap_service reqService reqmod_precache 0 icap://210.73.46.75:1344/reqmod icap_service resService respmod_precache 0 icap://210.73.46.75:1344/respmod icap_class MyClass reqService resService icap_access MyClass allow all icap_access reqService allow all icap_access resService allow all ----------- modify squid.conf ----------- cache_mem cache_dir acl http_access ----------- ./squid -z 2. install icap-server modify the setup file ----------- export ICAP_PATH=`pwd` export PYTHONPATH=$ICAP_PATH/medusa-20010416:$ICAP_PATH/proxylet:/usr/lib/python2.2/site-packages ----------- then run . ./setup 3.start icap ./squid -NCd1 ./start_icap.py Have I missed anything? Or I did something wrong? Cheers, George Erik |
From: <ma...@so...> - 2002-06-27 13:49:08
|
Hi, pals! After start icap-server and icap-client, on another machine, I use Konqueror Brower to browse web pages through icap-client(i.e. proxy server). I meet with such troubles from icap-client, (a web page like below is diaplayed when browsing other sites) ---------- ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://www.yahoo.com/ The following error was encountered: Write Error The system returned: (32) Broken pipe An error condition occurred while writing to the network. Please retry your request. Your cache administrator is webmaster. Generated Thu, 27 Jun 2002 19:52:44 GMT by demo.gscas.ac.cn (squid/2.6-DEVEL-20020324) ---------- How to resolve the trouble? Cheers, George Erik |
From: Geetha M. <ge...@in...> - 2002-06-27 09:07:06
|
Looks like squid is unable to contact the icap server here - the write error is due to that. Please check whether your requests reached the icap server or not (there will be elaborate debug messages on the stdout of icap server). Also, the default rules in the icap 1.2 would translate all pages to French as request mod. But the order of rules (I checked) will not do it for some clients... SO please modify getReqModifier(..) in proxylet/ruleProcessor.py by commenting out 3 lines as follows [ as Manju Raphel has rightly done]. def getReqModifier(plconfig, plr): #val = getValue(plr,'Accept-Encoding') #if check_match(val,re1): # return getProxyletReq('maskgzipPl',plconfig) val = getValue(plr,'Request-Path') if check_match(val,re4): return getProxyletReq('translatePl',plconfig) return None Of course a better/simpler way would be to modify the IRML file, irml/rules.xml is to delete the first rule (the following lines) from that file. <rule processing-point="1"> <property name="Accept-Encoding" matches=".*"> <action>maskgzipPl</action> </property> </rule> and execute cd $ICAP_PATH/irml make install (answer 'y' for overwriting ruleProcessor.py) Restart ICAP -server. regards, Geetha ma...@so... wrote: > > Hi, pals! > > After start icap-server and icap-client, on another > machine, I use Konqueror Brower to browse web pages through > icap-client(i.e. proxy server). I meet with such troubles from > icap-client, (a web page like below is diaplayed when browsing other > sites) > > ---------- > > ERROR > > The requested URL could not be retrieved > > While trying to retrieve the URL: http://www.yahoo.com/ > > The following error was encountered: > > Write Error > > The system returned: > (32) Broken pipe > > An error condition occurred while writing to the network. Please retry your request. > > Your cache administrator is webmaster. > > Generated Thu, 27 Jun 2002 19:52:44 GMT by demo.gscas.ac.cn (squid/2.6-DEVEL-20020324) > > ---------- > > How to resolve the trouble? > > Cheers, > George Erik > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > icap-server-squidclient mailing list > ica...@li... > https://lists.sourceforge.net/lists/listinfo/icap-server-squidclient |
From: <ma...@so...> - 2002-06-27 08:18:44
|
Hi, pals! I have read the file "irml.html", but I find it is somewhat advanced to me. :-) I am a newbie of ICAP. Are there some documents that will more suitable for a beginner to use to learn how to write a new rule? Where can I find them? Cheers, George Erik |
From: <ma...@so...> - 2002-06-27 07:16:43
|
Hi, pals! I have installed ICAP server and ICAP client. How to test ICAP function after installation? Are there any documents? Where can I find them? Cheers, George Erik |
From: <ma...@so...> - 2002-06-27 05:49:10
|
Hi, pals! I meet such trouble when running the command, "./start_icap.py", such are the error messages from stdout, --------- /usr/lib/python2.2/FCNTL.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl DeprecationWarning) /usr/lib/python2.2/regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub() DeprecationWarning) --------- After the above messages, the script display the following messages, -------- info: Medusa (V1.0) started at Thu Jun 27 13:45:07 2002 Hostname: demo.gscas.ac.cn Port:1344 -------- Is that a real trouble? How to resolve the trouble? Cheers, George Erik |
From: Geetha M. <ge...@in...> - 2002-06-26 09:39:51
|
1344 is the default port where ICAP server runs. If u read the ICAP 1.0 internet draft, they specify 4 vectoring points for modification of request and response (one before caching and one after caching - that is precache, postcache for reqmod and respmod). Currently, in squid, we make no distinction of precache and postcache. So reqmod_precache and reqmod_postcache have the same functionality. regards, Geetha ma...@so... wrote: > > Thanks, Geetha pal! > > What is the meaning and function of "respmod_precache" > in the configuration file? > > What is the function of port "1344" of my ip address? > I noticed that the sample configuration file has the same > port number. > > Cheers, > George Erik > > ----- Original Message ----- > From: Geetha Manjunath > To: ma...@so... ;Ralf Horstmann > Cc: ica...@li... ;squid-icapClient > Subject: Re: [icap-server] Configure "icap_service" and "acl" in squid.conf. > Sent: Wed Jun 26 16:38:48 CST 2002 > > > No George, You will need the following statements to enable all reqmods > > and respmods from the icap_server. > > --- > > icap_enable on > > icap_mode both > > icap_service reqService reqmod_precache 0 > > icap://210.73.46.75:1344/reqmod > > icap_service resService respmod_precache 0 > > icap://210.73.46.75:1344/respmod > > icap_class MyClass reqService resService > > icap_access MyClass allow all > > icap_access reqService allow all > > icap_access resService allow all > > --- > > Ralf Horstmann is the author of these acl config changes. > > Ralf, can we setup the defaults such that a smaller subset of these > > statements would do the same job? May be for icap_access? I guess the > > latest on the CVS has the icap_mode removed?? > > > > thanks and regards, > > Geetha > > > > > > ma...@so... wrote: > > > > > > Hi, pals! > > > > > > In my purpose, I think I want everyone to use my ICAP > > > at any time and from anywhere. Must I set the "acl", > > > and "icap_service" variables in squid.conf? > > > > > > I noticed that there are file variabls that deal with > > > icap in squid.conf. > > > > > > icap_enable > > > icap_mode > > > icap_service > > > icap_class > > > icap_access > > > If I want everyone to use my ICAP at any time > > > and from anywhere, I think I need only to set > > > "icap_enable" and "icap_mode". So, I think > > > the other variables are not needed in my case. > > > Am I correct? > > > > > > Cheers, > > > George Erik > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: Jabber Inc. > > > Don't miss the IM event of the season | Special offer for OSDN members! > > > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > > > _______________________________________________ > > > icap-server-general mailing list > > > ica...@li... > > > https://lists.sourceforge.net/lists/listinfo/icap-server-general > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > _______________________________________________ > icap-server-general mailing list > ica...@li... > https://lists.sourceforge.net/lists/listinfo/icap-server-general |
From: <ma...@so...> - 2002-06-26 09:31:42
|
Thanks, Geetha pal! What is the meaning and function of "respmod_precache" in the configuration file? What is the function of port "1344" of my ip address? I noticed that the sample configuration file has the same port number. Cheers, George Erik ----- Original Message ----- From: Geetha Manjunath To: ma...@so... ;Ralf Horstmann Cc: ica...@li... ;squid-icapClient Subject: Re: [icap-server] Configure "icap_service" and "acl" in squid.conf. Sent: Wed Jun 26 16:38:48 CST 2002 > No George, You will need the following statements to enable all reqmods > and respmods from the icap_server. > --- > icap_enable on > icap_mode both > icap_service reqService reqmod_precache 0 > icap://210.73.46.75:1344/reqmod > icap_service resService respmod_precache 0 > icap://210.73.46.75:1344/respmod > icap_class MyClass reqService resService > icap_access MyClass allow all > icap_access reqService allow all > icap_access resService allow all > --- > Ralf Horstmann is the author of these acl config changes. > Ralf, can we setup the defaults such that a smaller subset of these > statements would do the same job? May be for icap_access? I guess the > latest on the CVS has the icap_mode removed?? > > thanks and regards, > Geetha > > > ma...@so... wrote: > > > > Hi, pals! > > > > In my purpose, I think I want everyone to use my ICAP > > at any time and from anywhere. Must I set the "acl", > > and "icap_service" variables in squid.conf? > > > > I noticed that there are file variabls that deal with > > icap in squid.conf. > > > > icap_enable > > icap_mode > > icap_service > > icap_class > > icap_access > > If I want everyone to use my ICAP at any time > > and from anywhere, I think I need only to set > > "icap_enable" and "icap_mode". So, I think > > the other variables are not needed in my case. > > Am I correct? > > > > Cheers, > > George Erik > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Jabber Inc. > > Don't miss the IM event of the season | Special offer for OSDN members! > > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > > _______________________________________________ > > icap-server-general mailing list > > ica...@li... > > https://lists.sourceforge.net/lists/listinfo/icap-server-general |