PPTP VPN is working fine - G Tablet General

Code:
D/mtpd ( 4285): Waiting for control socket
D/mtpd ( 4285): Received 19 arguments
I/mtpd ( 4285): Using protocol pptp
I/mtpd ( 4285): Connecting to 115.47.9.147 port 1723
I/SProxy_mtpd( 4220): got data from control socket: 19
I/mtpd ( 4285): Connection established (socket = 11)
D/mtpd ( 4285): Sending SCCRQ
D/mtpd ( 4285): Received SCCRP -> Sending OCRQ (local = 6763)
I/mtpd ( 4285): Tunnel established
D/mtpd ( 4285): Received OCRQ (remote = 54101)
I/mtpd ( 4285): Session established
I/mtpd ( 4285): Creating PPPoX socket
I/mtpd ( 4285): Starting pppd (pppox = 12)
I/mtpd ( 4285): Pppd started (pid = 4286)
I/pppd ( 4286): Using PPPoX (socket = 12)
D/pppd ( 4286): using channel 1
D/Tethering( 1073): ppp0 is not a tetherable iface, ignoring
I/pppd ( 4286): Using interface ppp0
I/pppd ( 4286): Connect: ppp0 <-->
D/mtpd ( 4285): Recevied SLI
I/pppd ( 4286): local IP address 192.168.254.6
I/pppd ( 4286): remote IP address 192.168.254.1
I/pppd ( 4286): primary DNS address 202.106.196.115
I/ip-up-vpn( 4288): All traffic is now redirected to 192.168.254.1
D/VpnService( 4220): onConnected()
I/VpnService( 4220): save original dns prop: 10.0.0.1, 168.95.1.1
I/VpnService( 4220): save original suffices:
D/VpnSettings( 4188): received connectivity: ppp: connected? CONNECTED err=0
D/VpnServiceBinder( 4220): saving states
I/VpnService( 4220): set vpn dns prop: 202.106.196.115,
I/VpnService( 4220): VPN connectivity monitor running
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Which rom/kernel are you using?
Sent from my DROIDX using XDA App

I post the wifi driver source code , vpn come soon~~~

Chenglu said:
I post the wifi driver source code , vpn come soon~~~
Click to expand...
Click to collapse
Please!
Thank you!

Bump
12345

Related

[App] Network Packet Generator

hello all,
I've created this app that Generates TCP , UDP and ICMP packets
- the purpose for this app is to :
1- Flood a system, a port, or a server to demonstrate how the system will be raise the usage of the CPU which might result in shutting down PC
2 - Test firewall policies against connections from/to specific ports
3 - Educational purposes to get the idea of the Packets,connections and denial of service attacks
**The TCP and UDP packets are generated without root
ICMP may requires ROOTED
example of generating UDP packets :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
please find it here
https://play.google.com/store/apps/details?id=packetGenrator.edu.ae
your comments are important
Thx for developing!!
Will test and report.
Sent from my SM-N9005 using XDA Premium 4 mobile app
Waiting
wow!
:silly:no comment from 300+viewers!
is my application that PERFECT
is this app may cause wifi router crash?
btw, i can't download this app from google play, why not attach that files here?
aircrack-ng said:
is this app may cause wifi router crash?
btw, i can't download this app from google play, why not attach that files here?
Click to expand...
Click to collapse
No it's pure java coding
but you need root access for ICMP protocol only
note that when you use TCP or UDP protocols with port number 7 is an echo TCP or echo UDP
try to figure out the problem of google play store
hope you like it :laugh::good:
---------- Post added at 09:52 AM ---------- Previous post was at 09:47 AM ----------
Booben said:
wow!
Click to expand...
Click to collapse
thanks ^^ waiting for any feedback
take care
Why redmi note 8 pro doesn't get local ip address it always showing no connection . Is there any solution to work i even upgraded the app still it doesn't work only i lost my money

[Q] Help with port connection (ftp server ultimate)

