DeleGate runs to do the specified function
which typically is a client-side action of a certain protocol.
You can omit entering lengthy "delegated -F" by
giving a file name " function function" to an DeleGate executable file
and just call it as function.
The matching of function name is case-insensitive.
Command line options before -F
function and after "--" option
is regarded as options for DeleGate rather than for the function,
as delegated dgopt ... dgopt
-F func fopt ... fopt
-- dgopt ... dgopt.
As an exception, parameter option, in name= value format,
is recognized as a parameter for DeleGate even if it appeared at
Example: using DeleGate as a resolver
% delegated -Fresolvy www.delegate.org
% ln -s delegated Resolvy
% Resolvy www.delegate.org
The following is a list of major functions.
put a list of available functions
port terminate (or restart) the DeleGate sending
SIGTERM (or SIGHUP)
implant configuration parameters into the executable file
DeleGateOptions] run as a CGI program of an arbitrary HTTP server
host port[/udp] [XCOM= clientCommand] like a telnet client, connect to the specified host: port
and relay the standard I/O to/from it.
hostname | IPaddress[- num]} like nslookup(8), resolve a given host name or IP address
(can be a range as 10.10.10.1-128)
-Ffindu [-atime N] [-ls] [-du] [-rm] ... [ dir]*
like find(1), find a file to apply a specified action.
Usage will be shown by "delegated -Ffindu".
Example: doing "find . -ls" together with "du(1)"
delegated -Ffindu -ls -du -Fdget [-h] [-o] [-e
encoding] [PROXY= host: port]
[ MYAUTH= user: pass] URL download a resource specified by ,
and put to standard output with "-o" option.
With "-h" option, the header part of a URL HTTP response message will be put
-Ficp [-h server]
URL work as an ICP client.
Usage will be shown by "delegated -Ficp".
" | crontabSpec crontabFile | schedSpec}*
like cron(8), cause specified actions at specified timing.
Example: cause an action every 15 minutes
delegated -Fsched "0,15,30,45 * * * * /bin/date"
schedSpec is the canonical format of scheduling specification.
Example: cause an action every 15 seconds schedSpec == Wday: year: month: mday: Hour: Min: Sec: action
delegated -Fsched "*:*:*:*:*:*:0,15,30,45:/bin/date"
infile] output the MD5 digest of input data
username[: password] hostname[: portnumber] [ expire] Add, delete or view predefined (or cached) authorization information
hostname as a server for AUTHORIZER.
If hostname is prefixed with "-", it is regarded as a virtual name
without a real server.
delegated -Fauth -a ken:blahblah -smtp.users.local
// and refer this as