Adam Ierymenko
0e5aac6a11
Prefer IPv6 paths if available.
11 years ago
Adam Ierymenko
b242216674
Version bump, preparing for a likely 1.0.6 soon.
11 years ago
Adam Ierymenko
423412df98
Pick a random secondary UDP port for uPnP mapped traffic because of broken routers.
11 years ago
Adam Ierymenko
7821d1cbdd
.
11 years ago
Adam Ierymenko
80dc7fb675
Pick random port on -p0
11 years ago
Adam Ierymenko
a3ed5277ef
Make sure ZT_NO_TYPE_PUNNING also obeyed here.
11 years ago
Adam Ierymenko
2a527ea82e
Fix for timer jitter problem.
11 years ago
Adam Ierymenko
367ffde00c
Plumb through localInterfaceId to track local interfaces corresponding with remote addresses.
11 years ago
Adam Ierymenko
4464fa5d39
Eliminate another warning.
11 years ago
Adam Ierymenko
86996d4315
Eliminate compiler warning.
11 years ago
Adam Ierymenko
d656e87395
Send a random small payload for NAT keepalives, since zero byte packets seem to fail to keep associations alive behind some NATs.
11 years ago
Adam Ierymenko
ddf3d1f949
Controller side support for IPv6 assignment.
11 years ago
Adam Ierymenko
3664966340
Generate local IPv6 addresses from network IDs and addresses.
11 years ago
Adam Ierymenko
610ab0750c
Drop Sqlite-based Log table for now and switch to an in-memory log for recent activity. Log table gets too big on busy nodes. Should probably support push of events to some kind of event system later.
11 years ago
Adam Ierymenko
ef316ced3b
Fix JSON.
11 years ago
Grant Limberg
f7d3e262a9
ifdef default assignments
11 years ago
Adam Ierymenko
cd005341c5
Extra statement to clean up Members -- cascade did not seem to work, possibly due to dual key.
11 years ago
Adam Ierymenko
c1a53a2653
ARP cache and responder agent code for use in netcon and iOS.
11 years ago
Adam Ierymenko
9dc2ef5549
Rename some stuff in Phy since it can be used with any stream socket.
11 years ago
Adam Ierymenko
cd3d77987c
.
11 years ago
Adam Ierymenko
a35fa7ac93
Add expansion of netconf in _test field.
11 years ago
Adam Ierymenko
bebe3d7cfa
Fix deadlock in test mode.
11 years ago
Adam Ierymenko
1f7a41cff8
Fix to allowing identity to be populated if not present.
11 years ago
Adam Ierymenko
9a723be263
Add socketpair support to Phy.
11 years ago
Adam Ierymenko
4fbcad2468
Allow identity to be populated for newly inserted Member objects to permit transfer from old network controller and testing.
11 years ago
Adam Ierymenko
0d386f1c31
Add a bit of useful testing instrumentation to SqliteNetworkController.
11 years ago
Adam Ierymenko
85b90f122a
Final std::map<> from Switch, and add some smallish default values for hash size.
11 years ago
Adam Ierymenko
3dba016a93
Almost done... very few std::map<>s remaining in any spot that matters.
11 years ago
Adam Ierymenko
db0369e9b8
Remove way-overkill multimap from Switch.
11 years ago
Adam Ierymenko
0ab3e49be9
Starting in on Switch... kill map in defrag queue, which will probably improve performance pretty decently under high load with lots of peers.
11 years ago
Adam Ierymenko
f116c4b9c0
... and another ...
11 years ago
Adam Ierymenko
307e44f7c8
Two for one! (std::map removal)
11 years ago
Adam Ierymenko
d1341578d8
... and another one!
11 years ago
Adam Ierymenko
7b8ce16057
Another std::map<> dies.
11 years ago
Adam Ierymenko
3a959a7763
Swap out std::map<> for Hashtable<> for main peer database in Topology. (ongoing std::map-ectomy)
11 years ago
Adam Ierymenko
cfd101c9b8
Add entries() to go with keys() for future use.
11 years ago
Adam Ierymenko
da9a720c3f
Hash table bug fix, and add copy constructor and assignment operator for principle of least surprise.
11 years ago
Adam Ierymenko
4838cbc350
Unix domain sockets in Phy<>
11 years ago
Adam Ierymenko
b11ffc9635
Integrate Hashtable into Multicaster, where @mwarning found heaviest std::map() overhead.
11 years ago
Adam Ierymenko
3947807b1f
A simple and fast Hashtable, tested but not yet integrated with anything.
11 years ago
Adam Ierymenko
5db538d85e
VERSION 1.0.5: Windows and Linux (upgrade) bug fixes
...
Version 1.0.5 is a very minor release. It includes a new build of the Windows
device driver that supports Windows Vista and 2008 Server, and a fix to prevent
an issue that could occur when updating Linux installations from old pre-1.0.3
versions to 1.0.3 or 1.0.4.
It also includes a few very minor fixes and improvements to the controller code,
which doesn't affect most users.
This second commit just bumps version.h. :)
11 years ago
Adam Ierymenko
a9176d7b62
VERSION 1.0.5: Windows and Linux (upgrade) bug fixes
...
Version 1.0.5 is a very minor release. It includes a new build of the Windows
device driver that supports Windows Vista and 2008 Server, and a fix to prevent
an issue that could occur when updating Linux installations from old pre-1.0.3
versions to 1.0.3 or 1.0.4.
It also includes a few very minor fixes and improvements to the controller code,
which doesn't affect most users.
11 years ago
Adam Ierymenko
b4487cefc9
Document rules requirement in controller.
11 years ago
Adam Ierymenko
867258de8b
Document clock convenience field.
11 years ago
Adam Ierymenko
5fcef91278
Ignore old root-topology if present -- fix for upgrading on Linux and possibly elsewhere.
11 years ago
Adam Ierymenko
2aa1b5d9b7
Add clock helper field to both member and network to permit time duration calculation easily.
11 years ago
Adam Ierymenko
9a5be0a092
typo
11 years ago
Adam Ierymenko
4da794b389
Add authorizedMemberCount to controller network config records.
11 years ago
Adam Ierymenko
0a5429cab0
Lookup of member must be a left outer join in case the member is being manually inserted before we see the node.
11 years ago
Adam Ierymenko
b75bdedaee
Manually set DeviceInstanceID since this registry key is missing on Windows Vista and Server 2008.
11 years ago