Hmm i just posted this but can't find it anywhere. Apologies if double posted or it was deleted for some reason.
The target device:
No mobile network connection, it is on wifi only
Cm12.1
Static ip
General info:
Forwarded port through my router configuration page
Canyouseeme.org reports port is open on public ip
Problem:
Can connect via internal ip from other devices but when i switch to public ip the connection times out.
I did have the port forwarding configured wrong but now the port is open. Before it would refuse the connection. Now it just times out after waiting 3000ms.
Is there and Android setting preventing port connections?
Images:
Canyouseeme.org reports open port
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
failure message from ftp client on android device
Also fails from my regular ftp program via windows box
One thing that concerns me is my router lists my device as having a dhcp connection. The device connection is implicitly set to static and always uses the ip address i assigned it. It very much acts static but the router says dhcp. I don't think this is the problem. But it's still concerning.
Edit: terminal emulator using netstat confirms port 33133 is listening via tcp6
Edit 2: the problem is probably the device is listening using ipv6 and I'm trying to connect with my ipv4 address.
How can i force android to connect using ipv4, or connect to my device using ipv6 address? Admittedly i don't know much about ipv4 or ipv6.
Edit 3: I reset router and set up port forwarding again. Reset static ip to a different ip. Turned off ipv6 in router. The router now recognizes my device as static instead of dhcp. Changed the port number and canyouseeme.org sees the new port as open. However, ftp client still gets connection timed out error. netstat on the server device still recognizes that it's listening via tcp6 on the port (ipv6) which I suspect is the problem. I need to force my android ftp server device to connect with ipv4.
This is seriously giving me a headache! I bought a 5tb drive to connect via usb host cable and need the ftp server to keep offsite database backups of my websites. So, it's pretty important to me.
Anyways, I've disabled ipv6 at the router level and phone level (via app and script). Netstat still reports tcp6 listening.
Is this even the problem? It seems ipv6 is pretty popular on Android and the problem persists across multiple ftp server apps. Seems like the apps would be built with this in mind. I'm trying on my android 2.3 phone as well but i can't find how to make a static ip on gingerbread.

[Tool]Remote view your android device's screen on desktop

Android Remote Displayer
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
The app allows you to see your Android device remotely and capture the screen.
Make sure your desktop and Android device is under the same WiFi network.
The app only supports Android OS version 5.0 or later.
No need Account ADB JDK ROOT USB.
Notice:
Please don't check "Don't show again" with android 5.1.0_r3 and previous versions.
Otherwise, You will get the "Unfortunately,System UI has stopped" message.
The bug fiexed 67676f8 : MediaProjectionPermissionActivity: Fix NPE.
Test:
Android 5.1 on MT6735,1280*720.
Feedback:
[email protected]
Download:http://forum.xda-developers.com/attachment.php?attachmentid=3626257&stc=1&d=1454053298
vc_redist:Visual C++ Redistributable for Visual Studio 2015
Build 0345 28-Jan-2016
-------------------------
Fixed:
Keyboard hook bug.
New features:
Add screen saver control.
Add full screen display mode.
Add helpful functions in tools menu.
Add device window for multiple clients.
Use libjpeg-turbo to improve performance.
Improved:
Optimization algorithm to save internet bandwidth.
Build 0198 02-Jan-2016
-------------------------
Initial release.
Android Remote Displayer
Android Remote Displayer is simple and small.
Faster than mobizen
ARD is faster than mobizen.In some situation,mobizen has about 1500ms delay.
ARD Maximum FPS
01-01 01:08:24.102 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:38.022022,dur:1025.72,max:32.40,min:13.71
01-01 01:08:25.129 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:38.945335,dur:1027.08,max:36.32,min:13.79
01-01 01:08:26.157 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:37.944965,dur:1027.80,max:32.51,min:15.40
01-01 01:08:27.183 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:38.004810,dur:1026.19,max:32.80,min:15.17
01-01 01:08:28.211 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:37.946911,dur:1027.75,max:31.66,min:14.95
01-01 01:08:29.225 227-227/? I/SurfaceFlinger: [arc (type:2)] fps:38.463070,dur:1013.96,max:31.44,min:15.34
Zoom Options
ARD Zoom Options: Auto,50%,80%,100% and Full Screen.
Quality Options
BMP,JPEG100,JPEG90,JPEG60,JPEG30.
The default is JPEG90.
Capture Options
BMP,JPG,PNG and Clipboard.
Multiple Clients
ARD supports multiple clients under the same WiFi network.
You can select one to connect or disconnect.
Record Android Screen
You may use GifCam to record the Android screen as animated gifs.
Please download and have a try.
Feel free to send me your feedback.

Question DNS Failed can't connect to a server to protect your WIFI S22 notification fix ?

