Home | History | Annotate | Download | only in scripts

Lines Matching refs:CLIENT

5 ## at the browser client machine you'll be coming from [to limit access to
7 ## machine running this. Takes a single argument of the client that will
40 # prelaunch check: if no current client and no args, bail.
41 case "${1}${CLIENT}" in
43 echo needs client hostname
54 nc -w 600 -n -l -p $PORT -e "$0" $XNC "$CLIENT" < /dev/null > /dev/null \
59 # no client yet and had an arg, this checking can be much slower now
72 # correct launch: set up client access control, passed along thru environment.
73 CLIENT="$1"
74 export CLIENT
84 # ping client machine and get its bare IP address
85 CLIENT=`nc -z -v -w 8 "$1" 22000 2>&1 | sed 's/.*\[\(..*\)\].*/\1/'`
86 test ! "$CLIENT" && echo "Can't find address of $1" && exit 1
89 echo "=== Launch: $CLIENT" >> $LFILE
90 echo "Proxy running -- will accept connections on $PORT from $CLIENT"
95 nc -v -w 600 -n -l -p $PORT -e "$0" $XNC "$CLIENT" &