c.routes = cfg.get('virtual','routes')
c.max_queue_time = cfg.getint(client_cs, 'max_queue_time')
c.max_batch_up = cfg.getint(client_cs, 'max_batch_up')
+ c.http_timeout = cfg.getint(client_cs, 'http_timeout')
process_cfg_ipif(client_cs,
(('local', 'client'),
#!/bin/sh
-set -e
+set -ex
echo >&2 "$0: invoked as $0 $*"
exec 3<&0 4>&1 5>&2 >&2 </dev/null
+printenv
exec xterm -T netns -e unshare -n -- sh -xc '
- ../userv-utils.git/ipif/service "$@" <&3 >&4 2>&5 &
+ "$@" <&3 >&4 2>&5 &
sleep 0.1
env - bash -i
' x "$@"
ipif = _IpifProcessProtocol(router)
reactor.spawnProcess(ipif,
'/bin/sh',['sh','-xc', command],
- childFDs={0:'w', 1:'r', 2:2})
+ childFDs={0:'w', 1:'r', 2:2},
+ env=None)
def queue_inbound(packet):
ipif.transport.write(slip.delimiter)