This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2016 CommonsWare, LLC | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# begin by defining NDK_ROOT | |
if test -z $NDK_ROOT; then echo "NDK_ROOT is not exported, do so by something close to this: export NDK_ROOT=/path/to/android-ndk-r5"; exit; fi | |
#Build openssl using default ndk-build | |
echo "BUILD OPENSSL" | |
cd native | |
git clone git@github.com:guardianproject/openssl-android.git | |
cd openssl-android | |
ndk-build | |
cp libs/armeabi/* ../lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
019-07-08 16:28:15.450 18456-18486/info.guardianproject.keanuapp E/libc: Access denied finding property "vendor.debug.egl.profiler" | |
2019-07-08 16:28:15.652 18456-18456/info.guardianproject.keanuapp A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x65c in tid 18456 (roject.keanuapp), pid 18456 (roject.keanuapp) | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Build fingerprint: 'google/sargo/sargo:9/PQ3B.190705.003/5622519:user/release-keys' | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Revision: 'MP1.0' | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: ABI: 'arm64' | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: pid: 18456, tid: 18456, name: roject.keanuapp >>> info.guardianproject.keanuapp <<< | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x65c | |
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Cause: null pointer dereference | |
2019-07 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticObjectMethod called with pending exception java.lang.NoSuchMethodError: no static method "Lcom/bugsnag/android/NativeInterface;.getErrorStorePath()Ljava/lang/String;" | |
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.setCacheDir(java.lang.String) (NewNode.java:-2) | |
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.init() (NewNode.java:133) | |
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void at.xtools.pwawrapper.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:26) | |
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# begin by defining NDK_ROOT | |
if test -z $NDK_ROOT; then echo "NDK_ROOT is not exported, do so by something close to this: export NDK_ROOT=/path/to/android-ndk-r5"; exit; fi | |
mkdir native | |
#Build openssl using default ndk-build | |
echo "BUILD OPENSSL" | |
cd native | |
git clone git://github.com/guardianproject/android-external-openssl-ndk-static.git | |
cd android-external-openssl-ndk-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-05-11 11:04:47.516 29344-29404/org.torproject.android E/GoLog: 2021/05/11 15:04:47 WebRTC: Collecting a new Snowflake. Currently at [1/3] | |
2021-05-11 11:04:47.517 29344-29433/org.torproject.android E/GoLog: 2021/05/11 15:04:47 snowflake-645e89eefd9dcbd2 connecting... | |
2021-05-11 11:04:47.517 29344-29404/org.torproject.android E/GoLog: 2021/05/11 15:04:47 Traffic Bytes (in|out): 7160 | 2399 -- (10 OnMessages, 10 Sends) | |
2021-05-11 11:04:47.525 29344-29433/org.torproject.android E/GoLog: 2021/05/11 15:04:47 WebRTC: DataChannel created. | |
2021-05-11 11:04:47.543 29344-29403/org.torproject.android E/GoLog: 2021/05/11 15:04:47 WebRTC: Created offer | |
2021-05-11 11:04:47.545 29344-29402/org.torproject.android E/GoLog: 2021/05/11 15:04:47 WebRTC: Set local description | |
2021-05-11 11:04:47.585 29344-29396/org.torproject.android E/GoLog: 2021/05/11 15:04:47 WebRTC: PeerConnection created. | |
2021-05-11 11:04:47.586 29344-29434/org.torproject.android E/GoLog: 2021/05/11 15:04:47 Negotiating via BrokerChannel... | |
2021-05-11 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-12-21 12:56:07.429 7970-8437/org.torproject.android I/TorService: Acquired lock | |
2021-12-21 12:56:07.436 7970-8006/org.torproject.android I/GoLog: Dec 21 12:56:07.000 [notice] {GENERAL} Tor 0.4.6.8 (git-852415aa313f8e50) running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1l, Zlib 1.2.11, Liblzma 5.2.4, Libzstd 1.4.8 and Unknown N/A as libc. | |
2021-12-21 12:56:07.436 7970-8006/org.torproject.android I/GoLog: Dec 21 12:56:07.000 [notice] {GENERAL} Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning | |
2021-12-21 12:56:07.436 7970-8006/org.torproject.android I/GoLog: Dec 21 12:56:07.000 [notice] {CONFIG} Read configuration file "/data/user/0/org.torproject.android/app_TorService/torrc-defaults". | |
2021-12-21 12:56:07.436 7970-8006/org.torproject.android I/GoLog: Dec 21 12:56:07.000 [notice] {CONFIG} Read configuration file "/data/user/0/org.torproject.android/app_TorService/torrc". | |
2021-12-21 12:56:07.451 7970-8006/org.torproject.android I/GoLo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JNIEXPORT jint JNICALL Java_org_torproject_android_service_vpn_Tun2Socks_processDnsPacket( | |
jclass cls, | |
JNIEnv* env, | |
jbyteArray array, | |
jint dataLength) | |
{ | |
jsize num_bytes = (*env)->GetArrayLength(env, array); | |
printf("Byte length : %d\n" , num_bytes); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JNIEXPORT jint JNICALL Java_org_torproject_android_service_vpn_Tun2Socks_processDnsPacket( | |
jclass cls, | |
JNIEnv* env, | |
jbyteArray packet, | |
jint dataLength) | |
{ | |
jboolean isCopy; | |
jbyte* dataPtr = (*env)->GetByteArrayElements(env, packet, &isCopy); | |
process_device_dns_packet ((uint8_t *)dataPtr, dataLength); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inbound: | |
[IPv4 Header (20 bytes)] | |
Version: 4 (IPv4) | |
IHL: 5 (20 [bytes]) | |
TOS: [precedence: 0 (Routine)] [tos: 0 (Default)] [mbz: 0] | |
Total length: 66 [bytes] | |
Identification: 25123 | |
Flags: (Reserved, Don't Fragment, More Fragment) = (false, true, false) | |
Fragment offset: 0 (0 [bytes]) |