You are not logged in.

#1 2014-03-24 07:23:52

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Privoxy, allowing cookies by archlinux

I set up privoxy and tor, but for certain forums I'd like to let it go as trusted one.
The config is very complicated to get me done with it.
May I ask some little enlightenment by example to make a filter, which will allow cookies from .archlinux. to pass and stay alive for the open session?


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2014-03-24 08:48:51

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Privoxy, allowing cookies by archlinux

From the privoxy man page (to be defined in /etc/privoxy/default.action if I get it correctly):

# Sites where we want persistent cookies, so allow *all* cookies
{ -crunch-cookies -session-cookies-only }
   .redhat.com
   .sun.com
   .msdn.microsoft.com

Burninate!

Offline

#3 2014-03-24 09:55:40

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: Privoxy, allowing cookies by archlinux

You'll want to put it into /etc/privoxy/user.action, not default.action.

Offline

#4 2014-03-24 14:58:10

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Privoxy, allowing cookies by archlinux

Well I've read something about, and ukhippo is right, the latter takes priority over the former.
I was astonished to read the config and I realized to be not able to make a neat rule without braking some other.


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2014-03-24 20:17:15

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Privoxy, allowing cookies by archlinux

Go to http://p.p/ and use the nice UI that privoxy provides.

The string to use is exactly this:

.archlinux.org

Offline

#6 2014-03-25 11:20:39

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Privoxy, allowing cookies by archlinux

@ brebs
Not exactly, because there are archlinux.it, archlinux.fr, archlinux.fi, archlinux.de, etc big_smile. Beside the first two the other I'm not understanding the language.
So I'd like to set filter with both sites in one filter.


do it good first, it will be faster than do it twice the saint wink

Offline

#7 2014-03-25 19:39:36

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Privoxy, allowing cookies by archlinux

See patterns - you probably want:

.archlinux.

Offline

#8 2014-03-26 05:17:43

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Privoxy, allowing cookies by archlinux

Gcool wrote:
# Sites where we want persistent cookies, so allow *all* cookies
{ -crunch-cookies -session-cookies-only }
.archlinux.

Copied and pasted into user.action added the third line, but that causing privoxy malfunctioning.
I went to http://config.privoxy.org/ to edit, the result was

 { fragile }
.archlinux.

without any relevance. I mean that seems doing nothing.
I feel sorry, mostly it won't take much, but probably I can't imaging where I'm doing wrong.


do it good first, it will be faster than do it twice the saint wink

Offline

#9 2014-03-26 13:21:13

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: Privoxy, allowing cookies by archlinux

Did you flush your browser's cache?

What does http://config.privoxy.org/show-url-info … hlinux.org show?

Offline

#10 2014-03-26 21:03:12

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Privoxy, allowing cookies by archlinux

The section I think you want is:

{ allow-all-cookies }

Offline

#11 2014-03-27 09:01:21

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Privoxy, allowing cookies by archlinux

ukhippo wrote:

Did you flush your browser's cache?

That I did not sad. I'm gonna get it done and see.

Nothing.
I also found that privoxy add by itself http:// to that entry. Therefore modifying doesn't allow an option like .archlinux.. Though, the herein FluxBB seems suffering less of forgetting cookies.


do it good first, it will be faster than do it twice the saint wink

Offline

#12 2014-03-27 09:18:30

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Privoxy, allowing cookies by archlinux

brebs wrote:

The section I think you want is:

{ allow-all-cookies }

I edited /etc/privoxy/user.action directly, because the browser interface I didn't recognize which section was the pertinent one.
I flushed all data and looks much better now big_smile


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB