atavism/badvpn

Failed to parse arguments if <human_name_of_TUN_device> contains spaces

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
1. Install OpenVPN
2. Default name of device is something like "Local Area Connection 3"
3. Use that name to start tun2socks i.e.

badvpn-tun2socks --tundev tap0901:Local Area Connection 
1:10.0.0.1:10.0.0.0:255.255.255.0 --netif-ipaddr 10.0.0.2 --netif-netmask 
255.255.255.0 --socks-server-addr 127.0.0.1:1080

What is the expected output? What do you see instead?

Should find the device and run but returns an error 'Failed to parse arguments'

What version of the product are you using? On what operating system?

1.999.127rc1


Because we cannot control the name that Windows gives to the device I would 
like to be able to put the default name into the tun2socks program and it work.

Is this  possible to fix?

Thanks

Original issue reported on code.google.com by mi...@wangled.com on 12 Mar 2013 at 9:56

This has nothing to do with tun2socks. Use double quotes, like you would to 
pass arguments with spaces to any other program.

Original comment by ambr...@gmail.com on 12 Mar 2013 at 12:42

  • Changed state: Invalid
Ah yes I see

Original comment by mi...@wangled.com on 12 Mar 2013 at 3:58