osdir.com
mailing list archive
Mozy Online Backup: 2GB Free. Automatic. Secure.

Subject: [Pound Mailing List] pound-2.0b5 and sessions - msg#00078

List: web.pound.general

Date: Prev Index Thread: Prev Index
Hi,

Cookie sessions seem to be broken for me. The problem seems similar to
http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1135136205000#1135136205000

Does this problem still exist in the current beta? Having a quick look
at the code, I thought I saw the fix there ...

A more detailed problem description:

I am using a config like the following:


Daemon 1
LogFacility local4
LogLevel 2
Alive 30

ListenHTTP

Address 1.2.3.4
Port 8080
xHTTP 1
WebDAV 0

Service

BackEnd
Address 10.0.0.1
Priority 5
Port 80
End

Session
Type COOKIE
ID "my-cookie"
TTL 3600
End

End
End




Now if I start a browser and enter the pound URL, it hangs and says it
is waiting for the server (using tcpdump, I see that the client sends a
package and the server answers with an ack, but nothing follows).

As soon as I remove the "Session" part, it works as expected.

I also tried using PARM and set the ID corretly in the URL I entered.
This worked (at least I got the answer from the backend server).


Another note (feature request, actually):
I am using some PHP code (it is actually the Horde framework) that tries
to set a cookie first for the session data. If this does not work, the
session data is provided using the URL.
So it would be very handy if I could use something like this:
Session
Type COOKIE
Type PARM
ID "..."
TTL ...
End
So, if the session cookie is set, use it. Otherwise try the URL. If none
matches, it is a new session.



Thanks,
Michael







--
Michael Redinger
Zentraler Informatikdienst (Central IT Services)
Universitaet Innsbruck
Technikerstrasse 13 Tel.: ++43 512 507 2335
6020 Innsbruck Fax.: ++43 512 507 2944
Austria Mail:
Michael.Redinger-6WDnQFJhonGzZXS1Dc/lvw@xxxxxxxxxxxxxxxx
BB98 D2FE 0F2C 2658 3780 3CB1 0FD7 A9D9 65C2 C11D
http://homepage.uibk.ac.at/~c102mr/mred-pubkey.asc

--
To unsubscribe send an email with subject 'unsubscribe' to
pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx
Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.
http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1135966423000



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: [Pound Mailing List] ANNOUNCE: Pound - reverse proxy and load balancer - v2.0b5

On Fri, 2005-12-30 at 10:24 +0100, Simon Matter wrote: > I meant the attached one, it fixes - or breaks the man page regarding > HAport and HAportAddr. It breaks it - the current man page is correct. HAportAddr is just an internal variable name in config.c, not a configuration directive. -- Robert Segall Apsis GmbH Postfach, Uetikon am See, CH-8707 Tel: +41-44-920 4904 -- To unsubscribe send an email with subject 'unsubscribe' to pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions. http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1133950045000/1135941124000

Previous Message by Thread: click to view message preview

[Pound Mailing List] problems with HA port implementation

I have been implementing a simple HA port script recently and it occurs to me that the design of the HA port feature is backwards because it sets up a very serious single point of failure ... if my HA port program falls over, then pound will either deny all traffic (because all back ends have been marked as down by my software failure) or spew traffic to batches of machines that shouldn't get the traffic (because I have spare back ends configured but not live). Either option is really bad. The HA port feature should really be fail-safe. If the control program goes down, things should stay stable. What I would much rather have is that we have a re-weighting server that pound occasionally checks that would allow load-balancing weights to be set for all back ends. Giving a weight of 0 would mark a backed as down. If the balancing connection fails, then nothing would change. In complementary fashion, there should be a status port which can be accessed to get the current status of the pound instance. -- Ted Dunning Chief Scientist Veoh Networks -- To unsubscribe send an email with subject 'unsubscribe' to pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions. http://www.apsis.ch/pound/pound_list/archive/2005/2005-12/1135810549000
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by