DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd May 2008
gwl gwl is offline
New User
 
Join Date: May 2008
Posts: 2
Default 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
Reply With Quote
  #2   (View Single Post)  
Old 2nd May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by gwl View Post
Both hoststated (OpenBSD 4.2) and relayd (4.3) give a "syntax error" (nothing more) when I try to use "check script"
My suggestion would be to post to the official misc@ mailing list. Information on subscribing can be found at the following:

http://openbsd.org/mail.html
Reply With Quote
  #3   (View Single Post)  
Old 2nd May 2008
gwl gwl is offline
New User
 
Join Date: May 2008
Posts: 2
Default 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"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 08:44 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick