Commit Graph

1196 Commits

Author SHA1 Message Date
Logan oos Even
5a93fdf166
created space for more REGISTER type cookies
... to allow better differentiation between several (future) REGISTER / ACK transmission paths
2021-09-27 02:29:29 +05:45
Logan oos Even
40f1894956
hid community name at management port if header encryption enabled (#822) 2021-09-26 05:01:53 +05:45
Logan oos Even
cc2b0b6b6b
added support for N2N_FEDERATION environment variable (#820) 2021-09-26 04:32:12 +05:45
Logan oos Even
56a81f02b8
fixes (#819) 2021-09-26 00:17:47 +05:45
Logan oos Even
a09d9ab698
updated Scratchpad.md 2021-09-25 16:10:38 +05:45
Logan oos Even
dfe15ad95d
added support for N2N_PASSWORD environment variable (#818) 2021-09-25 16:01:11 +05:45
Hacker
09fdfb0424
added support for COMMUNITY_NAME environment variable (#814)
Co-authored-by: codeneno <qsmy_qin@163.com>
Co-authored-by: Logan oos Even <Logan.00sEven@gmail.com>
2021-09-25 15:15:16 +05:45
Logan oos Even
f093996535
moved up 'send_unregister_super()' to happen before 'WaitForSingleObject()' (Windows TAP thread's end) 2021-09-23 15:54:55 +05:45
lucktu
c4d56574ef
polished edge's management port output (#805) 2021-09-20 18:01:07 +05:45
Luca Deri
d4e0f5a445 Warnign fixes 2021-09-18 09:39:57 +02:00
Logan oos Even
37c556b57b
modified edge's management port output (#801) 2021-09-18 01:04:24 +05:45
skyformat99
a87a124316
Update supernode.c (#800)
fix #799
2021-09-17 15:22:26 +02:00
Hamish Coleman
9caa8902b0
Fix build error when libcap-dev is installed (#798)
* Fix build error when libcap-dev is installed

* Revert 829ba29, allowing LDLIBS based fix to work
2021-09-17 15:20:55 +02:00
Luca Deri
829ba29a2b Fixes regression introduced by 35ec7336a6 that put libraries in wrong order causing edge to fail during linking 2021-09-17 10:14:11 +00:00
Logan oos Even
dd41689bb9
added supernode version and uptime information to edge management port output (#796) 2021-09-17 02:34:09 +05:45
Hamish Coleman
35ec7336a6
simplified the makefiles (#795)
* Move the makefiles towards a clearer arrangement

* Break circular make dependancy and start using implicit rules for most compilation

* Fix old cmake to compile again after renames
2021-09-16 18:34:04 +05:45
Logan oos Even
593387fe30
compile fix (#794) 2021-09-16 15:07:33 +05:45
Hamish Coleman
370ea9bd37
addressed all but one of the remaining compile warnings (#793)
* Fix the mismatched char, uint8_t warnings

* Ensure we leave room for zero termination and then ensure the string is terminated

* GCC has a warning if it thinks your could overflow your snprintf buffer, but dont check for said overflow
2021-09-16 14:45:46 +05:45
Logan oos Even
05f40c64db
relocated 'detect_local_ip_address()' (#792) 2021-09-16 14:15:21 +05:45
Logan oos Even
9c22d28562
relocated 'detect_local_ip_address()' (#791) 2021-09-16 12:20:35 +05:45
Hamish Coleman
6b353141b4
addressed warnings (#790) 2021-09-15 22:08:45 +05:45
Logan oos Even
72d703c449
disabled edge's multicast peer detection if used with '-e' (#783) 2021-09-13 21:03:35 +05:45
Logan oos Even
8eb13165d4
added another type cast to socket handling 2021-09-13 15:07:34 +05:45
Logan oos Even
46205c6cff
added type cast to socket handling 2021-09-13 14:40:28 +05:45
Logan oos Even
c5970986f5
replaced 'close()' with 'closesocket()' 2021-09-13 13:39:15 +05:45
Logan oos Even
b3bf36f867
separated 'detect_local_ip_address()' function (#781) 2021-09-13 11:33:27 +05:45
Logan oos Even
7f1fe9a499
allowed edge to optionally auto-detetct local IP address ('-e auto') for advertising as preferred (#776) 2021-09-12 00:22:05 +05:45
Logan oos Even
defad50f87
removed '-p' cli option requirement for (#775) 2021-09-11 20:54:09 +05:45
Logan oos Even
92aa5ebee6
updated Scratchpad.md 2021-09-10 03:23:48 +05:45
Logan oos Even
52efc6ffad
compilation fix 2021-09-09 14:10:01 +05:45
Logan oos Even
7fa0cc1e0a
added preferred socket handling (-e) (#765) 2021-09-09 14:07:29 +05:45
Logan oos Even
05e6579038
merged edge's '-b' into '-p' command line option (#772) 2021-09-09 12:44:23 +05:45
Logan oos Even
4cba2b5582
typo 2021-09-08 01:11:19 +05:45
Logan oos Even
04d91f84d8
fixed optional SKIP_MULTICAST_PEERS_DISCOVERY macro (#770) 2021-09-08 00:56:05 +05:45
Logan oos Even
236b9bf4c7
fixed missing gratuitous arp (#769) 2021-09-07 01:36:51 +05:45
Logan oos Even
b6e865aac7
trimmed open_socket() down by one parameter (#768) 2021-09-06 17:03:15 +05:45
Logan oos Even
c5eb756840
de-nested one if block 2021-08-30 16:03:11 +05:45
Logan oos Even
bc62b8be0a
changed default to pthread support again 2021-08-30 15:27:42 +05:45
skyformat99
586beee871
fixed segmentation fault #758 (#762) 2021-08-30 14:35:14 +05:45
Logan oos Even
e13c9a01a5
rearranged thread-related code (#761) 2021-08-30 14:23:31 +05:45
Logan oos Even
70912300ca
updated CMakeLists.txt
disabled / undeffed global HAVE_PTHREAD due to #758 / #759
2021-08-30 12:46:07 +05:45
Logan oos Even
a1594bc976
Revert "Update CMakeLists.txt (#759)" (#760)
This reverts commit 921eb27482.
2021-08-30 12:43:09 +05:45
skyformat99
921eb27482
Update CMakeLists.txt (#759) 2021-08-30 11:24:10 +05:45
Logan oos Even
07cfa81d90
updated Scratchpad.md 2021-08-29 15:19:07 +05:45
Logan oos Even
f6eb1377ec
reviewed log messages (#744) 2021-08-29 15:10:23 +05:45
fengdaolong
04f0bd88e6
do not link if libpthread is not found (#757) 2021-08-29 13:27:17 +05:45
Logan oos Even
b0de090de4
Revert "correct wrong pthread lib switch logic (#755)" (#756)
This reverts commit 8e3fa33863.
2021-08-29 12:38:09 +05:45
fengdaolong
8e3fa33863
correct wrong pthread lib switch logic (#755) 2021-08-29 12:32:28 +05:45
fengdaolong
ae041c2133
CMakeLists.txt add link pthread library (#754) 2021-08-29 01:53:44 +05:45
Logan oos Even
c21accc2a1
enabled edge to bind to a specified IP address (-b) (#753) 2021-08-28 03:08:23 +05:45