From: SourceForge.net <no...@so...> - 2011-06-23 13:04:19
|
Actionsfile feedback item #3323631, was opened at 2011-06-21 11:43 Message generated for change (Comment added) made by mat75man You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460288&aid=3323631&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: filter: page-incorrectly-block Group: current actionsfile >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Mathew Murphy (mat75man) Assigned to: Fabian Keil (fabiankeil) Summary: filtered incorrectly Initial Comment: Privoxy is crunching " http://stats.update.microsoft.com/ReportingWebService/ReportingWebService.asmx" because I have .stats.*.*.* in one of my action files (not default.action), but in my user.action it has -filter -block for .update.microsoft.com ---------------------------------------------------------------------- >Comment By: Mathew Murphy (mat75man) Date: 2011-06-23 21:04 Message: Thanks for your reply, that makes perfect sense with a lot of these types of apps it comes down to the order of the config file. I did not want to put my actions before defaults files, so it will stay the same. Thanks for your help. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2011-06-23 19:29 Message: Looks like everything is working as it should. If multiple sections match, the last one wins. blockhost.action comes after user.action and thus can override its sections if the URL matches. When you use allowsite.action as last action file, it can override sections in blockhost.action and other action files before it. You could get the same effect by reordering your action files. If you'd move blockmat.action before user.action, the .update.microsoft.com exception should no longer be overridden. Of course this could also override sections you don't actually want to override, so it may not be the best solution. ---------------------------------------------------------------------- Comment By: Mathew Murphy (mat75man) Date: 2011-06-23 11:24 Message: This is using .update.microsoft.com in my "allowsite.action" Matches for http://stats.update.microsoft.com/ReportingWebService/ReportingWebService.asmx: In file: match-all.action View {+change-x-forwarded-for{block} +handle-as-empty-document +hide-from-header{block} +hide-referrer{forge} +set-image-blocker{blank} } / In file: default.action View {-block -crunch-incoming-cookies -crunch-outgoing-cookies -fast-redirects -filter -hide-referrer -prevent-compression } .update.microsoft.com {-filter{banners-by-size} } .microsoft.com In file: user.action View {-crunch-incoming-cookies -crunch-outgoing-cookies -filter{content-cookies} -session-cookies-only } .update.microsoft.com {-filter{all-popups} } .update.microsoft.com {-filter } .update.microsoft.com {-block -crunch-incoming-cookies -crunch-outgoing-cookies -fast-redirects -filter -hide-referrer -prevent-compression } .update.microsoft.com {-block -filter{banners-by-size} -filter{banners-by-link} } .update.microsoft.com In file: blockmat.action View {+block{BlockMat} +handle-as-image } .stats.*.*.* In file: blockweb.action View {+filter{google-analytics} } / In file: blockhost.action View (no matches in this file) In file: allowsite.action View {-block } .update.microsoft.com The CGI editor is currently disabled, thus no edit buttons are shown. Please have a look at the enable-edit-actions documentation to learn how to enable it and what the risks are. Warning: This Privoxy version has been build without zlib support, content filters will not work if the server sends compressed content. Consider enabling the prevent-compression action for this URL or rebuild Privoxy with zlib support. Final results: +change-x-forwarded-for{block} +filter{google-analytics} +handle-as-empty-document +handle-as-image +hide-from-header{block} +set-image-blocker{blank} -add-header -block -client-header-filter -client-header-tagger -content-type-overwrite -crunch-client-header -crunch-if-none-match -crunch-incoming-cookies -crunch-outgoing-cookies -crunch-server-header -deanimate-gifs -downgrade-http-version -fast-redirects -force-text-mode -forward-override -hide-accept-language -hide-content-disposition -hide-if-modified-since -hide-referrer -hide-user-agent -limit-connect -overwrite-last-modified -prevent-compression -redirect -server-header-filter -server-header-tagger -session-cookies-only ---------------------------------------------------------------------- Comment By: Mathew Murphy (mat75man) Date: 2011-06-23 11:19 Message: Thanks for the reply, This is without using .update.microsoft.com in my "allowsite.action" Requests for http://stats.update.microsoft.com/ReportingWebService/ReportingWebService.asmx will be made directly, no forwarding settings apply. Matches for http://stats.update.microsoft.com/ReportingWebService/ReportingWebService.asmx: In file: match-all.action View {+change-x-forwarded-for{block} +handle-as-empty-document +hide-from-header{block} +hide-referrer{forge} +set-image-blocker{blank} } / In file: default.action View {-block -crunch-incoming-cookies -crunch-outgoing-cookies -fast-redirects -filter -hide-referrer -prevent-compression } .update.microsoft.com {-filter{banners-by-size} } .microsoft.com In file: user.action View {-crunch-incoming-cookies -crunch-outgoing-cookies -filter{content-cookies} -session-cookies-only } .update.microsoft.com {-filter{all-popups} } .update.microsoft.com {-filter } .update.microsoft.com {-block -crunch-incoming-cookies -crunch-outgoing-cookies -fast-redirects -filter -hide-referrer -prevent-compression } .update.microsoft.com {-block -filter{banners-by-size} -filter{banners-by-link} } .update.microsoft.com In file: blockmat.action View {+block{BlockMat} +handle-as-image } .stats.*.*.* In file: blockweb.action View {+filter{google-analytics} } / In file: blockhost.action View (no matches in this file) In file: allowsite.action View (no matches in this file) The CGI editor is currently disabled, thus no edit buttons are shown. Please have a look at the enable-edit-actions documentation to learn how to enable it and what the risks are. Warning: This Privoxy version has been build without zlib support, content filters will not work if the server sends compressed content. Consider enabling the prevent-compression action for this URL or rebuild Privoxy with zlib support. Final results: +block{BlockMat} +change-x-forwarded-for{block} +filter{google-analytics} +handle-as-empty-document +handle-as-image +hide-from-header{block} +set-image-blocker{blank} -add-header -client-header-filter -client-header-tagger -content-type-overwrite -crunch-client-header -crunch-if-none-match -crunch-incoming-cookies -crunch-outgoing-cookies -crunch-server-header -deanimate-gifs -downgrade-http-version -fast-redirects -force-text-mode -forward-override -hide-accept-language -hide-content-disposition -hide-if-modified-since -hide-referrer -hide-user-agent -limit-connect -overwrite-last-modified -prevent-compression -redirect -server-header-filter -server-header-tagger -session-cookies-only ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2011-06-23 01:34 Message: Please show the "Matches" and "Final Results" sections from: http://config.privoxy.org/show-url-info?url=http%3A%2F%2Fstats.update.microsoft.com%2FReportingWebService%2FReportingWebService.asmx ---------------------------------------------------------------------- Comment By: Mathew Murphy (mat75man) Date: 2011-06-21 21:56 Message: This has done the trick with another file I am using "allowsite.action", still don't know why it does not work with "user.action". # Sites that has *ad* in address line or to just to unblock. # All other filtering still applies. # { -block } ###Microsoft sites### .msdn.microsoft.com genuine.microsoft.com .genuine.microsoft.com c.microsoft.com .c.microsoft.com office.microsoft.com .office.microsoft.com windowsupdate.microsoft.com .windowsupdate.microsoft.com download.windowsupdate.com update.microsoft.com .update.microsoft.com ###Other websites### adasound.com .adasound.com content.usatoday.com .content.usatoday.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460288&aid=3323631&group_id=11118 |