On 2019-05-14 15:42, Adam Thompson wrote:
OK, I'm pretty sure this is a dumb question, but...

Does relayd work properly, or at all with pf disabled? (in 6.5-RELEASE)


I have partially answered my own question. That last message was posted prematurely, in more than one way, sorry!

1. the relayd.conf in the previous message was copied-and-pasted from the wrong window, in mid-edit.

2. relayd(8) does not work with pf(4) disabled. I'm unclear if this is a bug, or by design. With pf disabled, it outputs:
root@rt:~# relayd -dv
startup
relayd: pfe: pf is disabled
parent: proc_open: imsg_flush: Broken pipe
ca exiting, pid 37187
ca exiting, pid 79962
ca exiting, pid 95113
root@rt:~# hce exiting, pid 91576
relay exiting, pid 26432
relay exiting, pid 6966
relay exiting, pid 50166

The message "pfe: pf is disabled" looks like an informational message to me, I'm not using any pf features, so it shouldn't matter... but it very much does matter, and relayd exits shortly after starting if pf is disabled.

Pinging @reyk - is this a bug or deliberate?

-Adam

Reply via email to