Unix Technical Forum

relayd: relays and sorry server

This is a discussion on relayd: relays and sorry server within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Hi all, i've just started to play with relayd (ex hoststated) and i'm tring to setup a layer 7 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-14-2008, 02:25 AM
DeepBlue
 
Posts: n/a
Default relayd: relays and sorry server

Hi all,

i've just started to play with relayd (ex hoststated) and i'm tring to
setup a layer 7 proxy for a group of web servers.

It works like a charm, but i can't setup a sorry server.
This is my configuration:


interval 2
prefork 10

ext_addr="10.200.1.2"
webhost1="192.168.4.24"
sorry="192.168.4.7"

table <pluto> { $webhost1 }
table <sorry_pluto> { $sorry }

http protocol "pluto_web" {
request header expect "pluto.mydomain.tld" from "Host"
}

relay relay_pluto {
listen on $ext_addr port http
protocol "pluto_web"
forward to <pluto> check http "/apache2-default/" code 200
forward to <sorry_pluto> check http "/apache2-default/" code 200
}

when i launch relayd -dvf /etc/relayd.conf i obtain this:

/etc/relayd.conf:35: table already specified
no redirections, nothing to do

Is it possibile to set a sorry server with relays?
Any kind of help will be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com