|
OpenBSD Security Functionally paranoid! |
|
Thread Tools | Display Modes |
|
|||
relayd (and hoststated) give syntax error for 'check script'
Both hoststated (OpenBSD 4.2) and relayd (4.3) give a "syntax error" (nothing more) when I try to use "check script"
redirect "mysql" { listen on $external_mysql port 3306 interface em0 tag REDIRECTED forward to <mysqlhosts> port 3306 timeout 300 check script /opt/checkmysql } relayd -n /etc/relayd.conf:68: syntax error It's the same thing with hoststated on bsd 4.2. Before I file a bug, anyone use this before and/or what am I doing wrong? TIA -Gerry Lawrence gwlperl@gmail.com PS Yes, I know this is a public forum and emails in the clear are bad but this email address gwlperl@gmail.com is on ALL the public forums and google does a great job of dealing with all the spam -- thanks for your concern -gwl Edit/Delete Message |
|
|||
Quote:
http://openbsd.org/mail.html |
|
|||
re: Both hoststated (OpenBSD 4.2) and relayd (4.3) give a "syntax error"
Ok, I figured this out. check script needs the script to be quoted..
So this works: forward to <mysqlhosts> port 3306 timeout 300 check script "/opt/checkmysql" |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C/C++ Syntax highlighting in emacs | rex | FreeBSD General | 1 | 12th October 2008 03:21 AM |
relayd won't work with multiple relays | d0z3r | OpenBSD General | 0 | 26th June 2008 09:58 AM |
Syntax Highlighting | JMJ_coder | Programming | 17 | 22nd June 2008 02:24 PM |
I need help with make.conf syntax | troberts | FreeBSD Ports and Packages | 4 | 1st June 2008 03:58 AM |
Vi type syntax applications | corey_james | Off-Topic | 9 | 28th May 2008 04:15 PM |