yanglinjingshu / droidwall

Automatically exported from code.google.com/p/droidwall
0 stars 0 forks source link

Rules for VPN "tun+, tap+, ppp" #261

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I did a patch against v1.5.7 to allow 3rd column for VPN interfaces, TUN+, TAP+ 
and PPP "Moved from 3G interface to VPN"

WORKS:
Tested with openVPN setup using CM7.2.0 "TAP device"

KNOWN ISSUES:
* PPP "L2TP/IPSEC PSK" Does not work on native droidwall or patched version, My 
guess some Apps/tools needs to be allowed as well and not sure what they are.
* By default the VPN patch allow some services such as VPN Networking and media 
server, not sure how to disable that one as well.

If someone welling to review, and enhance the patch that would be great:-)

Regards,
Sherif

Original issue reported on code.google.com by sherif.n...@gmail.com on 10 Jun 2012 at 8:20

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry correct version of patch, will appreciate if someone managed to test it 
as well.

Original comment by sherif.n...@gmail.com on 10 Jun 2012 at 9:27

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Sherif,

Maybe I'm a bit late with comment :) but in your patch the second issue is due 
to "changed" argument:

new DroidApp(android.os.Process.getUidForName("media"), "Media server", false, 
false, changed)

it should be false

Original comment by T.dwnac...@gmail.com on 18 Aug 2012 at 4:31

GoogleCodeExporter commented 9 years ago
How to install this patch?

Original comment by pgawrons...@gmail.com on 15 Dec 2012 at 2:11

GoogleCodeExporter commented 9 years ago
u get the source code, patch it, rebuild the APK and reinstall the new APK into 
ur phone.

Original comment by sherif.n...@gmail.com on 15 Dec 2012 at 2:23

GoogleCodeExporter commented 9 years ago
Right, Im a noob can U tell my how to?

Original comment by pgawrons...@gmail.com on 15 Dec 2012 at 2:32