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 failed
Expected behavior?
Thank you,
Chad
| Linus Torvalds | Linux 2.6.27 |
| Alan Cox | [PATCH 00/76] Queued TTY Patches |
| Greg KH | [patch 10/73] VLAN: Lost rtnl_unlock() in vlan_ioctl() |
| Rusty Russell | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected |
git: | |
| Jakub Narebski | Re: [PATCH] RFC: git lazy clone proof-of-concept |
| Johannes Schindelin | cogito and remote#branch, was Re: [PATCH] Git homepage: remove all the references ... |
| Junio C Hamano | Re: Comments on recursive merge.. |
| Scott Chacon | [PATCH] add a 'pre-push' hook |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| L. V. Lammert | Re: OBSD's perspective on SELinux |
| Richard Stallman | Real men don't attack straw men |
| Juan Miscaro | When will OpenBSD support UTF8? |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alan Cox | Re: [PATCH] alternative to sys_indirect, part 1 |
| Jarek Poplawski | Re: panic 2.6.27-rc3-git2, qdisc_dequeue_head |
| Patrick McHardy | Re: [PATCH 3/3] netdevice: order of synchronization of IFF_PROMISC and IFF_ALLMULTI |
