View gist:ceb35106fb00a03a3715090681a958c5
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
[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: 16217 | |
Flags: (Reserved, Don't Fragment, More Fragment) = (false, true, false) | |
Fragment offset: 0 (0 [bytes]) | |
TTL: 64 | |
Protocol: 17 (UDP) |
View gist:150d3666d2c843c8d89909d490ac6ae7
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]) |
View gist:c71ffae633939342011470259fd1ab56
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); |
View gist:1c7b80f54408f7b1aad16fe56013510a
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); |
View gist:f1c30e8cce10a8cb65f734af7deca6f8
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 |
View gist:3f80340e42bbc6255913973f057f3592
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
1. Get RaspPi 32-bit lite | |
2. Get RPi Imager: https://www.raspberrypi.org/software/ | |
3. flash SD Card, connect to ethernet, bootup, etc | |
4. install raspap, run update, etc | |
5. change wifi hotspot ssid to "butterbox" and set/remove password (/etc/hostap) | |
6. dnsmasq: setup local DNS resolution for "http://butterbox" https://github.com/RaspAP/raspap-webgui/issues/464 | |
7. move raspap web admin from /var/www/html/* to /admin | |
8. download butterbox web interface into /var/www/html/* (https://gitlab.com/guardianproject/butter-app-site/) | |
9. download secondwind repo, put in /var/www/html/fdroid/repo (https://gitlab.com/guardianproject/wind-repo) |
View gist:bc0c6b70192e8bcbe7c41d17f97b6ce8
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 |
View gist:3e7aa1bbd8ade03c61fdfc510572d28b
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 |
View gist:dbc0da2f992bd1ee42dc4b88f9085e8c
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 |
View gist:7ef1d76f25b0de61810f04327295b35e
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 |
NewerOlder