Vincent Milum Jr
93ffd75b02
Add ZT_NO_UNALIGNED_ACCESS for ARMv6/7 on FreeBSD
...
Unaligned access caused SIGBUS errors on ARMv6 and ARMv7 targets under FreeBSD.
This was also the cause of the repeating TAP devices. Each time the SIGBUS happened, the service would auto-restart itself, create a new TAP device, and then crash again.
The particular place causing the SIGBUS was:
https://github.com/zerotier/ZeroTierOne/blob/master/node/Utils.hpp#L695
5 years ago
Vince
83a2dcb65a
FreeBSD ARMv6, ARMv7, and Aarch64 support
5 years ago
Dave Cottlehuber
8396f16dd2
drop -Werror from DEBUG builds
...
Appease compilers. Thanks @glimberg for the diff.
Closes #1086
6 years ago
Adam Ierymenko
87bce1a36b
GitHub issue #886
7 years ago
Vincent Milum Jr
39e720e811
Adding proper EABI target for ARM32/Salsa
8 years ago
Dave Cottlehuber
88abd6ffc6
add support for debug flags in FreeBSD
8 years ago
Joseph Henry
346fa4d7f4
Added ZT_SANITIZE option to makefiles. This your new memory debugging best friend
8 years ago
Adam Ierymenko
640ad577d1
.
9 years ago
Dave Cottlehuber
dd83c680e5
build: all BSDs expect gmake here
9 years ago
Adam Ierymenko
cf49e511a5
More makefile changes.
9 years ago
Adam Ierymenko
505b9c7f56
Makefile reorg to allow core to be built as a library.
9 years ago
Adam Ierymenko
76108671f6
BSD makefile fix for OpenBSD.
9 years ago
Adam Ierymenko
8b0ce1cc00
More BSD make fixes.
9 years ago
Adam Ierymenko
0e88c73f68
Mirror over some arch rules from Linux to BSD make, and enable fast crypto there.
9 years ago
Adam Ierymenko
3b0969e3a5
Fix build on G++ 4.9 on FreeBSD-11.
9 years ago
Adam Ierymenko
35174a8766
Basic BSD gmake install/uninstall.
9 years ago
Adam Ierymenko
d79f792e6f
OpenBSD fixes, workaround for apparent libstdc++ bug.
9 years ago
Adam Ierymenko
7b231b38b0
Now builds on OpenBSD, but segfaults. So not yet but close. GitHub issue #439
9 years ago
Adam Ierymenko
0995c1dcaa
Encapsulate LZ4 in Packet.cpp to eliminate dependency.
9 years ago
Adam Ierymenko
d8f36db5dd
Fix FreeBSD build in dev.
9 years ago
Adam Ierymenko
ab25c96821
Build fixes.
9 years ago
Adam Ierymenko
c6b0b07605
More software update work, and settings in local.conf.
9 years ago
Adam Ierymenko
8e3463d47a
Add length limit to TEE and REDIRECT, and completely factor out old C json-parser to eliminate a dependency.
10 years ago
Adam Ierymenko
fd81a7fe63
On Linux auto-detect presence of http-parser and lz4 and link against system libs instead of ext/ builtins (for RPM and DEB packaging effort)
10 years ago
Adam Ierymenko
425d311ce8
Merge of netcon with edge and unification of make processes.
10 years ago
Adam Ierymenko
906e49ff72
Add make option ZT_ENABLE_CLUSTER and disable it in default Linux build.
10 years ago
Adam Ierymenko
f9f4dd5276
Fix FreeBSD regression -- gmake defaults g++ which does not exist.
11 years ago
Moritz Warning
235d4aba9a
allow environment variables to set/extend CC, CXX, CFLAGS and LDFLAGS
11 years ago
Adam Ierymenko
4c687fca45
No auto-updates on BSD either.
11 years ago
Adam Ierymenko
a9a390a930
Apply @marning suggested SSE auto-detect to make builds easier on non-x86 platforms: aa2fd044cb
11 years ago
Adam Ierymenko
13d5073e5b
CLI work and Makefile cleanup.
11 years ago
Adam Ierymenko
8333bf065e
Basic CLI working with JSON output. Now to parse and support old tabular form.
11 years ago
Adam Ierymenko
53cbe485f0
Some cleanup, and bite the bullet and go ahead and write a simple Http client. Need a cross-platform built-in one to do cli right.
11 years ago
Adam Ierymenko
4e5d2d2c72
Write a zerotier-one.port file to the home path to make CLI easy to write, and do a backward compatiable CLI in bash instead of as part of the executable.
11 years ago
Adam Ierymenko
6369c264e2
Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency.
11 years ago
Adam Ierymenko
5572b7ffb6
Simplify Phy<> to get rid of more indirections.
11 years ago
Adam Ierymenko
7576911951
Temporarily shelve testnet/ -- will resurrect self-contained testnet later perhaps, but probably will not by the time next version ships. Was mostly for debugging multicast anyway and that is now quite stable.
11 years ago
Adam Ierymenko
d761330465
No more tap factories.
11 years ago
Adam Ierymenko
a61acf36d2
osnet -> osdep
11 years ago
Adam Ierymenko
60158aa5dd
Turns out that node/ likely has no business with or need for the system IP routing table. So shelve that code for now.
11 years ago
Adam Ierymenko
31bf0a4ea6
Netconf build fixes, schema, etc.
11 years ago
Adam Ierymenko
1a02bcc9f5
Fork OSXEthernetTapFactory -> BSDEthernetTapFactory
11 years ago
Adam Ierymenko
cd2bf6f4b3
Stash make-freebsd.mk in attic/ to indicate that the FreeBSD port is not done net. Coming soon!
11 years ago
Adam Ierymenko
1bd5a1ebcd
Make selftest build and run on FreeBSD 10 with gmake
12 years ago
Adam Ierymenko
4c59497b95
Linux build fixes for testnet.
12 years ago
Adam Ierymenko
023cac4ebb
Add -g to optimized crypto code in ZT_DEBUG=1 build mode.
12 years ago
Adam Ierymenko
6316011024
Make crypto and compression build optimized in debug, and also try disabling peers.persist -- might ship this way as it seems more trouble than its worth.
12 years ago
Adam Ierymenko
1952db5069
Only enable SSE Salsa20 on x86 and x86_64 Linux
12 years ago
Adam Ierymenko
721625d512
Add MAC to listnetworks, and some other make stuff.
12 years ago
Adam Ierymenko
282114e96c
Makefile changes, and make Topology::getBestSupernode() return the "next" supernode if I am a supernode. Also some comment cleanup.
12 years ago