GithubHelp home page GithubHelp logo

billhibazzz / ics-openvpn Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 61.9 MB

Automatically exported from code.google.com/p/ics-openvpn

Makefile 1.00% C++ 2.94% C 70.49% Shell 4.60% AGS Script 0.10% Assembly 8.21% Objective-C 0.02% Perl 9.26% Python 0.03% XS 0.02% eC 0.02% JavaScript 0.02% HTML 0.12% Java 3.18%

ics-openvpn's People

Contributors

schwabe avatar wwweagle avatar

Watchers

 avatar

ics-openvpn's Issues

VPNService api not supported

What steps will reproduce the problem?
1. Try to connect with Xperia Ray (ICS: Android 4.0.3 / Kern: 2.6.32.9)
2. Failure: "Your image does not support VPNService API, sorry :("

What is the expected output? What do you see instead?
It should at least try to connect.


What version of the product are you using? On what operating system?
0.5.6 on Xperia Ray (ICS: Android 4.0.3 / Kern: 2.6.32.9)

Please provide any additional information below.
No more info

Original issue reported on code.google.com by [email protected] on 23 May 2012 at 12:50

Connection stopped working since the last update

What steps will reproduce the problem?
1. Run version 0.5.0
2. Happily use your VPN connection
3. Upgrade to the latest version (0.5.1)

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

OpenVPN fails to initialize a connection, with the following error
"Error writing minivpn binary"

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

Original issue reported on code.google.com by [email protected] on 10 May 2012 at 7:25

Weird DNS server after successfull connection (131.234.137.23, net1.uni-paderborn.de)

What steps will reproduce the problem?
1. Connect to the VPN
2. Try to resolve internal systems

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

Since internal DNS names cannot be resolved over an external DNS server, only 
IP-based access seems to be possible right now

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

Latest Version (16.04.2012)




Original issue reported on code.google.com by [email protected] on 20 Apr 2012 at 5:11

ccd file, ifconfig-up directive

Version 0.4.8b effectively closes issue 6.

