I have this pf.conf file for testing:
I'm getting the
edited: I commented out the
Code:
#Test configuration
#Macros
tcp_services="{ ssh, smtp, domain, www, pop3, auth, https, pop3s, ntp, bootpc }"
udp_services="{ ntp, bootpc }"
#------------------------------------
# Block all connection to start with
block all
# Open outbound tcp and udp macros
pass in proto tcp to port $tcp_services
pass in proto udp to port $udp_services
# Open inbound tcp and udp macros
pass out proto tcp to port $tcp_services
pass out proto udp to port $udp_services
I'm getting the
ntpd_initres[<pid>]: host name not found: x.freebsd.pool.ntp.org error.edited: I commented out the
block all line and everything works fine. So it seems that either ntpd_initres doesn't use the standard udp / tcp ntp 123 port, or it starts before the pf.conf file is loaded. In the man 8 ntpd() file, the description section states that this daemon uses the NTP protocol (and therefore I'm assuming port 123). What am I missing ? Thanks.