Commit Graph

4838 Commits

Author SHA1 Message Date
76f9b4c582 A few other little formatting things. 2016-03-18 15:06:45 -07:00
c589bc4c57 Indentation 2016-03-18 14:32:48 -07:00
d6a1868d0a Refactor incoming packet (rxQueue/fragmentQueue) to eliminate variable length queues and merge queues. This is both faster and saves memory. 2016-03-18 14:16:07 -07:00
9f31cbd8b8 Make /network/???/active return more info. 2016-03-17 13:05:51 -07:00
c0262d8f76 Add “doc” to the dependencies for the “all” build target. 2016-03-04 17:01:31 +11:00
92702615a7 Add an overall “doc” build target. 2016-03-04 17:01:14 +11:00
c9d3f3ab96 Correct license grant to match “GPL v3 or later” grant in source. 2016-03-04 16:45:15 +11:00
72797c25d5 Update copyright notice. 2016-03-04 16:44:23 +11:00
ea6ce47345 Refactor the program name to a pre-processor directive. 2016-03-04 16:42:30 +11:00
10855b451d Refactor the copyright notice text to a pre-processor directive. 2016-03-04 16:40:09 +11:00
3265b3594b Refactor the license grant text to a pre-processor directive. 2016-03-04 16:37:36 +11:00
cafc46a8e9 Add Makefile module for building documentation. 2016-03-04 16:06:17 +11:00
5993b178c5 Ignore generated man page files. 2016-03-04 16:05:55 +11:00
24e286b5ec Add a stub for an encoding declaration on a man page. 2016-03-04 16:04:57 +11:00
c63de27633 Add references to other tools for ‘zerotier-one’. 2016-03-04 15:41:06 +11:00
a84a256df4 Add incomplete man pages for ‘zerotier-idtool’ and ‘zerotier-cli’. 2016-03-04 15:40:08 +11:00
88dfa860f4 Document how the home directory is used, and its default value. 2016-03-04 15:08:17 +11:00
83bc5d95aa Document remaining options explicitly. 2016-03-04 14:57:10 +11:00
09c61d5cb1 More explicit specification of how to use ‘-i’ and ‘-q’. 2016-03-04 14:53:50 +11:00
71c84aee60 Add “see also” section referring to ZeroTier documentation online. 2016-03-04 11:36:19 +11:00
cee09b0d2e Refine description of ZeroTier One. 2016-03-04 11:36:04 +11:00
fdb8ea93ef Add a reStructuredText document for a ‘zerotier-one(8)’ man page. 2016-03-04 11:35:16 +11:00
60ab565185 Fix cluster-geo code to cache IPv6 by first 64 bits to prevent cache fillup due to IPv6 privacy extensions. 2016-03-03 15:33:38 -08:00
1fe251d0a0 stupid bug is stupid 2016-03-03 14:50:47 -08:00
ff931e53b5 more makefile stuff 2016-03-03 14:31:43 -08:00
ef376a7919 Linux make clean fix. 2016-03-03 14:24:52 -08:00
09fc9e4d0c indent fix 2016-03-03 14:21:13 -08:00
fe3a84a422 Fix problems with previous commit. 2016-03-03 14:15:09 -08:00
ba56a5b9d1 Another NAT-t improvement:
Many NATs revert to symmetric behavior from friendlier modes if they cannot
preserve ports. This can occur if there is, for example, more than one ZT
device behind the NAT using port 9993.

Others (Airport Extreme?) seem to have bugs in which they completely freak
out if more than one device tries to do a lot of mappings using the same
internal local port.

Mostly to fix the latter case and somewhat to fix the former, we introduce
a secondary port. ZeroTier now binds 9993 (or whatever port you specify)
plus another port computed deterministically from your ZeroTier address.
This port is used for new links 1/4 of the time.

This mostly addresses the second problem above and partly helps to address
the first.

If uPnP/NAT-PMP is enabled we also still open a tertiary port because some
routers freak out if NAT-t is attempted using the same port as uPnP.

All of this is IPv4 only of course. IPv6 is sane.
2016-03-03 13:52:27 -08:00
a27d8b2910 Windows cleanup. 2016-03-02 19:20:04 -08:00
b6f6ed35fc More Windows tweaks and a compile fix. 2016-03-02 19:06:29 -08:00
d3cb063d13 Tweaks to WindowsEthernetTap to attempt to address GitHub issue #308 and/or GitHub issue #277 -- we can't reproduce yet but I found one area where a spin was possible under certain failure conditions. Maybe. 2016-03-02 18:37:24 -08:00
b9125e4256 Document myself as a contributor. 2016-03-02 10:38:30 +11:00
0aae86be2e Merge branch 'dev' of https://github.com/krisek/ZeroTierOne into dev 2016-03-01 12:29:29 -08:00
d9fa07399e Fix GitHub issue #311 2016-03-01 09:49:33 -08:00
d570adf021 State grant of license in each third-party component. 2016-02-29 18:11:54 +11:00
dcb91c043f State which exact files constitute third-party works. 2016-02-29 18:04:20 +11:00
f613930dee Explicitly mark home page URLs of third-party code. 2016-02-29 18:03:16 +11:00
667048310d Remove text that paraphrases GPLv3 conditions. 2016-02-29 17:44:47 +11:00
642aa3313d Explicitly grant GPLv3-or-later terms to the overall code base. 2016-02-29 17:44:47 +11:00
f6e98df8da Refer directly to the accompanying GPL-3 license document. 2016-02-29 17:44:47 +11:00
d37e44225f Add explicit copyright statement in same file as license grant. 2016-02-29 17:44:47 +11:00
5c172d1a15 Rename file that is not a license text. 2016-02-29 17:44:10 +11:00
0bf2060a7d Add verbatim text of GNU General Public License version 2. 2016-02-29 15:16:19 +11:00
22883b3eeb Add verbatim text of GNU General Public License version 3. 2016-02-29 15:13:37 +11:00
6d1dc47368 Typo fix. 2016-02-28 17:06:46 +01:00
f8d05eb625 Spec description rephrased. 2016-02-28 17:05:43 +01:00
45c233c0e7 Formatting change 2016-02-28 00:04:18 +01:00
b836228465 Formatting change 2016-02-28 00:02:48 +01:00
8118630861 Formatting change 2016-02-28 00:00:55 +01:00