Now, when i have a ccd file (server side) for an android client, it always 
remembers the ifconfig-up line disregarding server restart or ccd file change. 
(i've cleaned the cache too, just in case)

Another issue is that trying to recconect after this error returns an "Address 
already in use" error. i have to clean memory (trought application manager) and 
re-open openvpn client to at least get to the point when it complainns about 
the  IP address (even when the ccd file it's empty) it bails with: "Cannot make 
sense of x.x.x.x and x.x.x.x as a local IP with CIDR netmask. assuming second 
address is peer address of remote. Using /32 netmask for local IP"

All ip addresses are valid (i even tried with the /30 Win32 limitation pairs)



Original issue reported on code.google.com by [email protected] on 5 May 2012 at 4:48

Connection with pulled settings doesn't route

Using version 0.5.4 on a HTC Sensation.

When using pull settings I get a coonection, but I can't get any trafic passing 
the vpn tunnel.

In the log,
P:WRRWRPUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 
255.255.255.0,route 192.168.99.1,topology net30,ping 10,ping-restart 
120,ifconfig 192.168.99.30 192.168.99.29'
P:OPTIONS IMPORT: timers and/or timeouts modified
P:OPTIONS IMPORT: --ifconfig/up options modified
P:OPTIONS IMPORT: route options modified
P:ROUTE_GATEWAY 10.44.42.81/255.255.255.252 IFACE=rmnet0 
HWADDR=00:00:00:00:00:00
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Got interface information 192.168.99.30 and 192.168.99.29, assuming second 
address is peer address of remote. Using /32 netmask for local IP.

In Android ADB,
app_42@android:/ $ ip route show
default via 90.236.77.198 dev rmnet0
90.236.77.196/30 dev rmnet0  proto kernel  scope link  src 90.236.77.197
90.236.77.198 dev rmnet0  scope link
192.168.1.0/24 dev tun0  scope link
192.168.99.1 dev tun0  scope link


I can get a working client by setting static ip:

static ip = 192.168.99.30/30
Custom routes = 192.168.1.0/24

In Android ADB, 
255|app_42@android:/ $ ip route show
default via 10.168.221.61 dev rmnet0
10.168.221.60/30 dev rmnet0  proto kernel  scope link  src 10.168.221.62
10.168.221.61 dev rmnet0  scope link
192.168.1.0/24 dev tun0  scope link
192.168.99.28/30 dev tun0  proto kernel  scope link  src 192.168.99.30

I have tried with a /32 mask instead of /30, but that will break the function.


It looks to me like the problem is that a /32 mask is used when settings are 
pulled. Also the pulled setting "topology net30" points in that direction.
Pulling settings versus static ip might differ in some other way to make the 
difference ...

Original issue reported on code.google.com by [email protected] on 18 May 2012 at 12:01

Problem resolving hostnames to ip address

What steps will reproduce the problem?
1. Type in a hostname to connect.
2. Connect.

What is the expected output? What do you see instead?
It resolves the hostname and connects.

Instead I see lots of lines like this:
P:RESOLVE: Canot resolve host address: my.host.name: [TRY_AGAIN] A temporary 
error occurred on an authoritative name server.
P:SIGUSER1[soft,init_instance] received, process restarting

If I use an IP address instead of the hostname, it connects and works!

OpenVPN for Android
version 0.5.4

Original issue reported on code.google.com by [email protected] on 18 May 2012 at 9:23

Support username/password authentication

What steps will reproduce the problem?
1. Add --auth-user-pass to Obscure/Custom Options
2. Attempt to connect to a server which requires certificates + 
username/password authentication


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

We would expect the user to be prompted for a username and password.  Instead 
the log output throws this error:  "Sorry, but I can't get console input on 
this OS"


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

0.4.5 on Android 4.0.4 (Verizon Galaxy Nexus)


Please provide any additional information below.

Thanks for this software!  It's great to see OpenVPN on Android without 
requiring root access.

Original issue reported on code.google.com by [email protected] on 30 Apr 2012 at 8:23

Log page provides insufficient details to troubleshoot issues

What steps will reproduce the problem?
1. Complete settings page
2. Click connect

What is the expected output? What do you see instead?
Expected: Results from command line
Actual: Command line rune

What version of the product are you using? On what operating system?
Latest market release (0.3a?)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Apr 2012 at 9:59

Wi-Fi hotspot enabled on host device with OpenVPN connected... connected client devices have no internet

What steps will reproduce the problem?
1. Enable "Portable Wi-Fi hotspot" on device1
2. Connect device2 to device1 via Wi-Fi like you would with a router
3. Attempt to connect to the internet

What is the expected output?
The internet to work as normal on device2 except it's all rerouted through the 
OpenVPN connection on device1

What do you see instead?
I get no response on device2 and eventually times out ( any application that 
requires internet )

What version of the product are you using? 0.5.6

On what operating system? Android 4.0.4 Build IMM76I ( device1, stock, not 
rooted )

Please provide any additional information below.

device1 - Samsung Galaxy Nexus Android - 4.0.4 Build IMM76I ( stock, not rooted 
)
device2 - Samsung Galaxy Tab 10.1 - Android 3.2 ( stock, not rooted )

Original issue reported on code.google.com by [email protected] on 26 May 2012 at 8:22

Wrong openvpn program path in 0.5.1

After upgrading to 0.5.1, it fails to connect nor give any log entries.

What steps will reproduce the problem?
1. Launch app
2. Connect to any VPN profile


Upon trying to connect, you see in the log window: "Building configuration..." 
and nothing else.
From logcat, you get:

W/System.err(15347): java.io.IOException: Error running exec(). Command: 
[/data/data/de.blinkt.openvpn/cache/openvpn, --config, 
/data/data/de.blinkt.openvpn/cache/android.conf, script-security, 0] Working 
Directory: null Environment: [ANDROID_SOCKET_zygote=9, ANDROID_BOOTLOGO=1, 
EXTERNAL_STORAGE=/mnt/sdcard, ANDROID_ASSETS=/system/app, 
PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, 
ASEC_MOUNTPOINT=/mnt/asec, LOOP_MOUNTPOINT=/mnt/obb, 
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/syste
m/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framewo
rk.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/syst
em/framework/apache-xml.jar:/system/framework/filterfw.jar, ANDROID_DATA=/data, 
LD_LIBRARY_PATH=/vendor/lib:/system/lib:/data/data/de.blinkt.openvp



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

OpenVPN for Android 0.5.1
Android: 4.0.3 ICS

It appears that only the path to the "minivpn" executable is wrong:

diff -r 2a3798595819 src/de/blinkt/openvpn/VpnProfile.java
--- a/src/de/blinkt/openvpn/VpnProfile.java Thu May 10 00:56:14 2012 +0200
+++ b/src/de/blinkt/openvpn/VpnProfile.java Thu May 10 17:50:25 2012 +1000
@@ -357,7 +357,7 @@

        // Add fixed paramenters
        //args.add("/data/data/de.blinkt.openvpn/lib/openvpn");
-       args.add(cacheDir.getAbsolutePath() +"/" +"openvpn");
+       args.add(cacheDir.getAbsolutePath() +"/" +"minivpn");

        args.add("--config");
        args.add(cacheDir.getAbsolutePath() + "/" + OVPNCONFIGFILE);


Original issue reported on code.google.com by [email protected] on 10 May 2012 at 7:53

Bad conversion of netmask

Version 0.4.6

Using pull from server.
Gets netmask in dotted form with last number as netbits, ex 192.168.99.29, ie 
29 netbits, should be 192.168.99.248.

Static ip gets netbits as hostbits (32 - x).
The same goes for custom route.


Original issue reported on code.google.com by [email protected] on 1 May 2012 at 11:21

Support TAP via emulation

I know that the VpnService does not support TAP.
But theres firewalls and VPN routers there that does not allow TUN as VPN mode.

So what I suggest, is some sort of "emulated" TAP mode, so it will still use 
TUN in the backend (eg in the VPN service of android), but it will communicate 
with the server as if it was a TAP OpenVPN client.

Basically, it "emulates" TAP mode, and tricks the server into thinking the 
client is TAP, but still it use TUN in the lower ends.

The problem is that the server reject the connection if TAP/TUN mismatch 
between server/client.

Original issue reported on code.google.com by [email protected] on 1 Jul 2012 at 12:34

No console input with certificate authentication

What steps will reproduce the problem?
1. Create a new profile
2. Set authentication type to Certificate (NOT android-certificate)
3. Try to connect to VPN

What is the expected output? What do you see instead?
Establishing of connection fails, log output: MGMT:Got unrecognized 
command>FATAL:Sorry, but I can't get console input on this OS
(see attached openvpn-cert.txt)
It doesn't matter if certificates are imported or just selected.

OpenVPN config in attached config.png

What version of the product are you using? On what operating system?
Version 0.5.4 (via Market), Galaxy Nexus with stock ICS 4.0.4, no-root

Please provide any additional information below.
When I change the authentication to username and password, the OpenVPN Client 
communicates with the server (but connection fails of course, because server 
does not allow username/password). See attached logfile openvpn-password.txt

Original issue reported on code.google.com by [email protected] on 17 May 2012 at 8:14

Attachments:

no way to enter user/password

What steps will reproduce the problem?
1.No way to enter a user/password combo
2.My server requires user password authentication using auth-user-pass

Is there a way to enter it using custom commands that I'm not aware? Could a 
user/pass combo be implemented?

Thanks

Original issue reported on code.google.com by silviu.vulcan on 7 May 2012 at 6:15

Socket bind failed: Address already in use

What steps will reproduce the problem?
1. Successfully open a vpn connection
2. Close the connection with the X button in the OpenVPN Log activity
3. Try to connect to a vpn connection again

What is the expected output? What do you see instead?
The second connection attempt gives me the error message
"FATAL:TCP/UDP: Socket bind failed on local address [undef]: Address already in 
use", but it should connect successfully again.

What version of the product are you using? On what operating system?
OpenVPN for Android v0.4.10 on Galaxy Nexus GSM with Android 4.0.4

Please provide any additional information below.
Looks like the socket used by openvpn is not closed correctly when shutting 
down the vpn connection. See log.txt for LogCat log.

Original issue reported on code.google.com by [email protected] on 8 May 2012 at 10:40

Attachments:

Cannot create a connection

What steps will reproduce the problem?
1. Try to add a profile (in my case a certificate only authenticated profile)
2. Try to connect


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

Expected: Connection

Instead, getting 
argv:[openvpn --config /data/data/de.blinkt.openvpn/cache/android.conf]
Options Error: Temporary Directory (--tmp-dir) fails with '/tmp': Read-only 
Filesystem


What version of the product are you using? On what operating system?
Last version (0.4.7) on Galaxy SII with ICS 4.0.3

Please provide any additional information below.
Tried to change --tmp-dir with custom options, to a folder on the external_sd 
but even that failed.

Original issue reported on code.google.com by [email protected] on 4 May 2012 at 10:58

Cannot change Remote port number

What steps will reproduce the problem?
1.Go Into profile settings
2.change port
3. switch to a different menu item.
4. Switch back to Basic Settings

What is the expected output? What do you see instead?
The port should remain set to what you configured it as.


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

Using latest version on market. Android ICS 4.0.3


Please provide any additional information below.

Would love to use this for my VPN needs, however my VPN server uses a different 
port and am unable to try this out as the port will not change.

Original issue reported on code.google.com by [email protected] on 10 May 2012 at 11:11

Enhancement / Security concerns

Hi,

Thank you for the very useful application. I'm currently using it and I'm very 
happy with it so far, beside for one detail.

It'd be great if you provided a way to copy the certificates / keys under the 
application's own data directory (somewhere in /data/data/de.blinkt.openvpn).

As the application is conceived today, people on non-rooted phones are forced 
to put those files in the sdcard, which is too easily accessible to so many 
applications that makes the whole concept of "keeping your key secure" a bit 
worthless.

Original issue reported on code.google.com by [email protected] on 9 May 2012 at 4:57

  • Blocking: #14

Authentication data is ignored in import

What steps will reproduce the problem?
1. Open a file which contains a link to another file containing username and 
password data

What is the expected output? What do you see instead?
The username and password data should be automatically filled in, instead they 
are silently discarded. The parse information make no mention of what happened 
to them.


What version of the product are you using? On what operating system?
0.5.9b on Android 4.0.4 (Samsung IMM76D.I9300XXALF2)

Please provide any additional information below.
Attached are a sample that has failed to be parsed (the password and username 
are changed to dummy values).

These have parsed correctly with other programs I have tested, but that doesn't 
mean they are error free (though I can't see any errors in either). So I can 
only presume they are not the problem.

Maybe this isn't yet a feature of the app (which is very VERY good as it is) 
but it would be at least helpful if it showed up in the parse info, that the 
username and password data were ignored for this reason.

Original issue reported on code.google.com by [email protected] on 2 Jul 2012 at 5:24

Attachments:

UI gets stuck in the log viewer

What steps will reproduce the problem?
1. Startup openVPN via shortcut on the home-screen
2. Connect to VPN
3. Switch application to web-browser
4. open OpenVPN again via home-screen
5. It's not possible to close the log screen and start a new connection

Workaround:
in step 4.: open openVpn via the application drawer.


Original issue reported on code.google.com by [email protected] on 18 May 2012 at 10:25

Build Instruction

I am trying to understand how this project works so I could help you out a bit, 
but to do that I would need to build this project and see on debugger whats, 
and where, is going one.

So, I would like to ask you for little favor - could you create some build 
instructions for this project? :). 

Thanks!

Original issue reported on code.google.com by [email protected] on 25 May 2012 at 10:39

spelling fixes


I noticed some spelling errors here and there in the UI bits. the attached 
patch is the result of running aspell over res/values/strings.xml , plus some 
more things that I noticed and aspell can't catch.

Original issue reported on code.google.com by [email protected] on 19 Jun 2012 at 3:24

Attachments:

Lost all items in list VPNs

What steps will reproduce the problem?
1. Force Closed OpenVPN from tasklist
2. Normaly Close OpenVPN and restart phone

What is the expected output? What do you see instead?
Lost all items in VPNs list 

What version of the product are you using? On what operating system?
OpenVPN 0.5.3
Samsung Galaxy S II + ICS (4.0.3)


Original issue reported on code.google.com by [email protected] on 13 May 2012 at 11:52

Persistent "I trust this application" prompt

What steps will reproduce the problem?
1.  Connect to a VPN
2.  Agree to "I trust this application" prompt
3.  Re-connect to the same VPN
4.  See "I trust this application" propmt again

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

I expect that the prompt will only appear for the first connection attempt.  
After you agree to trust the application you should not be prompted on 
subsequent connections.


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

Openvpn for Android 0.5.5a on Android 4.0.4


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 20 May 2012 at 10:30

Attempt to resolve non-existant TUN issues on custom roms

As per the message when the TUN object doesn't exist or isn't readable, this 
may be due to a custom ROM which hasn't correctly created the TUN object. As 
many of these ROMs also ship with root access, perhaps the app could try 
creating it's own TUN object if the one in /dev doesn't exist or is broken.

I would suggest this shouldn't disrupt the contents of /dev so perhaps you 
could create it in the data directory for the app.

You could add to the settings "use our TUN device" if it exists, which means it 
could be disabled if you've used something like Titanium Root to copy all the 
app configs, which may include the newly created TUN object. 

Original issue reported on code.google.com by [email protected] on 27 May 2012 at 8:54

use of pc config file

What steps will reproduce the problem?
Is there a way to use the same config file as the one I use on my PC?
Where is the config file located? Can I edit it manually?
Auto generated config file is different than the one from my PC and I can't get 
the VPN to work. PC file attached.

OS is Android ICS
Platform Asus eee transformer prime.
Version installed 0.4.10


Original issue reported on code.google.com by [email protected] on 10 May 2012 at 7:14

  • Blocked on: #13

Attachments:

Typo in Genereted Config

What steps will reproduce the problem?
1. Add VPN with Static Key
2. Look at Generated Config
3.

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

the keyword "secret" is misspelled in the generated config -> "scecret"

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

OpenVPN for Android 0.5.4
Android 4.0.3 on Asus TF201
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 May 2012 at 4:17

makes etoro app crash

What steps will reproduce the problem?
1.run openvpn
2.run etoro app
3.crashes

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


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


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Jun 2012 at 11:33

Feature request: Add option to disable notifications

Thanks for the nice app!

At the moment the app displays a notification and plays a sound every time it 
establishes a connection. This can be quite annoying if you are in an 
environment with bad 3G quality... 

An option to disable at least the sound would be quite nice.

Original issue reported on code.google.com by [email protected] on 7 Jun 2012 at 7:04

HTC not routing through tunnel.


On HTC Sensation XE when you run ics-openvpn, it connects as expected, however 
nothing is routed through the tunnel.

This is because of an HTC idiosyncrasy regarding "ip rule" tables.
Described in this issue: 
http://code.google.com/p/android-openvpn-settings/issues/detail?id=35

I'm not sure this can be dealt with without root.

But "up"/"down" commands would help, letting you change the routes manually.


currently I run this script as root after:
vpn up:
--------8<--------
#!/system/xbin/busybox ash

tun=tun0

ip route show dev $tun table main scope link | while read r; do
    case "$r" in
        *" "*)
            true
            ;;
        *)
            ip route del dev $tun $r
            ip route add dev $tun $r table vpn
            ;;
    esac
done
ip rule show | while read no r; do
    if [ $no != 0: ]; then
        case "$r" in
            "from all lookup vpn")
                no=${no/:/}
                break
                ;;
            "from all lookup"*)
                no=$((${no/:/} - 1))
                ip rule add pref $no from all lookup vpn
                break
                ;;
        esac
    fi