I keep getting this above notification anyone have a fix for it ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disable Secure WiFi?
raul6 said:
Disable Secure WiFi?
Click to expand...
Click to collapse
It was already disabled but by going into options and re-confirmed it was disabled it went away so hopefully it won't come back
use Quad9 instead
1)settings
2)connections
3)More conn settings
4)Private dns
dns.quad9.net
5)save and reboot
Service Addresses & Features | Quad9
Quad9 has several different service offerings for recursive DNS features. Each is represented by a different IP address which you use to configure your systems
quad9.net
malikin said:
use Quad9 instead
1)settings
2)connections
3)More conn settings
4)Private dns
dns.quad9.net
5)save and reboot
Service Addresses & Features | Quad9
Quad9 has several different service offerings for recursive DNS features. Each is represented by a different IP address which you use to configure your systems
quad9.net
Click to expand...
Click to collapse
I keep getting DNS couldn't connect errors with dns.guad9.net ?
Markeee said:
I keep getting DNS couldn't connect errors with dns.guad9.net ?
Click to expand...
Click to collapse
your Router or ISP blocks private DNS, try without wifi
install network tools and make Ping dns.quad9.net
malikin said:
your Router or ISP blocks private DNS, try without wifi
install network tools and make Ping dns.quad9.net
Click to expand...
Click to collapse
I'm not very knowledgeable about router and network setting so I really don't understand what your saying I need to do ?
Markeee said:
I need to do ?
Click to expand...
Click to collapse
DM me if need tech help
or
install FING
make ping and traceroute

[Samsung] Airplane mode broken / "More connection settings" crash

I've two problems on a Samsung phone (Android 10 / OneUI 2.5), likely caused by the same core problem.
Reset Network settings didn't help. I'm hoping to solve it directly, without factory reset or firmware reinstall.
Any idea how to debug further?
The two problems:
Airplane mode can't be toggled without a restart. Toggling in the Quick Settings, the button will just sit in an intermediate state:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Trying from the full settings page, under some conditions (not always) it looks like you can toggle it (status icons change), but nothing changes in practice, and the QS button will still stay in the intermediate state. The only way to toggle is to change in the full setting page, then restart the phone.
Entering "Settings \ Connections \ More connection settings" always crashes, due to:
Code:
com.android.settings/com.android.settings.SubSettings
java.lang.IllegalStateException
Dependency "airplane_mode" not found for preference "vpn_settings" (title: "VPN",Preference.java,1559]
The full stack trace is:
Spoiler
Code:
[05-20 12:50:43.505 4601:4601 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.android.settings, PID: 4601
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalStateException: Dependency "airplane_mode" not found for preference "vpn_settings" (title: "VPN"
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3654)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3806)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.IllegalStateException: Dependency "airplane_mode" not found for preference "vpn_settings" (title: "VPN"
at androidx.preference.Preference.registerDependency(Preference.java:1559)
at androidx.preference.Preference.setDependency(Preference.java:1695)
at com.android.settings.network.VpnPreferenceController.displayPreference(VpnPreferenceController.java:88)
at com.android.settings.dashboard.DashboardFragment.displayResourceTiles(DashboardFragment.java:393)
at com.android.settings.dashboard.DashboardFragment.refreshAllPreferences(DashboardFragment.java:485)
at com.android.settings.dashboard.DashboardFragment.onCreatePreferences(DashboardFragment.java:195)
at com.samsung.android.settings.dynamicmenu.SecDynamicFragment.onCreatePreferences(SecDynamicFragment.java:154)
at androidx.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:246)
at com.android.settingslib.core.lifecycle.ObservablePreferenceFragment.onCreate(ObservablePreferenceFragment.java:61)
at com.android.settings.core.InstrumentedPreferenceFragment.onCreate(InstrumentedPreferenceFragment.java:67)
at com.android.settings.SettingsPreferenceFragment.onCreate(SettingsPreferenceFragment.java:238)
at com.android.settings.dashboard.DashboardFragment.onCreate(DashboardFragment.java:159)
at com.samsung.android.settings.dynamicmenu.SecDynamicFragment.onCreate(SecDynamicFragment.java:106)
at com.samsung.android.settings.connection.WirelessSettings.onCreate(WirelessSettings.java:322)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:2471)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:847)
at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1196)
at androidx.fragment.app.FragmentTransition.calculateFragments(FragmentTransition.java:1079)
at androidx.fragment.app.FragmentTransition.startTransitions(FragmentTransition.java:118)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1857)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1815)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1722)
at androidx.fragment.app.FragmentManagerImpl.executePendingTransactions(FragmentManagerImpl.java:231)
at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:988)
at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:969)
at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:655)
at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:353)
at android.app.Activity.performCreate(Activity.java:7963)
at android.app.Activity.performCreate(Activity.java:7952)
[05-20 12:50:43.506 1317:3347 I/am_crash]
[4601,0,com.android.settings,685358661,java.lang.IllegalStateException,Dependency "airplane_mode" not found for preference "vpn_settings" (title: "VPN",Preference.java,1559]
Not sure anymore when the whole thing started, but it was long ago.
(Maybe the question fits better under "Android Development and Hacking"?
It's not specific to a Samsung model, and AFAICT there's no non-specific Samsung subforum.)

Categories

Resources