Commit Graph

6482 Commits

Author SHA1 Message Date
Jeff Becker
42b979b266 remove line from uninstaller 2020-11-17 19:22:19 -04:00
Jeff Becker
c4e983da3f update icon 2020-11-17 19:22:19 -04:00
Jeff Becker
f3989c0f9a add entitlements 2020-11-17 19:22:19 -04:00
Jeff Becker
3a950aa950 change icon 2020-11-17 19:22:19 -04:00
Jeff Becker
4d089db3cd change tool name 2020-11-17 19:22:19 -04:00
Jeff Becker
36fa3f347a fix icon path 2020-11-17 19:22:19 -04:00
Jeff Becker
d2a68f8323 add install target 2020-11-17 19:22:19 -04:00
Jeff Becker
bb1f9c4dc0 ugh 2020-11-17 19:22:19 -04:00
Jeff Becker
d268ef1246 security.h 2020-11-17 19:22:19 -04:00
Jeff Becker
ee3489744e more fixes for macos 2020-11-17 19:22:19 -04:00
Jeff Becker
6e6bff5e1d fix header 2020-11-17 19:22:19 -04:00
Jeff Becker
e835ad6347 chmod +x 2020-11-17 19:22:19 -04:00
Jeff Becker
e183bf9673 fix typo 2020-11-17 19:22:19 -04:00
Jeff Becker
ca5df6436a add initial uninstaller code that is horrible 2020-11-17 19:22:19 -04:00
Jeff Becker
580f005f50 revert 2020-11-17 19:22:19 -04:00
Jeff Becker
3b3374fa4c try watching trash for lokinet-gui.app and delete ourself if we see it 2020-11-17 19:22:19 -04:00
Jeff Becker
41311c020a preflight -> preinstall 2020-11-17 19:22:19 -04:00
Jeff Becker
0afe9f0138 update packaging for macos add preinstall script that nukes any existing lokinet make uninstaller revert dns to "empty" make cpack use preinstall script in pkg file 2020-11-17 19:22:19 -04:00
Jason Rhinelander
384b968cf0
Merge pull request #1437 from majestrate/key-manager-fixes-2020-10-30
key manager should throw on failure to load keys
2020-11-17 19:05:56 -04:00
Jason Rhinelander
3694124a9a
Merge pull request #1482 from majestrate/lokinet-cryptography-instalpath-2020-11-17
fix install path for liblokinet-cryptography.so
2020-11-17 19:00:47 -04:00
Jeff Becker
27c276ae4d
fix install path for liblokinet-cryptography.so 2020-11-17 05:04:27 -05:00
Jeff
db7abe8f09
do /1 route poker split on linux (#1480)
* do /1 route poker split on linux

i hate netlink so god damn much

* use an enum class for the gateway mode
2020-11-16 13:33:45 -05:00
Jeff
dad66c50cb
poke route hole for loopback on windows because that OS is made by brain damaged non programmers. (#1473)
this fixes the gui bug where it hangs on adding an exit becuase loopback gets routed over the exit.
before it was causing the lmq connection to hang becuase of that route change.
2020-11-16 12:16:38 -05:00
Jason Rhinelander
8e550091ab
Disable LTO on sid for now (#1472) 2020-11-13 09:00:04 -05:00
Jason Rhinelander
fc49d09b26
Merge pull request #1470 from jagerman/svg-button-update
Update win32 gui download with smaller svg icon
2020-11-11 21:27:21 -04:00
Jason Rhinelander
bcdb521974 Update win32 gui download with smaller svg icon 2020-11-11 20:00:02 -04:00
Jeff
f18f18372a
stop lokinet before uninstalling service (#1469)
* stop lokinet before uninstalling service

* kill gui in uninstaller

* add helper script for building windows installers because i forgot how to most of the time.
2020-11-11 09:55:00 -05:00
Jason Rhinelander
b5bbe17479
Update gui win32 package url (#1466) (#1468)
Co-authored-by: Jeff <jeff@i2p.rocks>
2020-11-11 09:10:12 -05:00
Jason Rhinelander
f4fe47e028
Merge pull request #1467 from jagerman/win32-less-stuff
Install less stuff on windows CI
2020-11-11 00:01:29 -04:00
Jason Rhinelander
aa4c4e7453 Install less stuff on windows CI
mingw-w64 is a metapackage that pulls in 4 different compilers
{i686,x86_64}×{-posix,-win32} but we only need x86_64-posix, so just
install that package.
2020-11-10 20:11:29 -04:00
Jeff
a0ed303d7b
try to handle router deregistrations on the network better (#1461)
* don't send messages to de-registered relays but allow traffic to clients

* actively close sessions to de-registered relays
2020-11-10 09:24:58 -05:00
Jason Rhinelander
4eb275324d
Fix deb snapshot builds + misc other CI updates (#1462)
* Remove unneeded libcurl-dev build dep

* Make apt-get operations quieter

* apt repo updates

- store the apt repo gpg pubkey in the repo rather than having to fetch
it every time
- add the apt repo for all the deb builds
- update apt repo URL to deb.loki.network instead of
deb.imaginary.stream

* Use http so that we don't need ca-certificates

The repo packages are already signed so using https really isn't
important.

* Add hack to ignore jsonnet conflicts in deb builds

* Add build machine name to build output

* We don't install any shared libs currently
2020-11-10 05:25:37 -05:00
Jeff
8a6ad2b7ee remove dpi flag for windows 2020-11-09 14:34:55 -04:00
Jason Rhinelander
276015034c
Merge pull request #1459 from majestrate/revert-1444
Revert 1444
2020-11-08 11:30:53 -04:00
Jeff
a7518057cb Revert "deny traffic to non whitelisted routers. (#1444)"
This reverts commit ff02e62a79.
2020-11-08 10:04:28 -05:00
Jeff
6bca6b3582 Merge remote-tracking branch 'origin/stable' into dev 2020-11-06 13:48:28 -05:00
Jeff
ede6de708d
run without highdpi scaling on windows (#1456) 2020-11-06 12:38:43 -05:00
Jeff Becker
681de5fdaf bump lokinet wi32 gui build 2020-11-06 12:14:55 -04:00
Jeff
c743022cfb
try fixing deadlock (#1454)
* fix deadlock in #1453

* remove use of shared_lock in profiling
* clean up Save and Load to acquire lock
* bencode and bdecode are now non locking

* remove all places using std::shared_lock

* bail if write fails
2020-11-05 06:19:43 -05:00
Jeff Becker
9d8b724cae fix path in uninstall command 2020-11-04 20:35:41 -04:00
Jeff
e66522b9dd
fix path reference leak (#1451) 2020-11-04 11:08:29 -05:00
Jeff
34c7f0da0d
profiles.dat is always relative so if you spawn lokinet in / then it will error about permissions. (#1449)
* use absolute path for profiles.dat.

* remove old bencoding bits to use const fs::path instead of const char *
2020-11-03 10:54:55 -05:00
DEADBLACKCLOVER
30d7662ef2
Adding Russian translation (#1447)
* Create release_ru.md

* Create readme_ru.md

* Update readme.md
2020-11-03 09:11:18 -05:00
Jeff
d1181d0ebb
Bump win32 gui version (#1446)
* bump gui build and hashpin

* run gui in no-tray mode by default

* bump gui version and hashpin
2020-11-02 20:17:04 -05:00
Jeff
92ddda96a9
update information in exit-setup.md (#1441) 2020-11-02 08:17:06 -05:00
Jeff
8be7c46531
try fixing memory leak in path builder (#1442) 2020-11-02 08:06:46 -05:00
Jeff
ff02e62a79
deny traffic to non whitelisted routers. (#1444)
* deny message delivery from non registered nodes when whitelist is enabled and applicable

* use DoCallback and return true so that the event gets fired right
2020-11-01 10:02:24 -05:00
Jeff
87c76a6769
add exit.localhost.loki cname record (#1440)
* add exit.localhost.loki cname record

* return cname in localhost.loki A/AAAA lookup reply

* correctly handle case where we have no exit

* typofix

* simplify logic
2020-10-31 11:59:03 -04:00
Jason Rhinelander
eea0929077
Move resolvconf from deb branches to contrib/ (#1439)
* Move resolvconf from deb branches to contrib/

This script gets invoked by the systemd service after startup to update
resolvconf with the lokinet dns server.

It was previously living in debian/lokinet-resolvconf in the
debian/ubuntu branches, but really belongs in contrib/ instead.

* Disable LTO on sid gcc/clang-11
2020-10-31 05:21:55 -04:00
Jeff
3ec727d844
I have no words. (#1438)
So apparently dnsConfig in Router was never set.
Router::networkConfig was set, but only used in the function
which set it and otherwise only passed to another function once.
dnsConfig was only used in one place.

both member variables have been removed in favor of just
referencing Router::m_Config.

Co-authored-by: Thomas Winget <tewinget@gmail.com>
2020-10-30 19:32:00 -04:00