done

--------8<--------
and after:
vpn down:
--------8<--------
#!/system/xbin/busybox ash


ip route show table vpn scope link | while read l; do
    ip route del $l
done
ip rule show | while read no r; do
    case "$r" in
        "from all lookup vpn")
            no=${no/:/}
            ip rule del pref $no from all lookup vpn
            break
            ;;
    esac
done
--------8<--------

Original issue reported on code.google.com by [email protected] on 11 May 2012 at 8:23

Custom DNS does not work

What steps will reproduce the problem?
1. Define custom DNS settings
2. Connect to VPN
3. Try to use DNS server

What is the expected output? What do you see instead?
I expect that my mobile phone will use the custom DNS servers but the system 
still uses the original DNS servers.

What version of the product are you using? On what operating system?
0.5.6 on Stock-ROM of Samsung Galaxy S2 with ICS 4.0.3

Please provide any additional information below.

Settings:
[...]
route-nopull
route 10.0.0.0 255.0.0.0
dhcp-option DNS 4.4.4.4
dhcp-option DNS 8.8.8.8

Log-File:

P:Options error: option 'route' cannot be used in this context
P:Options error: option 'redirect-gateway' cannot be used in this context
P:Options error: option 'dhcp-option' cannot be used in this context

[...]

Building configration...
P:OpenVPN 2.3_alpha1 arm-linux-androideabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] 
[PF_INET6] [IPv6 payload 20110522-1 (2.2.0)] built on May 21 2012
P:WARNING: Make sure you understand the semantics of --tls-remote before using 
it (see the man page).
P:NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call 
user-defined scripts or executables

