* [WireGuard] Android client
@ 2016-07-17 10:16 vvviperrr00 .
2016-07-18 12:54 ` Jason A. Donenfeld
0 siblings, 1 reply; 3+ messages in thread
From: vvviperrr00 . @ 2016-07-17 10:16 UTC (permalink / raw)
To: Jason; +Cc: wireguard
[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]
Hi!
First of all, sry for my lang, not native speaker.
Totally love u work, already use it in my personal needs instead of openvpn
solution. So i started working on android wireguard client (android VpnApi
based on tun driver) in my free time. Already done robust VpnService (glued
with JNI for using userspace wg impl) implementation + activity with simple
UI.
Some thoughts about userspace impl:
1. It must be library, not an app.
2. I think C language is more suitable for library, than rust or go (due to
portability issues).
Library interface could be something like that:
void wg_up(params); // create udp socket, listen for dgrams, etc
void put_data(packet); // send packet through wg (which we received from
tun)
void on_new_data(packet); // callback, wg received new packet (we can put
in into tun)
void wg_down();
The pros of lib solution is pretty clear: portability. We can even use it
without tun driver, create build-in apps with lwip, for instance.
What do you think about that?
[-- Attachment #2: Type: text/html, Size: 1234 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [WireGuard] Android client
2016-07-17 10:16 [WireGuard] Android client vvviperrr00 .
@ 2016-07-18 12:54 ` Jason A. Donenfeld
[not found] ` <CAKS1Xx4zoX67uY9pY-OGGanpE31ENb3yEE2KsQoUrhTZe6QAKQ@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jason A. Donenfeld @ 2016-07-18 12:54 UTC (permalink / raw)
To: vvviperrr00 .; +Cc: WireGuard mailing list
Sounds cool. Got a link to what you've done so far?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [WireGuard] Fwd: Android client
[not found] ` <CAKS1Xx4zoX67uY9pY-OGGanpE31ENb3yEE2KsQoUrhTZe6QAKQ@mail.gmail.com>
@ 2016-07-18 21:57 ` Konstantin Menyaev
0 siblings, 0 replies; 3+ messages in thread
From: Konstantin Menyaev @ 2016-07-18 21:57 UTC (permalink / raw)
To: Jason A. Donenfeld, wireguard
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
---------- Forwarded message ----------
From: Konstantin Menyaev <konstantin.menyaev@gmail.com>
Date: 2016-07-19 0:56 GMT+03:00
Subject: Re: Android client
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
sure.
https://github.com/vvviperrr/Android-WireGuard
as i mentioned, its just a prototype, which needs userspace library :)
2016-07-18 15:54 GMT+03:00 Jason A. Donenfeld <Jason@zx2c4.com>:
> Sounds cool. Got a link to what you've done so far?
>
[-- Attachment #2: Type: text/html, Size: 1154 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-18 21:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-17 10:16 [WireGuard] Android client vvviperrr00 .
2016-07-18 12:54 ` Jason A. Donenfeld
[not found] ` <CAKS1Xx4zoX67uY9pY-OGGanpE31ENb3yEE2KsQoUrhTZe6QAKQ@mail.gmail.com>
2016-07-18 21:57 ` [WireGuard] Fwd: " Konstantin Menyaev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).