BBMESSAGE.CGI
Section: User Commands (1)
Updated: Version Exp: 11 Oct 2005
Index
Return to Main Contents
NAME
bbmessage.cgi - CGI program receiving Hobbit messages sent over HTTP
SYNOPSIS
bbmessage.cgi
DESCRIPTION
bbmessage.cgi
is invoked as a CGI script. The purpose of this CGI is to
forward incoming Hobbit status-messages sent via HTTP
to the local Hobbit daemon running on the same server as the web
server. This allows for sending messages via
HTTP from clients and network-test programs. It is thus
the server-side component of the
bb(1)
client for tunnelling Hobbit traffic over HTTP.
The CGI expects to be invoked from an HTTP "POST" request,
with the POST-data being the status-message.
bbmessage.cgi
simply collects all of the POST data, and send it off as
a message to the bbd daemon running on IP 127.0.0.1. This
destination IP currently cannot be changed, except by
changing the sendmsg.c C source-file.
The CGI will return any output provided by the bbd daemon
back to the requestor as the response to the HTTP POST,
so this allows for the bbgen protocol extensions "query"
and "config".
SEE ALSO
bb(1), bb-hosts(5), hobbitserver.cfg(5), hobbit(7)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 11:36:06 GMT, October 11, 2005