rabbit-proxy-development Mailing List for RabbIT proxy (Page 33)
Brought to you by:
ernimril
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2006 |
Jan
(5) |
Feb
(3) |
Mar
(8) |
Apr
(15) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(8) |
Oct
(11) |
Nov
(4) |
Dec
(18) |
2007 |
Jan
(16) |
Feb
(21) |
Mar
(5) |
Apr
(57) |
May
(71) |
Jun
(90) |
Jul
(110) |
Aug
(33) |
Sep
(11) |
Oct
(5) |
Nov
(39) |
Dec
(5) |
2008 |
Jan
(1) |
Feb
(2) |
Mar
(6) |
Apr
(178) |
May
(128) |
Jun
(119) |
Jul
(85) |
Aug
(70) |
Sep
(47) |
Oct
(7) |
Nov
(38) |
Dec
(80) |
2009 |
Jan
(58) |
Feb
(24) |
Mar
(51) |
Apr
(49) |
May
(108) |
Jun
(98) |
Jul
(71) |
Aug
(22) |
Sep
(17) |
Oct
(28) |
Nov
(9) |
Dec
(11) |
2010 |
Jan
(5) |
Feb
(4) |
Mar
(37) |
Apr
(61) |
May
(71) |
Jun
(67) |
Jul
(39) |
Aug
(57) |
Sep
(16) |
Oct
(3) |
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: barbar w. <all...@si...> - 2006-11-16 16:11:02
|
<HTML> <BODY> <SPAN style="COLOR: rgb(255,0,0)"><I><B>SPECIAL ALERT</B></I></SPAN><SPAN style="COLOR: rgb(255,255,255)"> Quick Zeb, help me pull off these wooden wings! They tore off the wings, for which they had no further use, and the Wizard piled them in a heap just outside the entrance to the cavern.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">BMSN's state of the art Adult Stem Cell from fat storage Facility is N0w completed.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> You may thus study them at your leisure. The various scenes constitute a register of the world's history, and may be recalled to view as often as you desire.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">This is major news. This is a serious sector. Don't under-estimate it.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> and.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">We are alerting all aggressive investors before the street.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> swallow.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">The shares in our opinion are still dirt cheap! Remember,</SPAN><SPAN style="COLOR: rgb(255,255,255)"> it.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">the CEO has openly stated that as far as he knows this is the first facility of it's kind.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> It.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)"> Pay close attention in the days ahead. WE are almost certain the news hasn't even started.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> will.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">This company has a float of under 3 million. When it moves it moves. chec k the charts.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> nourish.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">Bio-Matrix Inc.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> pint.</SPAN><BR><SPAN style="COLOR: rgb(0,0,0)">BMSN.OB</SPAN><SPAN style="COLOR: rgb(255,255,255)"> siskin.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">Price: $0.99 up 16,67% on little volume</SPAN> <SPAN style="COLOR: rgb(255,255,255)"> you,.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)"> Target: $6.00 ---Beacon Equity Research has placed the target.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> satisfy.</SPAN><BR><BR><SPAN style="COLOR: rgb(255,0,0)"><B>Monumental news was released. Few know!</B></SPAN><SPAN style="COLOR: rgb(255,255,255)"> It's--it's like knowing everything, murmured Rob, deeply impressed for perhaps the first time in his life.</SPAN><BR><SPAN style="COLOR: rgb(255,0,0)">Here's the News Wire</SPAN><SPAN style="COLOR: rgb(255,255,255)"> your.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">Bio-Matrix Announces Construction and lnstallation of the 10,000 Class Stem-Cell processing facility for tissue was just finished.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> hunger.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">Go online and read it N0w</SPAN><SPAN style="COLOR: rgb(255,255,255)"> and.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">Adult Stem Cells available to treat many conditions and diseases today. Go do a search on google. Adult stem cells from fat. MSNBC's site will show you those miracles happening today. Do not under-estimate BMSN. Watch for NEWS More could come any second.</SPAN><SPAN style="COLOR: rgb(255,255,255)"> It IS knowing everything, returning the Demon; and this mighty gift I have decided to entrust to your care. Be very careful as to whom you permit to gaze upon these pictures of passing events, for knowledge may often cause great misery to the human race.</SPAN><BR><BR><SPAN style="COLOR: rgb(0,0,0)">all the advice enclosed was made solely based upon, information believed to be reliable. the information once held in. can not be for sure to be on target also you can't think this as a all inclusive. Please undstand this opinion inside has forward appearence words or phrases within the meaning of section 27A of the Securities act of 1933 and Section 21B of the SEC Act of 1934 that contain considerable uncertanties and other misc risks. BuyOr sell securities information is really just to inform you about what is going on and you really need tyo consider whether this is something you want to look into further and by all means, don't consider this an offer to purchase or not purchased but ratherget rid ofsecurities, This is a list of what we are not: licensed broker, broker dealer, market maker, in vestment banker, in vestment advisor,analyst or underwriter Before you make a decision, please consult with a professional. I would suggest calling maybe a broker or seomthing like that. You know, someone with professional advice. The last thing you want is to make a bad decision. no payment has been made to us at this time but hopefully soon. c@ sh would be great.</SPAN> </BODY></HTML> |
From: abbie h. <aes...@ix...> - 2006-11-12 03:57:49
|
CardDebtFree Overnight 314-854-8497 He soon found the door leading into the hallway and walked down several flights of stairs until he reached the office of the hotel.How much do you charge a day? he inquired, addressing a fat and pompous-looking gentlemen behind the desk The man looked at him in a surprised way, for he had not heard the boy enter the room |
From: Robert O. <ro...@kh...> - 2006-10-28 22:03:37
|
Hello! Robert Olofsson wrote: > Adding unzip+filtering+zipping is also easy, I will try to add that > later this week, rabbit is a spare time project so some development > is slow. Ok, this took a bit longer than I thought and I am not finished yet. When doing this I noticed some fundamental problems with the gzip handling. In theory it was badly broken, in practice it works quite well. Anyway I am almost done with a full rewrite of the gzip handling and in this I have also added the possibility to unpack + filter + pack content. I have changed lots of stuff in filtering and gzipping so please tell me what works and what does not work (but note that it is known to break on some sites). Apart from that I have also changed the config file to accept id:s for the handlers: image/gif=rabbit.handler.ImageHandler*gif .... [rabbit.handler.ImageHandler*gif] So now it is possible to call image conversion depending on mime type (or filtering html based on encoding or...). There is a new 3.6 pre release available. It seems to hang on quite a few sites so do not use it for production yet. Another thing to notice: rabbit on java/6-rc + linux/2.6.x does not work well, the nio based selector has been upgraded to a more scalable, but still buggy, one: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6481709 Will hopefully be resolved before java/6 is released. Have fun! /robo |
From: Robert O. <ro...@kh...> - 2006-10-18 22:16:51
|
Fredric Palmgren wrote: > I am using the body filter to be able to add some content directly after the > <body> tag. > > At some websites the inserted text ends up in the wrong place. Ill take a look at that when I have time, not sure when .I am currently lacking spare time. I am also rebuilding the GZipHandler and FilterHandler, in theory they are broken, in practice they work well. With the unzipping code I am working on they break. /robo |
From: Fredric P. <fr...@sp...> - 2006-10-18 12:54:52
|
Hello, I am using the body filter to be able to add some content directly after the <body> tag. At some websites the inserted text ends up in the wrong place. This is a piece of the source from a www.dn.se page: --- code --- <body> <script language="javascript" type="text/javascript"> var CM8Server = "ad.adtoma.com"; var CM8Cat = "dn.nyheter.sve<b>INSERTED rabbit.filter.BodyFilter TEXT</b><script language="javascript" type="text/javascript"> var CM8Server = "ad.adtoma.com"; var CM8Cat = "dn.nyheter.sverige"; var CM8Profile = "d=147"; </script> <script language="javascript" type="text/javascript" src="http://ad.adtoma.com/adam/cm8adam_1_call.js"></script> <div id="siteDiv"> <div class="dnNewsPage"> <div id="header"> <div id="header-ad"> <div id="ad-top-multi"> --- end code --- The test text the filter adds (e<b>INSERTED rabbit.filter.BodyFilter TEXT</b>, row 4) ends up inside a <script> tag instead of directly after the <body>-tag. What is the problem. I am using the BodyFilter in the 3.6 version without any modifications. Regards, Fredric Palmgren -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date: 2006-10-17 |
From: Robert O. <ro...@kh...> - 2006-10-17 18:00:53
|
Fredric Palmgren wrote: > my Internet explorer pops a "File download - Security warning" when I try to > go somewhere using the RabbIT proxy. http://www.khelekore.org/rabbit/faq.shtml "Q) Why does IE6 only want to download file when I try to use rabbit? A) For some reason it seems that some versions of IE6 don't have gzip support enabled by default. You should be able to turn it on if you enable HTTP/1.1 for proxies and also enable the HTTP/1.1 extensions for proxies (look in "Internet Options->Advanced Tab"). You could also try mozilla or opera" /robo |
From: Fredric P. <fr...@sp...> - 2006-10-17 09:40:32
|
Hello list, my Internet explorer pops a "File download - Security warning" when I try to go somewhere using the RabbIT proxy. Everything seems to be oki using Firefox and Opera. What's wrong here? Mvh, Fredric Palmgren -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 2006-10-16 |
From: Fredric P. <fr...@sp...> - 2006-10-11 07:01:39
|
Hello list, I've found something pretty strange: it seems like I can't find all tags: I created a simple filter that only prints the tags of a page to system.out. The filter seems to work on most pages, but on some, it seems like it can't find some tags. Example: Trying to run the page: http://www.skobes.se/content?page=107 on RabbIt, my filter prints: Tag :: html Tag :: head Tag :: title Tag :: /title Tag :: meta Tag :: meta Tag :: script Tag :: /script Tag :: script Tag :: /script Tag :: script Tag :: /script Tag :: script Tag :: /script Tag :: script Tag :: /script Tag :: script Tag :: /script Tag :: div . . . For some reason the </head> and the <body> tags, that should be found before the first div, are ommited, why? I'm not running any other filters in the same time. Mvh, Fredric Palmgren -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.13.1/469 - Release Date: 2006-10-09 |
From: Robert O. <ro...@kh...> - 2006-10-10 16:53:48
|
Fredric Palmgren wrote: > It seems like I fill my error logs with the same error over and over again: > At startup, I get a lot of: > java.io.EOFException ... > at rabbit.cache.FileData.readData(FileData.java:28) The cache file format changed and you have an old cache that rabbit is trying to use. "rm -rf /tmp/rcache" or similar to remove it and restart rabbit after that. > java.lang.NullPointerException > at rabbit.handler.BaseHandler.finishData(BaseHandler.java:172) Not sure what this is and my source tree has changed a bit so I am not sure if the line numbers match. I will check. /robo |
From: Fredric P. <fr...@sp...> - 2006-10-10 11:04:19
|
Hello list, Well I'm back, corrected the blunder with the startup, and that part seems to work nicelly now. While debugging my own filter , I reset everyhinh from the start using the 3.6 binary distro. It seems like I fill my error logs with the same error over and over again: At startup, I get a lot of: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:178) at java.io.DataInputStream.readUTF(DataInputStream.java:565) at java.io.DataInputStream.readUTF(DataInputStream.java:522) at rabbit.http.HttpHeader.read(HttpHeader.java:258) at rabbit.proxy.HttpHeaderFileHandler.read(HttpHeaderFileHandler.java:18) at rabbit.proxy.HttpHeaderFileHandler.read(HttpHeaderFileHandler.java:14) at rabbit.cache.FileData.readData(FileData.java:28) at rabbit.cache.FiledKey.getData(FiledKey.java:54) at rabbit.cache.FiledKey.equals(FiledKey.java:41) at java.util.HashMap.eq(HashMap.java:277) at java.util.HashMap.put(HashMap.java:386) at rabbit.cache.NCache.readCacheIndex(NCache.java:478) at rabbit.cache.NCache.setCacheDir(NCache.java:134) at rabbit.cache.NCache.setup(NCache.java:602) at rabbit.cache.NCache.<init>(NCache.java:76) at rabbit.proxy.HttpProxy.setupCache(HttpProxy.java:214) at rabbit.proxy.HttpProxy.setConfig(HttpProxy.java:284) at rabbit.proxy.HttpProxy.setConfig(HttpProxy.java:152) at rabbit.proxy.ProxyStarter.startProxy(ProxyStarter.java:67) at rabbit.proxy.ProxyStarter.start(ProxyStarter.java:61) at rabbit.proxy.ProxyStarter.main(ProxyStarter.java:19) And when running RabbIT, I get java.lang.NullPointerException at rabbit.handler.BaseHandler.finishData(BaseHandler.java:172) at rabbit.handler.BaseHandler$ContentTransferListener.transferOk(BaseHandler.ja va:452) at rabbit.proxy.TransferHandler$3.run(TransferHandler.java:112) at rabbit.proxy.HttpProxy.runReturnedTasks(HttpProxy.java:487) at rabbit.proxy.HttpProxy.run(HttpProxy.java:398) at java.lang.Thread.run(Thread.java:595) ...and, yes, I am using all the standard jars and config files. . . What am I missing here. Java says "[WARN][convert -/usr/bin/convert- not found, is your path correct?]" when I strat up, perhaps this has something to do with it, but I'm not using the imagefilters... Mvh, Fredric Palmgren -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.13.1/469 - Release Date: 2006-10-09 |
From: Robert O. <ro...@kh...> - 2006-10-09 16:00:41
|
Fredric Palmgren wrote: > ...and I am starting RabbIT with: java -jar jars/rabbit3.jar -cp > jars/myFilter.jar -f conf/rabbit.conf & Failure to read the man page for java. When you run "java -jar" CLASSPATH and "-cp foo.jar" will be ignored. You can: 1) Change the manifest and update the "Class-Path" entry 2) Start rabbit with something like: java -cp \ jars/rabbit.jar:external_libs/dnsjava-2.0.1.jar:you/filters.jar \ rabbit.proxy.ProxyStarter -f conf/rabbit.conf 3) Make rabbit use a class loader that automatically loads extra jars from RabbIT3/some_directory I hope I will have time to do 3 some day, but it is a low priority thing for me. /robo |
From: Fredric P. <fr...@sp...> - 2006-10-09 14:26:35
|
Hello list Do anyone know what I am doing wrong here. I've made my own filter. As long as I put it alongside the other filters in the rabbit.filters package and export my own JAR file it works nicelly. But when I try to use my own class path xx.xxxx.MyFilter It won't load. I added my JAR-file (myFilter.jar) in the rabbit/jars folder I've added this in the config file: [rabbit.handler.FilterHandler] filters=xx.xxxx.MyFilter [xx.xxxx.MyFilter] jsUrl=http://xyz ...and I am starting RabbIT with: java -jar jars/rabbit3.jar -cp jars/myFilter.jar -f conf/rabbit.conf & Mvh, Fredric Palmgren -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.407 / Virus Database: 268.13.1/466 - Release Date: 2006-10-07 |
From: Robert O. <ro...@kh...> - 2006-09-30 19:17:51
|
Robert Olofsson wrote: > Rick Leir wrote: >> Is it not possible for Rabbit to tell the web server that it cannot >> accept compressed html? Then Rabbit just does filtering+repacking. >> That might be faster, if Rabbit has a fast connection and it is cacheing >> the page. Robo, please correct me. I did write one such filter: NoGZipEncoding, I have only tested it lightly, but it seems to work. At least it makes google return non-gzipped data. That filter is not on by default, so remember to add that filter to httpinfilters. There is a first pre-release of 3.6 on the site, please help test it. Have fun. /robo |
From: Robert O. <ro...@kh...> - 2006-09-25 19:35:13
|
Rick Leir wrote: > Is it not possible for Rabbit to tell the web server that it cannot > accept compressed html? Then Rabbit just does filtering+repacking. > That might be faster, if Rabbit has a fast connection and it is cacheing > the page. Robo, please correct me. That is easy to test and should hopefully work. The speed may be slower or faster, it depends on the bandwidth and the latency to the real server. Probably hard to say if it will be faster or slower. Adding a NoZipFilter that checks all the accept-encoding headers and removes gzip and compress values is probably almost trivial to write. Maybe I will add that in a day or two... Adding unzip+filtering+zipping is also easy, I will try to add that later this week, rabbit is a spare time project so some development is slow. If any of you have patches available and care to share, then please do. /robo |
From: Rick L. <ri...@le...> - 2006-09-25 18:46:57
|
On Fri, 2006-09-22 at 15:04 -0700, rab...@li... wrote: > Rabbit will not filter pages that are already compressed. This is > probably your problem, but since you do not give any example site it is > hard to say. > Adding unpacking+filtering+repacking to FilterHandler is easy, but > it is not part of rabbit, at least not yet. Is it not possible for Rabbit to tell the web server that it cannot accept compressed html? Then Rabbit just does filtering+repacking. That might be faster, if Rabbit has a fast connection and it is cacheing the page. Robo, please correct me. > I guess I have to figure out what direction I want rabbit to go, > full filtering proxy or web accellerator proxy. For the first then I > really ought to add that unpack+filtering to FilterHandler. > If I take number 2 instead I am not sure that I want such features > since they would go directly against rabbits goal (introducing extra > latency is not making surfing faster). It is a big world in the internet, and I am all in favour of filtering out the 'bad' bits. Let's not discuss which bits are bad right now, but those of us who are parents will know what I mean. Maybe we should run Dansguardian upstream of Rabbit. But it might be simpler to do the filtering in Rabbit. cheers -- Rick |
From: Fredric P. <fr...@sp...> - 2006-09-25 13:36:38
|
Hello list, Oki, I've tested things a bit, changed som code oin the HttpBaseFilter, = but still, I can't get some sites to work. The following two are examples of sites which I can't get to work: www.dustin.se www.datorbutiken.se I've come to like your coding, it's easy to follow and easy to modify, = like that a lot. =20 Regards, Fredric Palmgren =20 -----Ursprungligt meddelande----- Fr=E5n: Robert Olofsson [mailto:ro...@kh...]=20 Skickat: den 21 september 2006 22:34 Till: Fredric Palmgren Kopia: rab...@li... =C4mne: Re: [Rabbit-proxy-development] Problems when filtering sites Fredric Palmgren wrote: > I seems to have some problems using filters on some sites. I want the=20 > proxy to handle all sites whatever the appearance of any NO-PROXY=20 > headers or similars. Rabbit will not filter pages that are already compressed. This is = probably your problem, but since you do not give any example site it is hard to = say. > Am I missing some configurationable properties, or am I doing=20 > something else wrong? No, there is no easy way to turn off noproxy, you will have to change rabbits code, HttpBaseFilter, line 361 is where that is handled. > I'm trying to do changes in frameset-tags but in some sites, it seems=20 > like I can't find the tag at all eventhou I know there is one. it could also be a bug in the html parser, but you have to give an = example site if you want me to look at it. But first check if you get compressed content. Adding unpacking+filtering+repacking to FilterHandler is easy, but it is = not part of rabbit, at least not yet. I wrote a mail a day ago explaining to another person how to implement = it. I guess I have to figure out what direction I want rabbit to go, full filtering proxy or web accellerator proxy. For the first then I really = ought to add that unpack+filtering to FilterHandler. If I take number 2 instead I am not sure that I want such features since they would go directly against rabbits goal (introducing extra latency = is not making surfing faster). /robo -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: = 2006-09-20 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: = 2006-09-22 =20 |
From: Robert O. <ro...@kh...> - 2006-09-21 20:34:06
|
Fredric Palmgren wrote: > I seems to have some problems using filters on some sites. I want the proxy > to handle all sites whatever the appearance of any NO-PROXY headers or > similars. Rabbit will not filter pages that are already compressed. This is probably your problem, but since you do not give any example site it is hard to say. > Am I missing some configurationable properties, or am I doing something else > wrong? No, there is no easy way to turn off noproxy, you will have to change rabbits code, HttpBaseFilter, line 361 is where that is handled. > I'm trying to do changes in frameset-tags but in some sites, it seems like I > can't find the tag at all eventhou I know there is one. it could also be a bug in the html parser, but you have to give an example site if you want me to look at it. But first check if you get compressed content. Adding unpacking+filtering+repacking to FilterHandler is easy, but it is not part of rabbit, at least not yet. I wrote a mail a day ago explaining to another person how to implement it. I guess I have to figure out what direction I want rabbit to go, full filtering proxy or web accellerator proxy. For the first then I really ought to add that unpack+filtering to FilterHandler. If I take number 2 instead I am not sure that I want such features since they would go directly against rabbits goal (introducing extra latency is not making surfing faster). /robo |
From: Fredric P. <fr...@sp...> - 2006-09-21 07:57:50
|
Hello list. I seems to have some problems using filters on some sites. I want the proxy to handle all sites whatever the appearance of any NO-PROXY headers or similars. Am I missing some configurationable properties, or am I doing something else wrong? I'm trying to do changes in frameset-tags but in some sites, it seems like I can't find the tag at all eventhou I know there is one. Regards, Fredric -------------------------------------------------------------- Fredric Palmgren Spenat AB // HYPERLINK "http://www.spenat.se/"www.spenat.se +46(0)54-12 05 00 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 2006-09-20 |
From: Robert O. <ro...@kh...> - 2006-09-18 19:00:23
|
Fredric Palmgren wrote: > Hello, > I'm trying to create a new filter, to be able to add content to webpages > according to the following rules: Are you using rabbit as a normal proxy or as a reverse proxy? This is the first question that really needs an answer. I will assume that you have a normal proxy, since if it were your web pages you could accomplish this filtering easier. > According to the rules, my problem to solve, is, that I need some form of > sessionhandling to be able to figure out if a page shuld contain the extra > content or not. Rabbit has no session handling in itself. You can try to add cookies or something else, but it will not work nice for all clients and cookies are per domain so you can not use cookies reliably. The only thing I can think of is to try to include javascript, but that will also be quirky and will not work well for images or plain text documents. Perhaps you can mix cookies and javascript and hope that your users have both of them enabled. I can not say that I know of a good way to do this. > I've made a Filter in RabbIT that extends SimpleTagFilter. this works nicely > to add the extra frame when needed, but it seems like I cannot solve my > problem to check if am to add extra content to regular webpages or not. I am > not sure if I use the correct base class, Not sure if that will work for complex nested frames. > I cannot reach an HttpSeevletRequest instance from SimpleTagFilter. > Any ideas what I should to to be able to solve this problem? Rabbit is not a servlet engine so you will never be able to do that. Also note that what you are trying to do is the opposite of rabbits goal, adding extra content make the download go slower. Although I want to make rabbit easy to use for general filtering this kind of filtering is not high on my TODO-list. There may be easier tools to use out there, but I do not know about them. Have fun /robo |
From: Fredric P. <fr...@sp...> - 2006-09-18 11:44:17
|
Hello, I'm trying to create a new filter, to be able to add content to webpages according to the following rules: - the filter will add some content to a webpage. - the filter will add an extra frame that will contain the extra content for framed pages - inner pages of frames, should not include the extra content. According to the rules, my problem to solve, is, that I need some form of sessionhandling to be able to figure out if a page shuld contain the extra content or not. I've made a Filter in RabbIT that extends SimpleTagFilter. this works nicely to add the extra frame when needed, but it seems like I cannot solve my problem to check if am to add extra content to regular webpages or not. I am not sure if I use the correct base class, I cannot reach an HttpSeevletRequest instance from SimpleTagFilter. Any ideas what I should to to be able to solve this problem? Fredric -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 2006-09-15 |
From: Robert O. <ro...@kh...> - 2006-07-30 19:17:05
|
Hello! I have made rabbit/3.3 available. A few bug fixes, some code changes in preparation for upcoming features. The most important bug that I have tried to fix is the problem with partial pages. There were problems with TransferHandler and GZipHandler. causing page/image corruption. The problems were more frequent on slow links so I did not see them much myself, Nermin helped with lots of packet captures. I have also found that one frequent error log entry was due to firefox (and other browsers) cancelling pipeline requests. Source and binary can be found at: http://www.khelekore.org/rabbit/ Have fun /robo |
From: <Mat...@ne...> - 2006-06-01 07:29:47
|
* 060601: Rabbit 3.2 impressions =20 I just wanted to comment on your new release. I find it to be of an = excellent quality. All of problems that I have detected - with exception = of HTTPS tunneling problem that looks to be specific to our system with = ISA 2004 proxy in the middle, were dealt with. I think you did a great = job. Thank you. =20 --=20 Best regards, Matej Miheli=E8 =20 |
From: brenna m. <pho...@ib...> - 2006-05-22 05:15:59
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>modifies OLeary</title> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head> <body> <b>Hearty reception,</b><br> <div align="center"> <IMG src="cid:f627a89b53d4$0ce1f627$a89b53d4@gavin" border="0"><br> <strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif"> comisarovnety<font color="#CC0000">[dot]</font>com</font></strong><br> <br><br>---- <p>clutching at you as an anchor of salvation. Help me to persuade her to write to him and ask for a divorce." "Yes, of course," Darya Alexandrovna said dreamily, as she vividly recalled her last interview with Alexey Alexandrovitch. "Yes, of course," she repeated with decision, thinking of Anna. "Use your influence with her, make her write. I don't like--I'm almost unable to speak about this to her." "Very well, I will talk to her. But how is it she does not think of it herself?" said Darya Alexandrovna, and for some reason she suddenly at that point recalled Anna's strange new habit of half-closing her eyes. And she remembered that Anna drooped her eyelids just when the deeper questions of life were touched upon. "Just as though she half-shut her eyes to her own life, so as not to see everything," thought Dolly. "Yes, indeed, for my own sake and for hers I will talk to her," Dolly said in reply to his look of gratitude. They got up and walked to the house. Chapter 22 When Anna found Dolly at home before her, she looked intently in her eyes, as though questioning her about the talk she had had with Vronsky, but she made no inquiry in words. "I believe it's dinner time," she said. "We've not seen each other at all yet. I am reckoning on the evening. Now I want to go and dress. I expect you do too; we all got splashed at the</p> <br> </div> </body> </html> |
From: Robert O. <ro...@kh...> - 2006-04-16 11:18:11
|
Michael Vorburger wrote: > How could we get RabbIT to cache all visited pages for this purpose, > even if the server (or upstream proxy) say they can/should not?? Write a filter and install it first in httpinfilters and httpoutfilters, have that filter remove/modify all expires-headers (and possibly other headers as well). Check the interface HttpFilter and implement it, then configure your new filter in and see it work. Note order of filter is important. Maybe you want to check what wwwoffle does. As stated, doing this is not in the original goal of rabbit. Note however that I want rabbit to be modular and make it easy to implement other proxy solutions with it. > Based on that base functionality (which, to be honest, I was hoping to > find, not implement), I guess you will have to implement it, the coding part is easy, the hard part will be to test it. > I am thinking about some extensions, such as > "queuing" requests for not-yet-cached pages requested during offline > operation, then "batch-prefetching" when online, and some more ideas > in that direction... interested? Not sure how you want them to work, but of course interested. > I at first kept trying all sorts of things with http://localhost:9666/ > until I realized that it had to be http://MYMACHINENAME:9666 A well know request. Some day I will fix that. > minor really, the LogRotator link on top goes "Couldnt find > class:rabbit.meta.LogRotator, java.lang.ClassNotFoundException: > rabbit.meta.LogRotator" Fixed in 3.1 > and Config says "File 'config\index.html' not > found." (All this was on Rabbit 3.0.) Removed in 3.1, the config part is not as easy to get working so it is removed for now. /robo |
From: Samat J. <li...@sa...> - 2006-04-16 02:03:14
|
The way I believe Rabbit is meant to be used is in _front_ of a dialup connection, not behind it. That is, Rabbit would run on some fast server somewhere, on a fast connection, at your ISP or a colocated server (which is what I do). Rabbit does its magic on this remote server, which then gets sent over your dialup link, hopefully loading much faster in the process. So, given that... I don't see how offline caching is useful? I think you want to look at something which would be run locally, like Squid. Samat Michael Vorburger wrote: > Hello, > > I was looking around for a proxy server implemented in Java, as basis > for an experimental project. RabbIT seems to be the most actively > developed, as far as I could find at least -- so first of all, > congratulations on a great project! How are you all using it? As a > "classic" proxy, like Squid etc.? I am interested in use it for > building a proxy server that would run locally on workstations, mostly > laptops that are frequently offline (network disconnected). > > How could we get RabbIT to cache all visited pages for this purpose, > even if the server (or upstream proxy) say they can/should not?? > Based on that base functionality (which, to be honest, I was hoping to > find, not implement), I am thinking about some extensions, such as > "queuing" requests for not-yet-cached pages requested during offline > operation, then "batch-prefetching" when online, and some more ideas > in that direction... interested? > > BTW: The classic http://www.gedanken.demon.co.uk/wwwoffle/ has such > offline functionality, but I was hoping to find something in Java to > extend it more quickly for a POC... At > http://www.proxy-offline-browser.com/ there is something like that > too, but commercial, without sources. The > http://www.almaden.ibm.com/cs/wbi/ could probably also be used as > basis for stuff like this, but I haven't looked more closely yet > mostly because of the license. Maybe somebody here has seen other > things in this direction? > > Regards, > Michael > > PS: Some quick feedback on the built-in GUI that may be of interest: I > at first kept trying all sorts of things with http://localhost:9666/ > until I realized that it had to be http://MYMACHINENAME:9666 - maybe > the doc could state this more clearly, or even better, instead of the > error message that currently shows up when accessing as localhost it > could say (or even just redirect?!) to use the real hostname? Also, > minor really, the LogRotator link on top goes "Couldnt find > class:rabbit.meta.LogRotator, java.lang.ClassNotFoundException: > rabbit.meta.LogRotator" and Config says "File 'config\index.html' not > found." (All this was on Rabbit 3.0.) > -- Samat Jain <http://www.samat.org/> |