Commit Graph

5112 Commits

Author SHA1 Message Date
Jeff Becker
77213d7fa4
add hashpinned curl tarball for static build 2020-01-07 18:14:25 -05:00
Jeff Becker
80cbddde7b
fixups for review 2020-01-07 18:14:25 -05:00
Jeff Becker
7ffc786bce
fix up docs 2020-01-07 18:14:25 -05:00
Jeff Becker
2ce592e4af
static link with docs 2020-01-07 18:14:25 -05:00
Jeff
de819d3876
Merge pull request #1024 from jagerman/ntru-avx2-compilation
Enable AVX2 compilation whenever possible
2020-01-07 18:06:52 -05:00
Jason Rhinelander
7cec0db371 Simplify CRYPTO_FLAGS logic, remove RYZEN_HACK
We currently spend a bunch of time setting CRYPTO_FLAGS and then just
completely wipe it out if NATIVE_BUILD is specified.

The AMD_RYZEN_HACK is really not needed; it was only some early CPU
microcode and compiler combinations that had trouble detecting Ryzen's
FMA3 support (and Ryzen *doesn't* properly support FMA4--it can be
forced on and runs, but apparently it can give wrong results).
2020-01-07 18:57:40 -04:00
Jason Rhinelander
6f3757e933 Modernize non-AVX2 tuning to haswell
Tuning to an ancient architecture doesn't make a lot of sense; we want
to support the ancient architecture, but don't want to optimize for it.

Also change the AVX2 tuning to use haswell so that optimizations don't
depend on the CPU in the system the build runs on.
2020-01-07 18:53:00 -04:00
Jason Rhinelander
210cb837c6 Enable -avx2 -fma for ntru even when compiling without AVX2 support
This code is runtime guarded with CPU feature tests, so even if we are
making a non-AVX2 build we still want to compile the avx code path with
-mavx2 -mfma so that it can be opportunistically used when run on
AVX2-supporting CPUs (particularly for the debs and release binaries).
2020-01-07 18:39:46 -04:00
Jeff
e223f5d023
Merge pull request #1016 from loki-project/dev
propagate dev into master
2020-01-07 15:37:26 -05:00
Jeff
cceb531e58
version bump 2020-01-07 14:41:41 -05:00
Jeff
a5f8568c9c
Merge pull request #1020 from majestrate/dev
recent fixes
2020-01-07 14:36:40 -05:00
Jeff Becker
58c601c73d
update readme to include pkg-config 2020-01-07 14:33:31 -05:00
Jeff Becker
37b11614d0
if select_random_hop_excluding returns false we should probably break anyways so do that 2020-01-07 14:31:35 -05:00
Jeff Becker
c6d77e72f2
fix up tcp connection logic 2020-01-07 13:04:12 -05:00
Jeff Becker
989146f63a
handle write failure 2020-01-07 13:03:58 -05:00
Jeff Becker
c38c055488
return result 2020-01-07 13:03:53 -05:00
Jeff Becker
42f721d691
don't queue on full write queue 2020-01-07 13:03:47 -05:00
Jeff Becker
6d42b5f997
reduce logic calls 2020-01-07 13:03:41 -05:00
Jeff Becker
8a5365d9a6
diversify endpoints 2020-01-07 13:00:15 -05:00
Jeff Becker
9f153f12e0
actually connect to random routers 2020-01-07 13:00:09 -05:00
Jeff Becker
a3e7324e9a
make it compile 2020-01-07 13:00:03 -05:00
Jeff Becker
c3b14b32b4
relays do profiling and not hand out "shit" routers in explore 2020-01-07 12:59:53 -05:00
Jeff Becker
c1ad5f955a
remove mutex 2020-01-07 12:59:30 -05:00
Jeff Becker
64b5537fe0
rpc clean up logic, dont fetch list as client AND dont ping lokid as client 2020-01-07 12:59:08 -05:00
Jeff Becker
e5f92eaa79
only ping lokid if a service node 2020-01-07 12:58:49 -05:00
Jeff
da8ec60922
Merge pull request #1023 from notlesh/iwp-bw-stats-2019-12-17
add bw stats to iwp sessions
2020-01-06 18:54:00 -05:00
Jeff
d0ec8ee415
Merge pull request #1021 from despair86/dev
happy new year
2020-01-06 07:50:26 -05:00
Jeff Becker
9214ecbc48
rename bloomfilter to replayfilter 2020-01-06 07:20:16 -05:00
Rick V
636957f3f9
happy new year 2020-01-05 20:40:34 -06:00
Jeff Becker
3147e2d357
shuffle intros when more than 1 exists 2020-01-03 14:50:12 -05:00
Jeff Becker
a7a101e33c
more intellegent path failure profiling using LRSM 2020-01-03 07:52:19 -05:00
Jeff Becker
52b13b9f1e
typo fix 2020-01-03 07:08:38 -05:00
Jeff Becker
1244ad83ad
fix include file use 2020-01-03 07:05:28 -05:00
Jeff Becker
55e27d36e5
* only profile as client
* only explore churn as relay
2020-01-03 07:04:56 -05:00
Jeff Becker
d391f70417
reduce cpu use 2020-01-03 07:00:02 -05:00
Jeff Becker
73e07ef2d0
client side replay filter 2020-01-03 06:04:47 -05:00
Jeff Becker
b3ad65f470
randomize intro order on shift 2020-01-02 17:08:45 -05:00
Jeff Becker
79badd6714
* clients expore dht faster
* use random path when doing dht lookups for .loki
2020-01-02 16:37:17 -05:00
Jeff Becker
a8e6069a93
enable profiling by default 2020-01-02 16:14:15 -05:00
Jeff Becker
a3addb7950
dont static link for release 2020-01-02 12:25:30 -05:00
Jeff
5156f68a9d
disable failing gitlab ci 2020-01-02 08:26:41 -05:00
Jeff
19a24dddf2
Update .gitlab-ci.yml
disable ninja as that too is cursed on this setup
2020-01-02 08:02:13 -05:00
Jeff
4aa77df67b
Update .gitlab-ci.yml
remove ccache for gitlab because ccache on gitlab ci is cursed rn
2020-01-02 07:59:28 -05:00
Jeff
29dc1eb041
Update .gitlab-ci.yml
update gitlab ci
2020-01-02 07:55:07 -05:00
Jeff
616f65028b
allow fail of docker build because docker is fail 2020-01-02 07:03:37 -05:00
Jeff
0c979aaa3f
Merge pull request #1017 from despair86/dev
IX86 builds should only require SSE3 by default
2019-12-31 10:32:03 -05:00
Rick V
6bb95ce718 IX86 builds should only require SSE3, and this still allows debian release mgr to override the target selection flag 2019-12-31 09:15:57 -06:00
Jeff
f5338512b3
Merge pull request #1014 from majestrate/limit-client-path-builds-at-edges-2019-12-30
Limit client path builds at edges
2019-12-30 17:08:42 -05:00
Jeff Becker
472cee2594
make static constant for decay interval 2019-12-30 17:03:34 -05:00
Jeff Becker
7c92805bb4
fix typo 2019-12-30 17:03:19 -05:00