Alex Kotov
|
9c9d0cc7f2
|
Move yggdrasilctl command line env to main mod
|
2021-07-25 00:10:59 +05:00 |
|
Alex Kotov
|
b3ca1c40a1
|
Move yggdrasilctl command line env to separate mod
|
2021-07-23 17:08:45 +05:00 |
|
Alex Kotov
|
f28efec08a
|
Rename functions
|
2021-07-23 16:27:58 +05:00 |
|
Alex Kotov
|
fe11e8f4d9
|
Move yggdrasilctl connection code to separate func
|
2021-07-23 16:25:39 +05:00 |
|
Alex Kotov
|
d81af24fcb
|
Turn yggdrasilctl CmdLineEnv funcs to methods
|
2021-07-23 16:14:35 +05:00 |
|
Alex Kotov
|
ce595ed9ae
|
Move struct fields into lines
|
2021-07-23 16:04:48 +05:00 |
|
Alex Kotov
|
dc79a71d91
|
Reorder code
|
2021-07-23 16:02:31 +05:00 |
|
Alex Kotov
|
3b7bb9274d
|
Function to create yggdrasilctl CmdLineEnv
|
2021-07-23 16:01:46 +05:00 |
|
Alex Kotov
|
6019caff23
|
Move yggdrasilctl endpoint setting logic into separate func
|
2021-07-23 16:00:13 +05:00 |
|
Alex Kotov
|
f82dac714a
|
Rename func parseCmdLine to parseFlagsAndArgs
|
2021-07-23 15:52:32 +05:00 |
|
Alex Kotov
|
cf3d40c0f5
|
Turn struct CmdLine into CmdLineEnv
|
2021-07-23 15:51:32 +05:00 |
|
Alex Kotov
|
26bf7747a1
|
Move yggdrasilctl command line parsing to separate func
|
2021-07-23 15:41:08 +05:00 |
|
Alex Kotov
|
b9a4a9749c
|
Create struct CmdLine for yggdrasilctl
|
2021-07-23 15:23:34 +05:00 |
|
Alex Kotov
|
7e98367d43
|
Add empty lines
|
2021-07-22 23:30:14 +05:00 |
|
Alex Kotov
|
215351aefc
|
Move yggdrasilctl request switch to separate function
|
2021-07-22 23:24:21 +05:00 |
|
Alex Kotov
|
fa65253e57
|
Move yggdrasilctl responses to separate functions
|
2021-07-22 20:01:29 +05:00 |
|
Arceliar
|
f990a56046
|
have the core wrap and export the underlying PacketConn, move IPv6 ReadWriteCloser wrapper logic to a separate package
|
2021-07-05 13:14:12 -05:00 |
|
Arceliar
|
5844079f67
|
make sure genconf exits, clean up some commented out code
|
2021-07-03 17:27:00 -05:00 |
|
Arceliar
|
df44b0227b
|
disable SIGHUP handling for now
|
2021-07-01 08:54:14 -05:00 |
|
Arceliar
|
ff44417dec
|
listen for SIGHUP, restart node (reload config file, listen for stdin again, etc) if we receive one
|
2021-07-01 08:04:01 -05:00 |
|
Arceliar
|
de853fed10
|
multicast configuration changes
|
2021-06-27 17:24:46 -05:00 |
|
Neil Alexander
|
4701f941a9
|
Remove debug line
|
2021-06-27 09:42:46 +01:00 |
|
Arceliar
|
a42b77db84
|
attempt to convert old multicast listen regexps into new struct format
|
2021-06-27 03:33:29 -05:00 |
|
Arceliar
|
2a7a53b6b6
|
move GenerateConfig to defaults, to adjust dependency ordering, needed for stuff later
|
2021-06-27 02:18:51 -05:00 |
|
Arceliar
|
e7da3d72c4
|
remove session firewall, this can't prevent memory use so it's better to just use OS native tools
|
2021-06-06 02:35:02 -05:00 |
|
Neil Alexander
|
d46a883020
|
Include public key in yggdrasilctl getSelf output for v0.4 nodes
|
2021-06-05 21:54:05 +01:00 |
|
Neil Alexander
|
80b6bf0c78
|
Further tweaks to transition handling
|
2021-06-05 21:49:11 +01:00 |
|
Neil Alexander
|
54cced0b89
|
Ensure PublicKey is correct when extracting from old config
|
2021-06-05 21:40:58 +01:00 |
|
Neil Alexander
|
ea15eeee7e
|
Ensure PublicKey option is unused, map old config options
|
2021-06-05 21:32:04 +01:00 |
|
Neil Alexander
|
99973b2757
|
Remove module package, it didn't really give us anything anyway
|
2021-06-05 20:57:03 +01:00 |
|
Arceliar
|
e67ee9232d
|
fix nil pointer when attempting to access node config
|
2021-06-05 06:00:33 -05:00 |
|
Neil Alexander
|
8932ab0519
|
Fix lint errors
|
2021-06-02 14:40:09 +01:00 |
|
Neil Alexander
|
166336a418
|
Remove config.NodeState (hot reconfig is no longer supported)
|
2021-06-02 14:19:32 +01:00 |
|
Arceliar
|
6bc2044ced
|
update ironwood dependency, fix ansible code, go mod tidy
|
2021-05-23 17:52:10 -05:00 |
|
Arceliar
|
018f35d9a2
|
rename src/yggdrasil to src/core
|
2021-05-23 14:42:26 -05:00 |
|
Arceliar
|
0343dad934
|
remove obsolete crypto package
|
2021-05-23 14:33:28 -05:00 |
|
Arceliar
|
5b00273dfc
|
move sessionfirewall into the tuntap. this needs testing. the name is also slightly wrong, since a crypto session can still be set up, packets are just accepted/rejected at the tun/tap level instead
|
2021-05-15 15:55:47 -05:00 |
|
Neil Alexander
|
815f2a2822
|
Respond with ICMPv6 Packet Too Big over network
|
2021-05-10 23:09:59 +01:00 |
|
Neil Alexander
|
57ea61b338
|
Remove reconfiguration on SIGHUP - it didn't work reliably anyway
|
2021-05-10 22:47:28 +01:00 |
|
Neil Alexander
|
05caf36f4e
|
Fix AllowedPublicKeys
|
2021-05-10 22:39:12 +01:00 |
|
Neil Alexander
|
bb92e61e68
|
Remove encryption public key options (they are now derived from ed25519 key conversion in IW), also bump link version number
|
2021-05-10 22:06:38 +01:00 |
|
Arceliar
|
6cb958e3dc
|
update genkeys to new address format
|
2021-05-10 05:58:06 -05:00 |
|
Arceliar
|
8bed79370b
|
(broken state) WIP, compiles and passes the netns ping test
|
2021-05-08 11:52:22 -05:00 |
|
Arceliar
|
ace7b43b6d
|
(broken state) WIP address migration
|
2021-05-08 07:25:53 -05:00 |
|
Neil Alexander
|
fdb296047b
|
Merge branch 'future' into develop-future
|
2020-09-27 20:28:26 +01:00 |
|
Ryan Westlund
|
d6d2d9c19a
|
Accept some golint suggestions (#690)
* Fixed some linter issues
* Simplified isBetter method
* Accept some linter suggestions
* Fix typo
Co-authored-by: klesomik <klesomiks@gmail.com>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
|
2020-09-27 14:42:46 +01:00 |
|
Arceliar
|
20ef591013
|
fix some crashes with races during peer setup
|
2020-05-02 11:16:11 -05:00 |
|
Arceliar
|
72afa05029
|
test dial/listen in the sim
|
2020-05-02 10:01:09 -05:00 |
|
Arceliar
|
5db93be4df
|
more sim work
|
2020-04-26 09:59:30 -05:00 |
|
Arceliar
|
9c818c6278
|
work-in-progress on a new sim
|
2020-04-26 07:33:03 -05:00 |
|