Skip to content

Commit

Permalink
Work around issue in /etc/rc.d/routing
Browse files Browse the repository at this point in the history
The loop in _check_dynamicrouting() to check for enabled routing daemons
hangs with rcorder in the foreground, seemingly forever.  When run
manually with an equivalent commandline, the command runs fine so
presumably something about the subshell environment is broken in certain
cases.  More debugging is required, but it is difficult as part of the
startup progress.

Thus, disable this check entierly by setting icmp_drop_redirect=NO.
  • Loading branch information
brooksdavis committed Jun 28, 2023
1 parent 9b7f2fc commit 22d72dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rc/rc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ log_in_vain="0" # >=1 to log connects to ports w/o listeners.
tcp_keepalive="YES" # Enable stale TCP connection timeout (or NO).
tcp_drop_synfin="NO" # Set to YES to drop TCP packets with SYN+FIN
# NOTE: this violates the TCP specification
icmp_drop_redirect="auto" # Set to YES to ignore ICMP REDIRECT packets
icmp_drop_redirect="NO" # Set to YES to ignore ICMP REDIRECT packets
icmp_log_redirect="NO" # Set to YES to log ICMP REDIRECT packets
network_interfaces="auto" # List of network interfaces (or "auto").
cloned_interfaces="" # List of cloned network interfaces to create.
Expand Down

0 comments on commit 22d72dc

Please sign in to comment.