Commit Graph

6581 Commits

Author SHA1 Message Date
Jeff Becker
dcdd147e74
use static_cast with enum class 2021-02-24 14:08:21 -05:00
Jeff Becker
5fe7e00765
make AuthResultCode an enum class 2021-02-24 14:08:21 -05:00
Jeff Becker
94b8743b1c
fix typo 2021-02-24 14:08:21 -05:00
Jeff Becker
5b2abce86f
add string reason to auth messages 2021-02-24 14:08:21 -05:00
Jeff Becker
2cb889013b
revise lambda captures 2021-02-24 14:08:21 -05:00
Jeff Becker
85867bd7be
make service restart 2021-02-24 14:08:20 -05:00
Jeff Becker
6d5f1b0c6a
feedback auth result via lmq rpc 2021-02-24 14:07:50 -05:00
Jeff
c76f2fe8de
Merge pull request #1496 from majestrate/rpc-kill-endpoint-sessions-2020-11-28
add llarp.endpoint rpc command
2021-02-23 18:53:06 -05:00
Jeff
59aa0768c8
Merge pull request #1544 from majestrate/only-set-public-address-when-provided-2021-02-23
only set public address when provided
2021-02-23 09:43:44 -05:00
Jeff Becker
785b4258ed
only set public address when provided 2021-02-23 09:35:24 -05:00
Jeff
4fc1f8e4bf
Merge pull request #1543 from majestrate/try-remove-cpu-bottleneck-2021-02-22
remove packet rate based cpu bottleneck
2021-02-23 05:54:10 -05:00
Jeff Becker
d7842d18ee
add missing header 2021-02-23 05:53:48 -05:00
Jeff Becker
cb3b89457f
remove pointless operator overload 2021-02-23 05:49:32 -05:00
Jeff Becker
be3faeb402
feedback from tom.
* remove unneeded header.
* fix typo in docs
2021-02-23 05:48:50 -05:00
Jeff Becker
1c3020a05e
drop on overload 2021-02-22 15:29:12 -05:00
Jeff Becker
bb9bd25059
get rid of use of llarp::IpAddress from hotpaths 2021-02-22 10:01:05 -05:00
Jeff Becker
01262d1c4d
flush queue when full 2021-02-22 09:03:34 -05:00
Jeff Becker
42ffbcca0a
try coleasing inbound packets from iwp 2021-02-22 08:26:32 -05:00
Jeff
0c869600df
Merge pull request #1532 from majestrate/network-thaw-2021-02-08
thaw network when default gateway changes
2021-02-19 06:07:03 -05:00
Jeff Becker
dc68ff6de9
prevent bad side effects, dont use iterator after use and use operator[] 2021-02-18 18:51:43 -05:00
Jeff Becker
b2b68c413c
actually set disabled when disabiling route poker 2021-02-18 18:24:50 -05:00
Jeff Becker
6a29cc7380
call closed hook when we explicitly close a link session 2021-02-17 14:26:54 -05:00
Jeff Becker
6a2d35d907
always use most recent convotag 2021-02-17 14:26:39 -05:00
Jeff Becker
b484d9bebb
update route poker logic to include "up" 2021-02-17 13:36:57 -05:00
Jeff Becker
e46204b068
dont wire up router thaw to sigusr1 2021-02-17 13:35:06 -05:00
Jeff Becker
07b599430e
thaw router when connectivity changes 2021-02-17 13:35:06 -05:00
Jeff Becker
676ca7f511
close stale sessions on thaw because they are probably already gone. this removes them and forces the sessions to be renegotiated. 2021-02-17 13:32:55 -05:00
Jeff Becker
ffef3bc48f
wire up sigusr1 to reset libunbound dns resolver 2021-02-17 13:32:55 -05:00
Jeff
6825e9177d
Merge pull request #1538 from majestrate/ip6nat-exit-2021-02-16
ip6 nat exits
2021-02-17 13:31:11 -05:00
Jeff Becker
8239efa71b
clarify new member's purpose and name. add comment. 2021-02-17 07:54:18 -05:00
Jeff Becker
1526941f3a
make it compile again 2021-02-17 07:49:47 -05:00
Jeff Becker
0600f42814
fix up names of functions to be less hidious. 2021-02-17 06:37:21 -05:00
Jeff Becker
1ee545d6d2
fix up macos route command for ipv6 2021-02-16 16:37:08 -05:00
Jeff Becker
35137913b9
windows and macos route pokers for ipv6 2021-02-16 15:01:07 -05:00
Jeff Becker
1c7079dbab
fix up route poking with lokinet to work with ipv6 2021-02-16 12:37:16 -05:00
Jeff Becker
063e982ef6
fix exit range default value 2021-02-16 11:25:44 -05:00
Jeff Becker
bd93a8f828
initial v6 exits 2021-02-16 10:59:57 -05:00
Jeff
fe29df696c
Merge pull request #1522 from majestrate/update-readme-2021-01-25
redo readme structure
2021-02-10 05:35:14 -05:00
Jeff Becker
935f210900
update readme links 2021-02-09 11:09:53 -05:00
Jeff Becker
2d4ff6c9dd
update badge url 2021-02-09 11:05:03 -05:00
Jeff Becker
6d00c3ecd2
update windows parts
* document need for ninja-build package
* update contrib/windows.sh, remove -DCROSS_COMPILE option, set -e and set +x
2021-02-09 11:05:02 -05:00
Jeff Becker
fdc3de6f9c
redo readme structure:
* add notes about debian packages (fixes #1521)
* reorder sections to have better flow
* add notes about win/mac release location
2021-02-09 11:04:22 -05:00
Jeff
5c1f66b8c0
Merge pull request #1531 from komachi/update-apparmor
Update AppArmor profile
2021-02-06 08:00:52 -05:00
Anton Nesterov
da2c979936 update apparmor profile:
add nameservice abstraction
give profile a name
allow to read conf, tmp files, etc.
remove /lib/@{multiarch}/ld-*.so mr, already covered by abstractions/base
allow local additions
2021-02-05 20:16:57 +00:00
Jeff
c5a423d3f8
Merge pull request #1529 from majestrate/nodedb-refactor-2021-02-02
NodeDB refactor
2021-02-03 16:42:12 -05:00
Jeff Becker
1f1db29816
GetIf -> GetRandom 2021-02-03 16:38:31 -05:00
Jeff Becker
f24cdb305b
clean up calls to NodeDB::GetIf to be cleaner and more concise 2021-02-03 14:49:33 -05:00
Jeff Becker
c8aba0af31
make llarp::NodeDB::GetIf always randmize location 2021-02-03 14:49:00 -05:00
Jeff Becker
d55705362a
use good routers 2021-02-03 13:50:12 -05:00
Jeff Becker
b6dbbb4bef
consolidate pathbuilder logic
* deduplicate code for path hops selection
2021-02-03 13:44:43 -05:00