[...]

P:Options error: option 'route' cannot be used in this context
P:Options error: option 'redirect-gateway' cannot be used in this context
P:Options error: option 'dhcp-option' cannot be used in this context

Original issue reported on code.google.com by [email protected] on 31 May 2012 at 10:07

'Custom Routes' contains strange chars

What steps will reproduce the problem?
1. Edit a VPN connection
2. Click on 'IP Settings'
3. Click on 'Custom Routes'
4. Description contains '&quot;'

What is the expected output? What do you see instead?
Should not contain these chars, instead a '"'.

What version of the product are you using? On what operating system?
0.5.4 on Android 4.0.4 on Galaxy Nexus

Original issue reported on code.google.com by [email protected] on 15 May 2012 at 11:46

Connection failure

What steps will reproduce the problem?

1. I imported my vpn setting using the File Exporter utility
2. I cheched if everything was correctly imported, especially the path to the 
certificates
3. I setup my access password (I have no username so I leave it blank)
4. I tried to connect to the VPN server

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

I do not know what is the expected output. I presume I should be connected to 
the VPN.

I see instead the message 'Waiting for state message' and nothing else happens. 
No connection is achieved.

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

I am using OpenVPN for Android version 0.5.6, Android 4.0.3 with kernel 3.0.15 
on a Samsung Galaxy S2 GT-I9100

