|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2008
/
2008-09
/
Re: [Pound Mailing List] Pound on
[
making pound completely transparent for my ... ]
[
BPG managed Network & pound / "Jens ... ]
Re: [Pound Mailing List] Pound on
Dave Steinberg <dave(at)redterror.net> |
2008-09-11 21:38:33 |
[ FULL ]
|
<snip>
[...]
Or 'cat' or m4. More below.
[...]
I don't fully understand your question, but let me give you a rough
outline of what I think would do what you're asking:
=== header.conf ====
User "proxy"
Group "proxy"
RootJail "/var/pound"
Alive 15
TimeOut 120
LogLevel 5
Daemon 1
Control "/tmp/pound.sock"
DynScale 0
ListenHTTP
# localhost, for testing
Address a.b.c.d
Port 80
RewriteLocation 0
HeadRemove "X-Forwarded-Proto"
End
===
=== dom1.conf ====
### special handling for *.check*.geekisp.com
Service "foo1"
HeadRequire "^Host:[ \t]*foo\.bar\.com$"
Backend
Address backend_1
Port 80
end
end
===
=== dom2.conf ===
Service "baz"
HeadRequire "^Host:[ \t]*baz\.bar\.com$"
Backend
Address backend_1
Port 81
end
end
===
That's it. Just 'cat' them all together and you get your pound.conf
file. This would send requests to foo.bar.com to "backend_1" on port 80
and requests to "baz.bar.com" to backend_1 on port 81.
Regards,[...]
|
|
|
Re: [Pound Mailing List] Not a proxy
Dave Steinberg <dave(at)redterror.net> |
2008-09-21 18:08:39 |
[ FULL ]
|
Jean-Pierre van Melis wrote:[...]
DSR, aka Direct Server Return, is not directly supported by pound. You
might be able to make it work if you did some magic, but I haven't heard
of anybody doing it.
Regards,[...]
|
|
|
Re: [Pound Mailing List] socket closing/shutdown
Robert Segall <roseg(at)apsis.ch> |
2008-09-22 17:47:23 |
[ FULL ]
|
On Wed, 2008-09-10 at 12:21 -0400, Albert wrote:[...]
I am quite sure that adding a shutdown() would not hurt. However, having
too many open files is not likely to be related to this, but rather to
the total allowed number of open files.[...]
|
|
|
Re: [Pound Mailing List] pound transparency
IVANCSO Krisztian <pound(at)percek.hu> |
2008-09-22 22:54:02 |
[ FULL ]
|
Hi!
Jean-Pierre van Melis írta:[...]
I was the perpetrator. ;-)
[...]
I don't maintain the code. :-(
I wrote this patch for 2.0 b4.
It needs a special iptables module which does the hard work
(iptable_tproxy implemented by Balabit Ltd.).
The link to the module on page is not up to date.
New link: http://www.balabit.com/downloads/files/tproxy/
Some information about tproxy:
http://www.balabit.com/support/community/products/tproxy/
TProxy is not a cross-platform solution so I think there is no chance to
include in the normal codebase.
Best regatds,
ivan
|
|
|
Re: [Pound Mailing List] pound transparency
Robert Segall <roseg(at)apsis.ch> |
2008-09-23 18:41:49 |
[ FULL ]
|
On Mon, 2008-09-22 at 20:07 +0200, Jean-Pierre van Melis wrote:[...]
If that is what you want, have a look at the OpenBSD pf - I think it
would do this sort of routing.
The original patch seems not to be very portable - as are all
kernel-based solutions.[...]
|
|
|
Re: [Pound Mailing List] LogFacility
Dave Steinberg <dave(at)redterror.net> |
2008-09-28 04:40:49 |
[ FULL ]
|
Anthony L wrote:[...]
There is no such log facility as 'pound'. Read the syslog man page -
there is a small set of predefined facilities. To do what you want,
there's other ways that vary by the specifics of your syslog
implementation. You might ask on a FreeBSD users list and get more
detailed help.
Regards,[...]
|
|
|
Re: [Pound Mailing List]
Albert <pound(at)alacra.com> |
2008-09-29 22:59:23 |
[ FULL ]
|
Yes, there is an "Emergency" directive you can use for "Service", which
will kick in after your BackEnd A becomes unavailable. As soon as
BackEnd A is available, pound will switch to it, and stop sending
requests to the Emergency (BackEnd B) server.
McCollough, Alan wrote:[...]
|
|
|
|
|
|