Commit Graph

73 Commits (dev)

Author SHA1 Message Date
Jeff f685d615bf
Merge pull request #1537 from majestrate/android-works-now-2021-02-11
Android
3 years ago
Thomas Winget 4c630e0437 Large collection of changes to make android work
- Previous android java and jni code updated to work, but with much love
  still needed to make it work nicely, e.g. handling when the VPN is
  turned off.

- DNS handling refactored to allow android to intercept and handle DNS
  requests as we can't set the system DNS to use a high port
  (and apparently Chrome ignores system DNS settings anyway)

- add packet router structure to allow separate handling of specific
  intercepted traffic, e.g. UDP traffic to port 53 gets handled by our
  DNS handler rather than being naively forwarded as exit traffic.

- For now, android lokinet is exit-only and hard-coded to use exit.loki
  as its exit.  The exit will be configurable before release, but
  allowing to not use exit-only mode is more of a challenge.

- some old gitignore remnants which were matching to things we don't
  want them to (and are no longer relevant) removed

- some minor changes to CI configuration
3 years ago
Jeff Becker 2655a64da0
redo ci pipeline:
* make cached docker containers for ci
* remove old docker files from root of repo
* use cached docker containers for ci
3 years ago
Jason Rhinelander b3d2177e73
Fix build server name & path (#1516)
builds.lokinet.dev -> oxen.rocks
/loki-project/ -> /oxen-io/
3 years ago
Jason Rhinelander 7ad1030736
Add full-static-deps armhf build (+upload) (#1505)
* Add armhf static build + upload

* openssl build fix for static armhf build

Without this it tries building for arm64.

* Disable LTO for armhf static build

* Fix static lib check for arm
3 years ago
Jeff a01a622fce
make drone ci use debian testing (#1413) 4 years ago
Jeff a9d23d3ac3
use absolute path for route command (#1354)
* ignore tun interfaces on windows for mitigating foot cannons

* add flag for git add -p when using format verifier as git hook

* use explicit path for route command on windows

* fix typo

* fix typo

* remove hunk for win32 route exclusion based off being a tun interface

* add metric to win32 route command

* * refactor win32 route poking to use a common function for iterating over routes

* put interface in route poking for default route

* mnake it compile

* use correct route command on windows

* use fs::path for service::Identity::EnsureKeys
4 years ago
Jeff Becker 9494315bc6
add lokinet-vpn to ci upload artifacts 4 years ago
Jeff Becker eb0f29223a
add docs to gdb-filter.py
turn off thread logging in gdb
make sure everything runs in gdb when running test
add note in contrib/format.sh about a GNU-ism
4 years ago
Jeff Becker 0d6e3bcd89
fix crashing tests 4 years ago
Jeff Becker 1ac7da294f
use bt full 4 years ago
Jeff Becker 52bc2facc2
add gdb to ci runners on debian to catch backtraces if they happen 4 years ago
Jeff Becker 5c039233db
remove the dreaded makefile and update docs 4 years ago
Jason Rhinelander e2ad0e8f09 DRY out ci upload script 4 years ago
Jeff Becker d096f5375f
pass in WINDOWS_BUILD_NAME to uploader to mark 64bit and 32bit builds distinctly 4 years ago
Jeff Becker c323025722
set windows ci build output to include arch 4 years ago
Jeff Becker 809198636b
chmod +x the script 4 years ago
Jeff Becker 1b10e69b10
update ci to use zip for windows 4 years ago
Jeff Becker 48c7d6fbe5
consolidate windows ci drone jizz 4 years ago
Jeff Becker 6984cda3a6
add pybind and router hive to ci 4 years ago
Jason Rhinelander 8851766c5d macos static build & upload 4 years ago
Jason Rhinelander cf447dc3a4 Build (and upload) debs by merging into the deb branches
Similar to the static files, the debs also end up under
builds.lokinet.dev/deb.
4 years ago
Jason Rhinelander f54beadaa9 Add tar+upload to builds.lokinet.dev of static build
Relies on an SSH_KEY secret being set in the repository.

Also move the linked library check to a bash script because escaping a
value in jsonnet (escape once) that gets passed through yaml (escape
twice) and then bash (escape again) is too painful.
4 years ago