Commit Graph

5976 Commits

Author SHA1 Message Date
Jeff Becker
8a003a1144
add lokinet-vpn systemd service file 2020-05-29 12:37:34 -04:00
Jeff Becker
18b2ef3d1e
remove unneeded file 2020-05-29 12:33:16 -04:00
Jeff Becker
242ab3caba
rename lokinet-exit too to lokinet-vpn
install lokinet-vpn tool for use with debian packaging
2020-05-29 12:31:57 -04:00
Jeff Becker
c47a210302
remove a std::move that prevents copy elision 2020-05-26 14:04:43 -04:00
Jeff Becker
dd87cd396b
pedantic change to retrigger ci 2020-05-26 14:01:33 -04:00
Jeff Becker
14b134c42d
when we get an explicit config path respect it and the base dir 2020-05-26 10:06:38 -04:00
Jeff Becker
b572e7a7cd
add lokinet-exit.py script 2020-05-25 09:50:55 -04:00
Jeff Becker
f25e9bb01f
use std::list here too 2020-05-24 08:51:17 -04:00
Jeff Becker
db00d080f6
use std::list instead of std::vector because idfk man 2020-05-24 08:36:46 -04:00
Jeff Becker
9298313066
use std::move 2020-05-24 08:21:04 -04:00
Jeff Becker
96cbab33c3
style: put iterator erase in for loop update 2020-05-24 08:15:36 -04:00
Jeff Becker
44ff3a9928
copy assignment so we don't crash 2020-05-24 08:14:08 -04:00
Jeff Becker
149a01c80f
dont use std::bind, use lambda 2020-05-24 08:07:37 -04:00
Jeff Becker
403bc74493
unbreak unit tests 2020-05-24 07:06:27 -04:00
Jeff Becker
f0eca908a4
use static_assert instead 2020-05-23 17:18:00 -04:00
Jeff Becker
4ad8ae253d
align to either 64bit or max_align_t which ever is smaller, for 32 bit. 2020-05-23 17:06:04 -04:00
Jeff Becker
7a5c193e4f
remove unused member 2020-05-23 16:55:02 -04:00
Jeff Becker
25a4bbd5ca
use std::swap 2020-05-23 16:07:21 -04:00
Jeff Becker
4a378ae934
remove logic thread from logic as it is now a thin wrapper arround the event loop 2020-05-23 16:07:21 -04:00
Jeff Becker
eb0abbf1ff
add eraseif to decaying hashset 2020-05-23 16:07:21 -04:00
Jeff Becker
39f8f17b53
dont set callback if non provided 2020-05-23 16:07:21 -04:00
Jeff Becker
1230b81517
make format 2020-05-23 16:07:21 -04:00
Jeff Becker
b8da447053
use const iterators explicitly 2020-05-23 16:07:21 -04:00
Jeff Becker
b8d262573a
use std::vector instead of thrashing heap with allocation 2020-05-23 16:07:20 -04:00
Jeff Becker
e9d1a61053
don't recover from sanitizer errors 2020-05-23 16:07:20 -04:00
Jeff Becker
fbb7c0d6f9
add forgotten file 2020-05-23 16:07:20 -04:00
Jeff Becker
328c7a398e
make sure event loop owns logic so that logic call does not use seperate thread 2020-05-23 16:07:20 -04:00
Jeff Becker
c826d0a0b1
increase transit hop limits 2020-05-23 16:07:20 -04:00
Jeff Becker
3a776b3ed1
bounds checks and such 2020-05-23 16:07:20 -04:00
Jeff Becker
a45f92dca7
use random good path for outbound traffic so that it uses an even spread accross
all paths
2020-05-23 16:07:20 -04:00
Jeff Becker
382e4215a8
path testing interval increase to reduce bandwidth use 2020-05-23 16:07:20 -04:00
Jeff Becker
00143e63f4
put replay filters on transit hops to reduce retransmissions. 2020-05-23 16:07:20 -04:00
Jeff Becker
114bdd5ce5
add move and copy constructors/assigment operators to ip_address 2020-05-23 16:07:20 -04:00
Jeff Becker
3eb006f78c
iwp/libuv cleanup: remove llarp_pkt_list and all users of it as it's broke 2020-05-23 16:07:19 -04:00
Jeff Becker
6af498092b
exit traffic via loki addresses 2020-05-23 16:07:19 -04:00
Jeff
1884d17e9d
Merge pull request #1290 from jagerman/deb-ci-snapshots
Drone static build and deb uploads
2020-05-23 15:13:05 -04:00
Jason Rhinelander
8851766c5d macos static build & upload 2020-05-23 14:21:05 -03:00
Jason Rhinelander
a484ccffc2 static curl build fixes
- fix ldap disabling flag
- disable a ton of protocols (include ldap, properly)
- remove INSTALL_COMMAND (the default seems to work fine)
- disable --quiet so we can see the configuration summary
2020-05-23 14:02:04 -03:00
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.
2020-05-23 11:33:50 -03:00
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.
2020-05-23 00:36:30 -03:00
Jason Rhinelander
861f83c9cc drone tweaks
- add some comments
- exclude commits to the debian/ubuntu branches from getting built
- disable "Updating man-db" which chews up several seconds during
package install
2020-05-23 00:32:00 -03:00
Jeff
437895ca36
Merge pull request #1289 from jagerman/merge-master
Merge master
2020-05-22 07:28:40 -04:00
Jason Rhinelander
5b7d194ff1 Merge remote-tracking branch 'origin/master' into dev 2020-05-22 00:45:24 -03:00
Jeff
22830fe423
Merge pull request #1287 from loki-project/majestrate-patch-1
change ci badge to use drone
2020-05-21 17:15:18 -04:00
Jeff
636622afdb
Merge pull request #1288 from jagerman/remove-str-crutch
Remove llarp::str(string_view)
2020-05-21 17:01:01 -04:00
Jason Rhinelander
854619f04f Workaround for ghc::filesystem (mac) compatibility 2020-05-21 17:21:04 -03:00
Jason Rhinelander
d05e6716cb Remove llarp::str(string_view)
It was a workaround for pre-C++17 std::string which didn't support
passing a string_view to various functions/operators.  There's only one
place left that needs an explicit conversion, and that's where it is
used as a map key; so just be explicit there and remove llarp::str()
everywhere else.
2020-05-21 17:05:30 -03:00
Jeff
bad6974ee5
change ci badge to use drone 2020-05-21 10:56:29 -04:00
Jeff
d35b246d28
Merge pull request #1286 from jagerman/fix-links-output
Fix the static build linked libs output check
2020-05-21 10:53:22 -04:00
Jason Rhinelander
9e1e11825e Fix the static build linked libs output check
- The `grep` had a typo of `-e` instead of `-E` which made it not work

- Made the command actually fail the pipeline if unwanted linked libs
were found.

- Print in green if everything is okay.

- Add librt.so to the whitelist
2020-05-21 11:47:05 -03:00