summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hoststatectl/parser.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-01-08 20:46:18 +0000
committerreyk <reyk@openbsd.org>2007-01-08 20:46:18 +0000
commite300b621f8ddeadf9f0bf52336263d70e3f490a4 (patch)
tree929205d3fbd0d1e28f5484be8743ef9808252e3a /usr.sbin/hoststatectl/parser.c
parentNo need to re-init on every media change. (diff)
downloadwireguard-openbsd-e300b621f8ddeadf9f0bf52336263d70e3f490a4.tar.xz
wireguard-openbsd-e300b621f8ddeadf9f0bf52336263d70e3f490a4.zip
do NOT use the regexp interface. it is way to complicated, error-prone
and we don't know about all the possible security problems. change the check send/expect code to use the fnmatch(3) interface using shell globbing rules instead. this allows simple patterns like "220 * ESMTP*" or "SSH-[12].??-*". suggested by deraadt@ and otto@ ok Pierre-Yves Ritschard (pyr at spootnik dot org)
Diffstat (limited to 'usr.sbin/hoststatectl/parser.c')
0 files changed, 0 insertions, 0 deletions