About to be obsolete program; check in to preserve in case we want it back.
[userv-utils] / ipif / udptunnel-vpn-defaults
CommitLineData
2dba6494 1SET( lcommand, [udptunnel])
f685ef8c 2SET( crypto,
3 [-e nonce -e timestamp/10/30 -e pkcs5/8 \
4 -e blowfish-cbcmac/128 -e blowfish-cbc/128])
2dba6494 5
6SET( lpublic, [`hostname`])
7SET( lport, [Any])
8m4_dnl rpublic -- usually set in sites
9SET( rport, [Command])
10m4_dnl lend -- usually set in global
11m4_dnl rend -- usually set in sites
12SET( mtu, [1000])
13SET( proto, [cslip])
14SET( to_poll, [30])
15SET( to_quit, [130])
16SET( to_report, [1800])
17SET( timeouts, [V_to_poll,V_to_quit,V_to_report])
18SET( lnets, [-])m4_dnl often overridden in global
19SET( rnets, [-])m4_dnl often overridden in sites
f685ef8c 20SET( forbid_remote, [V_lnets])
2dba6494 21
22SET( rcommandprefix, [])
23SET( rcommand, [V_rcommandprefix udptunnel])
24
f685ef8c 25SET( sshprotoka, [-o 'ProtocolKeepAlives 300'])
26SET( sshstdopts, [-o 'ForwardAgent no' -o 'ForwardX11 no' -o 'BatchMode yes'])
27SET( sshverbose, [-v])
28SET( ssh,
29 [ssh V_sshstdopts \
30 V_sshprotoka V_sshverbose])
31
2dba6494 32SET( sshdest, [V_rpublic])
33
34SET( sites, [sites])
35SET( tunnels, [tunnels])
36
f685ef8c 37SET( varlib, [/var/lib/udptunnel-vpn])
38
39SET( ipifnetsfile, [V_varlib/ipif-networks])
40SET( activesfile, [V_varlib/active-sites])
41SET( activesxinfo, [])
42SET( passivesfile, [passive-sites])
43SET( passivesxinfo, [])
44
45SET( postconfigure, [])
46
47SET( invoke_file, [V_varlib/V_site.command])
48SET( invoke_head, [#!/bin/sh])
49SET( invoke_hook, [])
50
51SET( syslog_facility, local2)
52SET( syslog_priority, info)
53
54SET( inittab_runlevels, 2345)
55SET( inittab_fragfile, [inittab-fragment])
56SET( inittab_pfx, [])
57SET( inittab_sfx,
58 [2>&1 | logger -p V_syslog_facility.V_syslog_priority -t tunnel-V_site])
59SET( inittab_command,[V_inittab_pfx V_invoke_file V_inittab_sfx])
60SET( inittab_line, [V_inittab_runlevels:respawn:V_inittab_command])
61
62SET( invoke_body,
63[set -e
64V_invoke_hook
65echo "STARTING TUNNEL `date`" >&2
66V_command
67rc=$?
68echo "TUNNEL CLOSED rc=$rc" >&2
69exit $rc
70])
71
2dba6494 72m4_dnl lgroup -- usually set in global
73
f685ef8c 74SET( command,
75[V_lcommand \
76 V_crypto \
77 V_lpublic,V_lport \
78 V_rpublic,V_rport \
79 V_lend,V_rend,V_mtu,V_proto \
80 V_timeouts \
81 V_rnets \
82 V_lnets \
83 V_ssh \
84 V_ruser@V_sshdest \
85 V_rcommand
86 ])