I'm trying out relayd (as released in 5.4, feel free to suggest I update
if it would help my use case) for transparent outgoing http proxying.
Before I turn to filtering I'd like to look at the traffic, creating a
log of URLs I can sift through daily. I'm having trouble getting it to
log the way I think it should be able to. From looking at the
relayd.conf man page it seems like I should be able to use "log" as an
action in the protocols, but it's unclear how it is to be used. What's
"key" and "value" in relation to the "url"-type? This isn't explained
anywhere that I've seen. Also, the syntax for the configuration
directives for protocols as described in relayd.conf(5) reads:
"[direction] [type] action [marked id] [log]". This would indicate
relayd should be able to log something.
I asked this in #openbsd on IRC (freenode) today, but thought I'd get a
wider reach here. Apoligies for the repetition if you already saw my
question there.
Thanks!
// Daniel