Commit Graph

108 Commits

Author SHA1 Message Date
Hamish Coleman
f5b730baed
added some cross-compiled binary outputs to the autobuild (#850)
* Add an example cross compile build

* Harmonise the naming to reflect full architecture and if it is a real package or not

* Add some more example cross compile targets

* Only one RPM package is created, so use the singular word

* Dont use build triplet for OS packages, use the OS prefered arch name

* Add some cross compiling documentation to the Building.md
2021-10-14 02:30:42 +05:45
Hamish Coleman
4438f1aa2a
added mingw test platform (#829)
* Provide a minimal reimplementation of our autoconf, to try windows builds

* Try building with windows

* Fix thinko in spelling

* Ensure shell script runs inside a shell

* Add a hack to aid include discovery

* Just keep adding tech debt...

* Assume that we will have slashes in some of the replacement strings and avoid that char with sed

* Restore one slash

* Hack around the tools makefile interdependancy bug

* A correct cflags include hack for each compile dir

* Ensure we link against winsock (note, even though this says 32bit, it should link the 64bit library ... I think)

* Bad link ordering if we dont use LDLIBS

* Remove unused make variable

* Remove makefile duplication using inheritance (this does mean you can no longer cd tools; make, but must do make tools)

* Add missing library for win32

* Show OS variable

* Make hack autoconf more robust for tests on non gitlab runners

* Remove no longer used substitutions from hack autoconf

* Add missing include path to tools under win32

* Build the win32 subdir when the compiler is Msys

* The different subdirs have different dependancies

* Ensure we can find the include files

* Fix library link ordering

* Ensure the tools dir can find the special win32 lib

* Deal with the differing basic type sizes on both linux/64bit and windows/64bit

* Document the steps to mimic the github windows/mingw build locally - to allow for simpler debugging

* Ensure branch name in instructions matches my test branch name

* Clarify the shell needed to build with mingw

* Since the makefile depends on knowing the OS, raise a fatal error if we cannot determine this

* Handling different compile environments is hard.

- Linux: sane and reasonable results for both uname -s (=Linux) and
  uname -o (=GNU/Linux)
- Windows/Mingw: insane results for uname -s
  (=MSYS_NT-$MAJOR.$MINOR-$BUILDNR) but sane results for uname -o (Msys)
- Macos: sane results for uname -s (=Darwin) but does not support
  uname -o at all

* Revamp the way that Mingw is detected

* Avoid attempting to generate gcovr report when running under windows

* Whoops, isolate the right step

* Fix spelling mistake

* win32/Makefile: Remove unused setting and add comment

* ensure that all win32 includes use the same expected path

* Allow simpler cross compilation by letting configure pass the CC and AR environment through

* Avoid multiple '_CRT_SECURE_NO_WARNINGS redefined' warnings

* Convert to a consolidated CONFIG_TARGET variable to select any different compile options

* Use the more generic printf defines to avoid warnings on mingw

* Update mingw build docs

* English better for reader happy make

* Address a number of mingw compiler warnings

* Fix Visual C compile

* Be sure to document some of the hacky nature of the mingw build
2021-10-06 00:52:15 +05:45
Logan oos Even
4aaa5e5522
updated Scratchpad.md 2021-09-27 19:55:21 +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
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
92aa5ebee6
updated Scratchpad.md 2021-09-10 03:23:48 +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
07cfa81d90
updated Scratchpad.md 2021-08-29 15:19:07 +05:45
Hamish Coleman
ecedcdcb58
Major documentation improvements (#752) 2021-08-19 20:02:53 +05:45
Logan oos Even
54ec208e5e
updated Federation.md 2021-08-08 18:01:38 +05:45
Logan oos Even
e09f3a4875
added federation support to user/password auth scheme (#741) 2021-07-31 22:17:07 +05:45
Logan oos Even
72d372cd04
updated scratchpad 2021-07-31 18:14:36 +05:45
Logan oos Even
9a7d05ebeb
updated Authentication doc 2021-07-21 14:17:35 +05:45
Logan oos Even
5a1c837f88
updated FAQ 2021-07-21 14:06:31 +05:45
Logan oos Even
045f6a7386
updated Faq.md 2021-07-20 22:38:23 +05:45
Logan oos Even
39aa50b4cd
added manual MAC/IP address spoofing protection override at supernode (-M) (#716) 2021-06-21 17:03:07 +05:45
Logan oos Even
a28327a0af
added user-password edge authentication (#673) 2021-06-04 03:11:22 +05:45
Logan oos Even
c9a610dbd9
updated Scratchpad.md 2021-03-18 17:21:27 +05:45
Logan oos Even
4d67ea577b
updated Crypto.md 2021-03-03 15:13:51 +05:45
Logan oos Even
683dbc5106
updated Building.md
now linking to issues mentioned
2021-02-23 16:35:11 +05:45
Logan oos Even
3ce2242e4f
update Building.md
added note concerning MinGW
2021-02-23 15:39:17 +05:45
Logan oos Even
c16ba44786
updated Scratchpad.md 2021-02-08 16:05:33 +05:45
Logan oos Even
aaca1424fd
added AVX-512 support to SPECK cipher (#630) 2021-02-08 15:27:29 +05:45
Logan oos Even
e31fc5f56a
added DHCP hint 2021-02-07 22:07:21 +05:45
Logan oos Even
b2d16f4162
typos, corrections, clarifications 2021-02-02 18:25:00 +05:45
Logan oos Even
e6352dc14f
updated tap configuration documentation (#621) 2021-02-02 16:58:24 +05:45
Logan oos Even
b7c69f8f61
updated Windows build instructions
typo
2021-02-01 17:39:22 +05:45
Logan oos Even
683dd407d7
updated Windows build instructions 2021-02-01 17:37:11 +05:45
Logan oos Even
3574865bf0
disabled SPECK defaulting to NEON support on ARM (#602) 2021-01-26 21:23:08 +05:45
Logan oos Even
5f34baf9b9
clarified authentication error (#600) 2021-01-25 19:08:34 +05:45
Logan oos Even
5cd1c9030c
added self-monitoring time stamp accuracy (#595) 2021-01-22 21:46:12 +05:45
Logan oos Even
e4e6efacf0
enhanced header encryption to full 128 bit iv (#589) 2021-01-17 18:37:17 +05:45
Logan oos Even
7d918c4da2
updated ConfigurationFiles.md 2021-01-13 00:56:50 +05:45
Logan oos Even
4e2548a98c
simplified conf file parsing (#582) 2021-01-13 00:45:48 +05:45
Logan oos Even
22c7145375
inter-linked to specific section 2021-01-12 18:30:16 +05:45
Logan oos Even
8761ae849b
added optional rtt based supernode selection: federation (#580) 2021-01-12 17:34:03 +05:45
Logan oos Even
9ee62d7415
rebased time stamp format: header encryption (#579)
* rebased time stamp format (header encryption)

* rearranged time stamp fields
2021-01-12 14:28:21 +05:45
Logan oos Even
83b24da40a
updated section on hashing
typo
2021-01-07 22:13:40 +05:45
Logan oos Even
8cb1b07fd9
updated section on hashing
...according to latest code changes
2021-01-07 22:12:41 +05:45
Logan oos Even
a136fb995e
updated Crypto.md
clarification, added details about -k cli option and N2N_KEY
2021-01-07 20:58:40 +05:45
Francesco Carli
a2c6c7c836
Add details to doc (#569) 2021-01-07 11:15:04 +01:00
Francesco Carli
0bdab26921
added federation doc (#558) 2020-12-24 14:56:43 +01:00
Logan oos Even
c4fd7eda91
fix document link (#555) 2020-12-24 14:55:20 +01:00
Logan oos Even
dd712e53ab
fix links in doc (#554) 2020-12-24 14:55:04 +01:00
Logan oos Even
8f158750c4
added communities doc, trimmed readme, outsourced advanced topics (#540) 2020-12-19 12:27:34 +01:00
Logan oos Even
c45da8714b
added edge authentication doc (#517) 2020-12-02 08:34:34 +01:00
joshuafc
a840aebb83
Add feature to drop or accept specific packet transmit over edge network interface by rules. (#489)
* Add new file 'network_traffic_filter.c/.h"

* Add feature to drop or accept specific packet transmit over edge network interface by rules.

* fix CMakeLists.txt typo

* Update Rule String Format

* replace -F (filter) with -R (rule) for traffic restrictions.

* Update edge help (-h)  message. Update documents.
2020-11-10 16:35:05 +01:00