I am working with hoststated and trying to figure out if it will work
for what I want to do. I have some questions that I hope people can
answer for me.kern.version=OpenBSD 4.2-stable (GENERIC) #0: Sun Dec 2 13:43:16 GMT
2007
root@build.amotken.com:/usr/src/sys/arch/i386/compile/GENERIC- where does it log? Even running with -dvv I don't see output that
I am expecting, which could simply be I'm expecting the wrong thing.
For example# from configuration file
protocol httpcustom {
protocol http
header append "$REMOTE_ADDR" to "X-Forwarded-For" log
header append "$SERVER_ADDR:$SERVER_PORT" to "X-
Forwarded-By" log
tcp { nodelay, sack, socket buffer 65536, backlog 128 }
}Results in the following output when run with -dvv
protocol 0: name httpcustom
flags: 0x0004
type: http
request append "$SERVER_ADDR:$SERVER_PORT" to "X-
Forwarded-By"
request append "$REMOTE_ADDR" to "X-Forwarded-For"Note the log action is gone. When I hit the service with a browser
and watch the tcpdump on the web server, the headers are added,
great. But I don't see any evidence of it from hoststated. I'm
trying to see if/how I would have hoststated go about looking at the
Host: header in HTTP. Figured I'd start with the example and work
from there. I'm wondering if hoststated can replace squid in front
of a couple of name based virtual http servers, thus the need to get
at the host header to find/lookup the destination.Also hoststatectl reload does not work for me.
root@soekris root# hoststatectl reload
command failedExpected behavior?
Thank you,
Chad
| Benjamin Herrenschmidt | Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway |
| Ulrich Drepper | Re: [patch 7/8] fdmap v2 - implement sys_socket2 |
| Washington Odhiambo | Weird Problem with NAT - more details |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| David Miller | Re: [GIT]: Networking |
