Commit Graph

281 Commits

Author SHA1 Message Date
Kusakabe Si
78322227ef fix http_post_api wrong src dst 2021-12-24 20:40:21 +00:00
Kusakabe Si
d9cccdd96b Ignore static setting for localhost supernode 2021-12-24 13:24:33 +00:00
Kusakabe Si
06cc0f7645 Fix SetEndpointFromConnURL store url bug 2021-12-18 11:26:57 +00:00
Kusakabe Si
5c9a9be1fe AfPrefer 2021-12-17 07:34:26 +00:00
Kusakabe Si
7e53dab4b7 EndpointExternalIP 2021-12-16 02:56:02 +00:00
Kusakabe Si
b4285d3e5d AdditionalLocalIP 2021-12-15 08:21:11 +00:00
Kusakabe Si
326d716e80 Fix bug: p2p mode querypeer not work 2021-12-13 04:20:58 +00:00
Kusakabe Si
3940553358 calculatePaddingSize 2021-12-12 20:34:36 +00:00
Kusakabe Si
0258ed4ef0 Update readme.md 2021-12-12 18:58:33 +00:00
Kusakabe Si
2a27f7b463 Fix bug: faststart and fastping not working 2021-12-12 18:32:30 +00:00
Kusakabe Si
3f6001dcdf Move TTL to header, remove packet_len, increase MTU to 1404 2021-12-12 11:35:20 +00:00
Kusakabe Si
ad4ffff985 Update default MTU to 1402 2021-12-12 08:38:13 +00:00
Kusakabe Si
92e2c7d2e1 Update and use DefaultMTU 2021-12-11 19:33:01 +00:00
Kusakabe Si
fdecd0c45b Check CreatePeer success before continue 2021-12-11 04:32:45 +00:00
Kusakabe Si
32b674d629 fix invalid packet len detection 2021-12-10 19:44:04 +00:00
Kusakabe Si
5608430139 Check packetsize before process to fix out of range 2021-12-10 18:07:09 +00:00
Kusakabe Si
db8cf4710a reorder config, 3.3, genp2p 2021-12-10 00:09:50 +00:00
Kusakabe Si
7ef762b6b0 Fix local timediff 2021-12-09 21:29:05 +00:00
Kusakabe Si
17fe0cdae3 fastgen static config, update readme 2021-12-09 20:29:58 +00:00
Kusakabe Si
d555963227 fast spread, static gencfg 2021-12-09 07:46:15 +00:00
Kusakabe Si
18d019725c Fase generate and 2 new API 2021-12-05 22:02:49 +00:00
Kusakabe Si
e3113149aa Set IP to interface via ioctl 2021-12-05 00:09:49 +00:00
Kusakabe Si
61e6489a70 Use atomic.Value to store hashes 2021-12-04 04:44:17 +00:00
Kusakabe Si
c239162159 SuperParams 2021-12-04 03:38:18 +00:00
Kusakabe Si
e949229827 clear duplicated variables 2021-12-03 23:02:05 +00:00
Kusakabe Si
c1133c9a69 http based pong_msg 2021-12-03 20:16:18 +00:00
KusakabeSi
a8d5a2a602 Prevent negtive AddCost, fix addpeer api bug 2021-11-06 09:14:13 +00:00
KusakabeSi
91d8e92b39 FastTry 2021-10-27 01:41:13 +00:00
KusakabeSi
056f7173a0 Add new AdditionalCost, fix some bugs 2021-10-27 01:02:44 +00:00
KusakabeSi
b95646576f fix bug: repush edgeingo routinue part 2 2021-10-16 07:16:52 +00:00
KusakabeSi
4a15fa95c1 fix bug: nodeID incorrect detecion 2021-10-14 16:20:41 +00:00
KusakabeSi
fd80661060 CheckAnyShouldUpdate 2021-10-14 10:42:40 +00:00
KusakabeSi
9054ee126a Negative cycle detection and removal 2021-10-12 08:09:38 +00:00
KusakabeSi
f689aadccf new log type: internal 2021-10-09 11:08:28 +00:00
KusakabeSi
776df87879 bugfix: addpeer API. new: tcpsock,udpsock,fd 2021-10-06 08:47:57 +00:00
KusakabeSi
b99b0254ea L2FIB Timeout 2021-10-01 09:01:41 +00:00
KusakabeSi
06b7ea1edb Static mode for supernode,dump packet, update readme, add code of concept 2021-09-30 21:44:07 +00:00
KusakabeSi
96682579f8 Add timeout and lastseen at supernode, add lock to map access 2021-09-28 23:36:55 +00:00
KusakabeSi
a60a9e8388 Don't lock peer while it's alive 2021-09-26 12:59:57 +00:00
KusakabeSi
4d0b5d1a3f bugfix: loop breaks on error, should continue to next 2021-09-24 11:33:17 +00:00
KusakabeSi
34443127b9 parse error for metamessage and allow single network stack 2021-09-23 19:16:45 +00:00
KusakabeSi
2ac7c0547d std bind, http api, hole punching, domain endpoint, faster reaction, psk 2021-09-23 11:31:01 +00:00
KusakabeSi
a26376cec5 add/del peer dynamically 2021-09-21 20:03:11 +00:00
KusakabeSi
29b53884ba shrink header to inc MTU to 1416 2021-09-21 01:31:11 +00:00
KusakabeSi
72e4ebc91d version check in supernode 2021-09-20 21:00:34 +00:00
KusakabeSi
7951ba2f6a fix supernode ipv6 problem, add error message 2021-09-20 16:27:53 +00:00
KusakabeSi
5fbb065897 no-vpp version 2021-08-26 11:20:54 +00:00
KusakabeSi
4443b8bddf Path solver and beta release 2021-08-25 18:20:35 +00:00
KusakabeSi
f8fe962f6a NTP support 2021-08-25 18:20:33 +00:00
KusakabeSi
eae0dc1aa5 Fix bug: remove unnecessary nhTable update 2021-08-25 18:20:30 +00:00