Hi,

fixed on -current.  Thank you for the report.

On Fri, 29 May 2015 13:13:33 +0200 (CEST)
[email protected] wrote:
>>Synopsis:     
>>Category:     Relayd
>>Environment:
>       System      : OpenBSD 5.7
>       Details     : OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 
> 2015
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
>>Description:
> 
> Relayd with a redirect and a forward to with mode source-hash
> panics OpenBSD on a configuration reload with the message:
> 
> kernel: integer divide fault trap, code=0
> Stopped at      pf_map_addr+0x86f:   divq   %rsi, %rax
> ddb{0}>
> 
> 
>>How-To-Repeat:
> 
> Use this relayd.conf
> 
> table <test_hosts> { 10.0.0.11 retry 3, 10.0.0.12 retry 3, 10.0.0.13 retry 3 }
> 
> redirect test {
>   listen on 92.43.216.206 port 80:443
>   forward to <test_hosts> mode source-hash check tcp
> }
> 
> 
> start some http requests to the Listen IP and do a relayctl reload.
> OpenBSD panics every time.
> 
> This problem exists in the v. 5.7 and also in the current.
> 
>>Fix:
> 
> Don't reload relayd with relayctl reload after a configuration change. 
> Restart the deamon with /etc/rc.d/relayd restart instead.

Reply via email to