Please provide any additional information below.

1) Pull Settings is on. Here is the generated config:

# Enables conection to GUI
management /data/data/de.blinkt.openvpn/cache/mgmtsocket unix
management-hold

# /tmp does not exist on Android
tmp-dir /data/data/de./blinkt.openvpn/cache

# Log windows is better readable this way
suppress-timestamps
client
verb 4
connect-retry-max 5
resol-retry 5
dev tun
remote 200.20.150.210 1194 udp
auth-user-pass
management-query-passwords
ca "/sdcard/openvpn/cert.crt"
key "/sdcard/openvpn/mycert.key"
cert "/sdcard/openvpn/mycert.crt"
comp-lzo
cipher BF-CBC

# Custom configuration options
# You are on your own here :)
# These options were found in the config file do not map to config settings:
persist-key
persist-tun

2) And here is my original config (which I use to connect with OpenVPN in 
Windows 7):

client
pull
dev tun
proto udp
remote 200.20.150.210 1194
ca "cert.crt"
key "mycert.key"
cert "mycert.crt"
persist-key
persist-tun
cipher BF-CBC
comp-lzo
verb 4

3) And here is the log after trying to connect with OpenVPN for Android:

Building configration...
P:Current Parameter Settings:
P:  config = '/data/data/de.blinkt.openvpn/cache/android.conf'
P:  mode = 0
P:  show_ciphers = DISABLED
P:  show_digests = DISABLED
P:  show_engines = DISABLED
P:  genkey = DISABLED
P:  key_pass_file = '[UNDEF]'
P:  show_tls_ciphers = DISABLED
P:Connection profiles [default]:
P:  proto = udp
P:  local = '[UNDEF]'
P:  local_port = 1194
P:  remote = '200.20.150.210'
P:  remote_port = 1194
P:  remote_float = DISABLED
P:  bind_defined = DISABLED
P:  bind_local = ENABLED
P:  connect_retry_seconds = 5
P:  connect_timeout = 10
P:  connect_retry_max = 5
P:  socks_proxy_server = '[UNDEF]'
P:  socks_proxy_port = 0
P:  socks_proxy_retry = DISABLED
P:  tun_mtu = 1500
P:  tun_mtu_defined = ENABLED
P:  link_mtu = 1500
P:  link_mtu_defined = DISABLED
P:  tun_mtu_extra = 0
P:  tun_mtu_extra_defined = DISABLED
P:  mtu_discover_type = -1
P:  fragment = 0
P:  mssfix = 1450
P:  explicit_exit_notification = 0
P:Connection profiles END
P:  remote_random = DISABLED
P:  ipchange = '[UNDEF]'
P:  dev = 'tun'
P:  dev_type = '[UNDEF]'
P:  dev_node = '[UNDEF]'
P:  lladdr = '[UNDEF]'
P:  topology = 1
P:  tun_ipv6 = DISABLED
P:  ifconfig_local = '[UNDEF]'
P:  ifconfig_remote_netmask = '[UNDEF]'
P:  ifconfig_noexec = DISABLED
P:  ifconfig_nowarn = DISABLED
P:  ifconfig_ipv6_local = '[UNDEF]'
P:  ifconfig_ipv6_netbits = 0
P:  ifconfig_ipv6_remote = '[UNDEF]'
P:  shaper = 0
P:  mtu_test = 0
P:  mlock = DISABLED
P:  keepalive_ping = 0
P:  keepalive_timeout = 0
P:  inactivity_timeout = 0
P:  ping_send_timeout = 0
P:  ping_rec_timeout = 0
P:  ping_rec_timeout_action = 0
P:  ping_timer_remote = DISABLED
P:  remap_sigusr1 = 0
P:  persist_tun = ENABLED
P:  persist_local_ip = DISABLED
P:  persist_remote_ip = DISABLED
P:  persist_key = ENABLED
P:  resolve_retry_seconds = 5
P:  username = '[UNDEF]'
P:  groupname = '[UNDEF]'
P:  chroot_dir = '[UNDEF]'
P:  cd_dir = '[UNDEF]'
P:  writepid = '[UNDEF]'
P:  up_script = '[UNDEF]'
P:  down_script = '[UNDEF]'
P:  down_pre = DISABLED
P:  up_restart = DISABLED
P:  up_delay = DISABLED
P:  daemon = DISABLED
P:  inetd = 0
P:  log = DISABLED
P:  suppress_timestamps = ENABLED
P:  nice = 0
P:  verbosity = 4
P:  mute = 0
P:  gremlin = 0
P:  status_file = '[UNDEF]'
P:  status_file_version = 1
P:  status_file_update_freq = 60
P:  occ = ENABLED
P:  rcvbuf = 65536
P:  sndbuf = 65536
P:  sockflags = 0
P:  fast_io = DISABLED
P:  lzo = 7
P:  route_script = '[UNDEF]'
P:  route_default_gateway = '[UNDEF]'
P:  route_default_metric = 0
P:  route_noexec = DISABLED
P:  route_delay = 0
P:  route_delay_window = 30
P:  route_delay_defined = DISABLED
P:  route_nopull = DISABLED
P:  route_gateway_via_dhcp = DISABLED
P:  max_routes = 100
P:  allow_pull_fqdn = DISABLED
P:  management_addr = '/data/data/de.blinkt.openvpn/cache/mgmtsocket'
P:  management_port = 0
P:  management_user_pass = '[UNDEF]'
P:  management_log_history_cache = 250
P:  management_echo_buffer_size = 100
P:  management_write_peer_info_file = '[UNDEF]'
P:  management_client_user = '[UNDEF]'
P:  management_client_group = '[UNDEF]'
P:  management_flags = 262
P:  shared_secret_file = '[UNDEF]'
P:  key_direction = 0
P:  ciphername_defined = ENABLED
P:  ciphername = 'BF-CBC'
P:  authname_defined = ENABLED
P:  authname = 'SHA1'
P:  prng_hash = 'SHA1'
P:  prng_nonce_secret_len = 16
P:  keysize = 0
P:  engine = DISABLED
P:  replay = ENABLED
P:  mute_replay_warnings = DISABLED
P:  replay_window = 64
P:  replay_time = 15
P:  packet_id_file = '[UNDEF]'
P:  use_iv = ENABLED
P:  test_crypto = DISABLED
P:  tls_server = DISABLED
P:  tls_client = ENABLED
P:  key_method = 2
P:  ca_file = '/sdcard/openvpn/oncert.crt'
P:  ca_path = '[UNDEF]'
P:  dh_file = '[UNDEF]'
P:  cert_file = '/sdcard/openvpn/mycert.crt'
P:  priv_key_file = '/sdcard/openvpn/mycert.key'
P:  pkcs12_file = '[UNDEF]'
P:  cipher_list = '[UNDEF]'
P:  tls_verify = '[UNDEF]'
P:  tls_export_cert = '[UNDEF]'
P:  tls_remote = '[UNDEF]'
P:  crl_file = '[UNDEF]'
P:  ns_cert_type = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_ku[i] = 0
P:  remote_cert_eku = '[UNDEF]'
P:  ssl_flags = 0
P:  tls_timeout = 2
P:  renegotiate_bytes = 0
P:  renegotiate_packets = 0
P:  renegotiate_seconds = 3600
P:  handshake_window = 60
P:  transition_window = 3600
P:  single_session = DISABLED
P:  push_peer_info = DISABLED
P:  tls_exit = DISABLED
P:  tls_auth_file = '[UNDEF]'
P:  client = ENABLED
P:  pull = ENABLED
P:  auth_user_pass_file = 'stdin'
P:OpenVPN 2.3_alpha1 arm-linux-androideabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] 
[PF_INET6] [IPv6 payload 20110522-1 (2.2.0)] built on May 21 2012
P:MANAGEMENT: unix domain socket listening on 
/data/data/de.blinkt.openvpn/cache/mgmtsocket
P:Need hold release from management interface, waiting...
P:MANAGEMENT: Client connected from 
/data/data/de.blinkt.openvpn/cache/mgmtsocket
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'username 'Auth' ""'
P:MANAGEMENT: CMD 'password [...]'

