Callan Bryant
|
deef2574e7
|
add dead codde to bring up iface
|
2020-03-04 19:56:57 +00:00 |
|
Callan Bryant
|
c7e9210a96
|
use []PeerConfig literal
|
2020-03-04 19:47:27 +00:00 |
|
Callan Bryant
|
d81bd72a5f
|
make networks required for peer
|
2020-03-04 19:46:39 +00:00 |
|
Callan Bryant
|
4bb17e043f
|
start attempt at interface creation
|
2020-03-04 19:43:54 +00:00 |
|
Callan Bryant
|
909e6ed264
|
switch to status
|
2020-03-03 23:43:55 +00:00 |
|
Callan Bryant
|
c1c4cccce2
|
fmt
|
2020-03-03 23:41:55 +00:00 |
|
Callan Bryant
|
03b0a5d4fb
|
add comments on what statuses mean
|
2020-03-03 23:37:58 +00:00 |
|
Callan Bryant
|
d8bfa083d2
|
comment about NATs
|
2020-03-03 23:32:56 +00:00 |
|
Callan Bryant
|
dc703e20dc
|
remove hyphen
|
2020-03-03 23:32:07 +00:00 |
|
Callan Bryant
|
1011cf5e66
|
use ExitFail instead of panic
|
2020-03-03 23:11:54 +00:00 |
|
Callan Bryant
|
b87948de55
|
enable validation where appropriate
|
2020-03-03 23:09:54 +00:00 |
|
Callan Bryant
|
020de337ce
|
check config file early for init/add
|
2020-03-03 22:33:48 +00:00 |
|
Callan Bryant
|
ca310b18ec
|
update report types with config changes
|
2020-03-03 21:22:37 +00:00 |
|
Callan Bryant
|
c2aac62f27
|
deal with private IP separately
|
2020-03-03 22:30:36 +00:00 |
|
Callan Bryant
|
5cc866fe77
|
separate config types from report types
|
2020-03-03 22:08:52 +00:00 |
|
Callan Bryant
|
125f3c4e26
|
working config generation
|
2020-03-03 21:28:06 +00:00 |
|
Callan Bryant
|
8f2ac50590
|
split types into extypes
|
2020-03-03 20:25:48 +00:00 |
|
Callan Bryant
|
06d1642b16
|
fallback to icanhazip for external IP detection
|
2020-03-02 22:31:52 +00:00 |
|
Callan Bryant
|
335d232727
|
correct single host mask
|
2020-03-02 21:39:45 +00:00 |
|
Callan Bryant
|
1fdf4fe71f
|
prompts: stderr< + misc
|
2020-03-02 21:36:41 +00:00 |
|
Callan Bryant
|
8e29d1cba7
|
re-order DsnetConfig
|
2020-03-02 21:17:53 +00:00 |
|
Callan Bryant
|
994814b180
|
auto external IP detection
|
2020-03-02 21:11:45 +00:00 |
|
Callan Bryant
|
c4cb15c45e
|
separate internal/external IP
|
2020-03-02 21:02:21 +00:00 |
|
Callan Bryant
|
e02a1552e9
|
MustChooseIP -> MustAllocateIP
|
2020-03-02 20:11:33 +00:00 |
|
Callan Bryant
|
089ed04173
|
record / allocate IP
|
2020-03-02 20:10:48 +00:00 |
|
Callan Bryant
|
19668c0334
|
start peer conf file, update README
|
2020-03-02 19:57:52 +00:00 |
|
Callan Bryant
|
8baaa06d84
|
reorder dsnet config
|
2020-03-02 19:41:36 +00:00 |
|
Callan Bryant
|
9a214d8987
|
fix net JSON parsing
|
2020-03-02 19:38:00 +00:00 |
|
Callan Bryant
|
cf93b219a1
|
correct IPAllocated()
|
2020-03-02 19:31:29 +00:00 |
|
Callan Bryant
|
e0f753d3d0
|
ChooseIP -> MustChooseIP
|
2020-03-02 19:29:08 +00:00 |
|
Callan Bryant
|
6700a47a75
|
fix IP allocation logic
|
2020-03-02 19:27:54 +00:00 |
|
Callan Bryant
|
11ed6be6d1
|
add validationof hostname + IP
|
2020-03-02 19:26:08 +00:00 |
|
Callan Bryant
|
af7484c84b
|
allocate IP to peer
|
2020-03-02 19:13:47 +00:00 |
|
Callan Bryant
|
faf0e59887
|
correct IP enumeration
|
2020-03-02 19:13:38 +00:00 |
|
Callan Bryant
|
2fcda8b90a
|
go fmt
|
2020-03-02 19:03:00 +00:00 |
|
Callan Bryant
|
12e8158725
|
avoid broadcast addr
|
2020-03-02 19:02:09 +00:00 |
|
Callan Bryant
|
d0c33994f8
|
check to see if IP is already allocated
|
2020-03-02 18:56:47 +00:00 |
|
Callan Bryant
|
45ec0ff5b8
|
POC IP range enumeration
|
2020-03-02 18:44:19 +00:00 |
|
Callan Bryant
|
57002288de
|
update README
|
2020-03-02 18:15:34 +00:00 |
|
Callan Bryant
|
1bd215600c
|
working incomplete adding of peers. Now sleep.
|
2020-03-02 03:08:28 +00:00 |
|
Callan Bryant
|
c419dfed48
|
fn/method to load/save conf
|
2020-03-02 02:54:43 +00:00 |
|
Callan Bryant
|
9c470d4534
|
fix parsing -- needed a pointer method
|
2020-03-02 02:49:44 +00:00 |
|
Callan Bryant
|
11a4ab4fc0
|
broken config file parsing
|
2020-03-02 02:49:03 +00:00 |
|
Callan Bryant
|
3cce9fa63e
|
start unmarshalling of config file
|
2020-03-02 02:35:32 +00:00 |
|
Callan Bryant
|
e62f47dee0
|
hostname -- (unique) annotation
|
2020-03-02 02:18:15 +00:00 |
|
Callan Bryant
|
bba8662ab9
|
add prompts for add cmd
|
2020-03-02 02:17:30 +00:00 |
|
Callan Bryant
|
27e0fcf327
|
add flags parsing (may remove for prompt/args)
|
2020-03-02 01:35:59 +00:00 |
|
Callan Bryant
|
0e06d0181f
|
update subcmds
|
2020-03-02 00:48:59 +00:00 |
|
Callan Bryant
|
cbaabd4579
|
start add cmd
|
2020-03-02 00:45:14 +00:00 |
|
Callan Bryant
|
55ee25d943
|
finish dsnet init -- write to sys file
|
2020-03-01 23:52:20 +00:00 |
|