CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2016/10/07 13:04:44
Modified files: sys/kern : uipc_syscalls.c kern_sysctl.c sys/sys : sysctl.h lib/libc/gen : sysctl.3 Log message: introduce a sysctl to hijack dns sockets. when set to a port number, all dns socket connections will be redirected to localhost:port. this could be a sockopt on the listening socket, but sysctl is an easier interface to work with right now. ok deraadt