Original issue reported on code.google.com by [email protected] on 23 May 2012 at 9:16

  • Merged into: #23

Patch for /res/values-es/strings.xml

Only errors I've found in the translation.

In the unlikely event anyone actually needs to contact me, they'll be more 
likely to get a response on this email.

I'm guessing at the moment "Basic", "IP and DNS" and "Routing" in the editing 
menu can't be translate, correct? I noticed the German translation also uses 
the English.

Original issue reported on code.google.com by [email protected] on 4 Jul 2012 at 3:55

Attachments:

Feature request: Backup/secondary server addresses

I run OpenVPN on my Router, and I have an external address for it and an 
internal address.

The conf file allows for multiple server IP addresss (in my case, the public 
hostname, and the  internal address), but the client does not.

Original issue reported on code.google.com by [email protected] on 16 Apr 2012 at 10:04

Configured VPNs disappear

What steps will reproduce the problem?
1.Import 3 different VPNs
2.Give each an unique name
3.Reboot

What is the expected output? What do you see instead?
Expected: All VPNs are ready to use.
Instead: "All your precious VPNs" -list is empty. They have disappeared.

What version of the product are you using? On what operating system?
Version 0.5.5
Android ICS 4.0.3

Please provide any additional information below.
Asus Transformer Pad TF300

Original issue reported on code.google.com by [email protected] on 19 May 2012 at 3:00

'Remote Hostname (CN)' contains strange chars

What steps will reproduce the problem?
1. Edit a connection
2. Click on Authentication/Encryption
3. Click on "Remote Hostname(CN)"
5. The text contains a '\n' instead of a linebreak. 

What is the expected output? What do you see instead?
A linebreak instead of \n

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

Original issue reported on code.google.com by [email protected] on 23 May 2012 at 10:46

Feature Request: Quick reconnect on network change e.g. from or to wlan

As far as i can see, the app is waiting for a disconnect. It should simply 
reconnect on change of network status... It should work with the 
NetworkReceiver and a BroadcastReceiver. But this is just a quick lookup. Found 
here: http://developer.android.com/training/basics/network-ops/managing.html


Thanks for this really great app! Maybe you put a supporter-paid-version to the 
market? I would pay for it!

Original issue reported on code.google.com by [email protected] on 1 Jun 2012 at 12:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.