Commit graph

  • 56f8160af8 generate javadocs for the Java SDK Grant Limberg 2015-04-25 17:29:07 -07:00
  • 7af1f3a79a attic cleanup Adam Ierymenko 2015-04-25 17:25:06 -07:00
  • e78899fddf Rebuild and re-sign the x86 driver... previous attempt was somehow borked but this one loads on Win7/x86 fine. Adam Ierymenko 2015-04-25 16:00:25 -07:00
  • 9325535ced x86 version of signed NDIS6 driver. Adam Ierymenko 2015-04-25 15:31:27 -07:00
  • 720ac93ba9 Use NDIS6 driver preferentially if available. Adam Ierymenko 2015-04-25 15:22:43 -07:00
  • 42b4148876 NDIS6 driver signed x64 build (not fully tested yet, but committing work) Adam Ierymenko 2015-04-25 14:52:02 -07:00
  • 4b658d83bc Rename old driver to -ndis5. Adam Ierymenko 2015-04-25 13:11:58 -07:00
  • d4c06e924d Do the same modifications to the NDIS 6 code base as were done to the old 5 driver: disable all the 'tun' functionality, and add the IOCTL for querying the multicast list at Ethernet (L2) level. Adam Ierymenko 2015-04-25 12:21:08 -07:00
  • 1ebe2ad920 NDIS6 driver with VS project to build -- builds correctly, not customized for ZT yet. Adam Ierymenko 2015-04-24 23:31:51 -07:00
  • 0d4283a3fa Cache jclass and jmethod instances for callbacks on the JniRef struct. Grant Limberg 2015-04-24 20:34:36 -07:00
  • 9c62ce9e6f implemented EventCallback Grant Limberg 2015-04-24 20:13:21 -07:00
  • f2eed5a65f implemented WirePacketSendFunction Grant Limberg 2015-04-24 19:43:17 -07:00
  • 5e1fb4e253 Realized that the jclass and jmethodID variables in the callbacks cannot be static Grant Limberg 2015-04-24 19:35:00 -07:00
  • dc00ce4f44 added DataStorePutFunction implementation updated DataStorePutListener to also have an onDelete() method Grant Limberg 2015-04-24 19:28:44 -07:00
  • 53ebd5a9a5 don't need to pass buffer size because java arrays have a .length member Grant Limberg 2015-04-24 19:14:59 -07:00
  • d5fc2b39aa implemented DataStoreGetFunction callback Grant Limberg 2015-04-24 19:11:49 -07:00
  • 4137246653 implemented VirtualNetworkFrameFunctionCallback Grant Limberg 2015-04-24 18:49:52 -07:00
  • 28168fa673 implement VirtualNetworkConfigFunctionCallback Grant Limberg 2015-04-24 18:39:17 -07:00
  • 99af0f3a88 moved creation of VirtualNetworkConfig objects to ZT1_jniutils added implementation of networks() method Grant Limberg 2015-04-24 18:20:10 -07:00
  • 6f07a476a6 create and return the peer array Grant Limberg 2015-04-24 18:06:26 -07:00
  • 52a20b4b0f create PeerRole and PeerPhysicalPath objects Grant Limberg 2015-04-24 17:58:59 -07:00
  • f3c29d3f0d rename PhysicalPeerPath -> PeerPhysicalPath to reflect C API Grant Limberg 2015-04-24 17:58:31 -07:00
  • b3429481cd update build instructions Grant Limberg 2015-04-24 17:04:08 -07:00
  • 0f808e11df Merge branch 'adamierymenko-dev' into android-jni Grant Limberg 2015-04-24 16:48:48 -07:00
  • ce09e363dc Destroy tap devices on Windows 'leave'. Adam Ierymenko 2015-04-24 16:31:19 -07:00
  • e2c65bf16a Bring Windows service code up to date and into sync. Adam Ierymenko 2015-04-24 15:44:39 -07:00
  • 0e31551349 Take winhttp out of lib list, since we don't use it anymore. Adam Ierymenko 2015-04-24 15:15:14 -07:00
  • f5848972f9 Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>. Adam Ierymenko 2015-04-24 15:05:28 -07:00
  • 54954f5b88 First pass of Windows cleanup and build fixes... Adam Ierymenko 2015-04-24 13:35:17 -07:00
  • 883a216d2a Build fixes. Adam Ierymenko 2015-04-24 12:29:31 -07:00
  • 1a65a79e57 set 'build' as the default ant target Grant Limberg 2015-04-23 23:14:09 -07:00
  • 6dd3c07b25 removing unneeded jni headers Grant Limberg 2015-04-23 23:09:42 -07:00
  • 1df6bc6bc3 just adjusting some alignment Grant Limberg 2015-04-23 23:09:30 -07:00
  • 9ab7280703 added infrastructure for Node.peers() and Node.networks() functions Grant Limberg 2015-04-23 23:08:28 -07:00
  • 7f6556eba0 node.networkConfig() now creates ArrayLists of multicast subscriptions and assigned addresses Grant Limberg 2015-04-23 22:48:56 -07:00
  • 1bea940323 fix field ID signatures Grant Limberg 2015-04-23 22:47:56 -07:00
  • 6ff2e6ecfe move findNode method back Grant Limberg 2015-04-23 22:46:54 -07:00
  • d66f2cd54d Node.networkConfig now only needs to populate the lists of assigned addresses and multicast subscriptions and then it's finished Grant Limberg 2015-04-23 21:43:16 -07:00
  • 46adf870a1 move utility functions from anon namespace to ZT1_jniutils Grant Limberg 2015-04-23 21:39:07 -07:00
  • 4906f8e848 added stub utility functions for creating ArrayLists, appending items to ArrayLists, creating InetAddress objects, and MulticastGroup objects Grant Limberg 2015-04-23 21:36:33 -07:00
  • fa9d42b7e5 finished the JNI implementation of the status() method on Node Grant Limberg 2015-04-23 20:52:47 -07:00
  • 1a528aec76 don't require clean before build Grant Limberg 2015-04-23 20:34:59 -07:00
  • ffb9e2901e fix a build error Grant Limberg 2015-04-23 20:29:23 -07:00
  • 407e2fc7de Added ant build script. Requires NDK_BUILD_LOC environment variable pointing to the ndk-build script fixed compile erros in Node and VirutalNetworkConfig Grant Limberg 2015-04-23 20:17:29 -07:00
  • 667a103a6a added functions to create Event, and VirtualNetworkStatus objects Grant Limberg 2015-04-23 19:16:45 -07:00
  • 32a35e6808 scaffolding for implementation of status() and networkConfig() Grant Limberg 2015-04-22 21:31:17 -07:00
  • 34028aa7c8 Added implemenation for node.address() Grant Limberg 2015-04-22 21:30:37 -07:00
  • 3ccaef88b7 Added implementation for Node.version() Grant Limberg 2015-04-22 21:29:45 -07:00
  • f5bb57d5aa fix call to networkConfig to pass the network id Grant Limberg 2015-04-22 21:28:42 -07:00
  • a1a35e0279 Can't instantiate enum objects. Fix createResultObject() function so that it still works properly Grant Limberg 2015-04-22 21:14:55 -07:00
  • 1308f02b93 multicastSubscribe() and multicastUnsubscribe() Grant Limberg 2015-04-22 20:33:38 -07:00
  • b078d69372 join() and leave() functions Grant Limberg 2015-04-22 20:29:34 -07:00
  • e31e54483c added processBackgroundTasks function Grant Limberg 2015-04-22 20:25:35 -07:00
  • 3c499777c8 added implementation for processWirePacket Grant Limberg 2015-04-22 20:21:12 -07:00
  • 9c038d3ecd added a few missing function calls in the ZT1 Node API Grant Limberg 2015-04-22 19:36:46 -07:00
  • 6187a91f4c delete the ZT1_Node object when calling Java_com_zerotierone_sdk_Node_node_1delete Grant Limberg 2015-04-22 19:29:45 -07:00
  • 321b67c73c add a findNode() function to reduce copypasta Grant Limberg 2015-04-22 19:29:13 -07:00
  • 5df253fa69 added implementation for processVirtualNetworkFrame Grant Limberg 2015-04-22 19:19:45 -07:00
  • 3a6807d584 add assignedAddresses member to VirtualNetworConfig class Grant Limberg 2015-04-22 19:19:08 -07:00
  • 787b4a8e50 * Change a few method signatures from java.lang.Long to long[] so that values can be passed back. Grant Limberg 2015-04-22 19:18:49 -07:00
  • b33e4af49f Merge branch 'adamierymenko-dev' into android-jni Grant Limberg 2015-04-22 18:14:14 -07:00
  • 5202fbdaf3 CRUD Adam Ierymenko 2015-04-22 18:06:26 -07:00
  • 103dcb072d CRUD Adam Ierymenko 2015-04-21 19:49:04 -07:00
  • 79f63ba30a Fix: make sure we do not assign broadcast address as an IP to new members. Adam Ierymenko 2015-04-21 18:37:17 -07:00
  • 71f006cbeb More CRUD, almost done... Adam Ierymenko 2015-04-21 18:08:33 -07:00
  • e4046964f0 Forgot to run schema2c. Adam Ierymenko 2015-04-21 16:50:02 -07:00
  • ddebe2d4c7 Network controller CRUD... :P Adam Ierymenko 2015-04-21 16:41:35 -07:00
  • 0c8051da15 Move JNI methods to the bottom of the class Grant Limberg 2015-04-20 20:44:31 -07:00
  • e0c8ddb65b call close() from the Node class's finalize method Grant Limberg 2015-04-20 20:35:46 -07:00
  • bd4049fdc0 Added JNI code for construction/destruction of ZT1_Node objects Grant Limberg 2015-04-20 20:33:42 -07:00
  • 5f314f209e Updated Java Node class native methods to pass the node ID Grant Limberg 2015-04-20 20:32:29 -07:00
  • 99a1a4e65b Generated header files for JNI Grant Limberg 2015-04-20 18:31:42 -07:00
  • ec3a1c87d1 first revision of the java API for ZeroTier One Grant Limberg 2015-04-20 18:27:15 -07:00
  • f40eb665c5 Add build files for compiling ZeroTier One SDK for Android targets Grant Limberg 2015-04-20 18:26:23 -07:00
  • ed107c4daf Network preferred relay stuff in netconf controller. Adam Ierymenko 2015-04-20 17:47:12 -07:00
  • 8a13cfdace Add per-network relays to NetworkConfig. Adam Ierymenko 2015-04-20 17:14:16 -07:00
  • 86c87875a7 OSUtils::resolve() Adam Ierymenko 2015-04-20 16:07:38 -07:00
  • 69076f8a45 Add per-network relay stuff to sqlite table schema. Adam Ierymenko 2015-04-20 15:46:20 -07:00
  • 60f05518aa (1) now builds and works on Linux, (2) fix a threading problem causing carsh on shutdown, (3) cleanup in selftest, re-enable Phy and Http tests. Adam Ierymenko 2015-04-20 15:12:31 -07:00
  • 740121504f Add a timestamp to netconf cache, fix some SQL queries in NC. Adam Ierymenko 2015-04-17 15:21:53 -07:00
  • 417f56de2f Add some TRACE instrumentation to external surface address awareness. Adam Ierymenko 2015-04-17 12:19:01 -07:00
  • b51d00146b docs Adam Ierymenko 2015-04-17 10:45:16 -07:00
  • 8715242e7f build fix Adam Ierymenko 2015-04-16 16:43:35 -07:00
  • 895c32a0d2 Stash old software updater code, will refactor into separate utility. Adam Ierymenko 2015-04-16 16:17:28 -07:00
  • 489cc66b78 Don't need these files anymore. Adam Ierymenko 2015-04-16 16:16:25 -07:00
  • ce77e67e00 docs Adam Ierymenko 2015-04-16 16:15:25 -07:00
  • 1f5700191f zerotier-cli suspiciously working... that didn't hurt *too* badly. Adam Ierymenko 2015-04-16 16:12:10 -07:00
  • c4c5fa63d1 Almost done with JSON parsing for tabular output. Adam Ierymenko 2015-04-16 15:51:56 -07:00
  • 13d5073e5b CLI work and Makefile cleanup. Adam Ierymenko 2015-04-16 15:07:58 -07:00
  • 8333bf065e Basic CLI working with JSON output. Now to parse and support old tabular form. Adam Ierymenko 2015-04-16 14:55:36 -07:00
  • 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. Adam Ierymenko 2015-04-16 14:13:44 -07:00
  • 6c29e966dd Include a BSD licensed JSON parser for the CLI. Adam Ierymenko 2015-04-16 12:27:51 -07:00
  • 377367175c Update LZ4 in ext/ Adam Ierymenko 2015-04-16 12:18:47 -07:00
  • 12b4646ce8 Prettify JSON output. Adam Ierymenko 2015-04-16 12:06:40 -07:00
  • 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. Adam Ierymenko 2015-04-15 19:38:01 -07:00
  • 21a7e774bb Wire API auth token stuff. Adam Ierymenko 2015-04-15 19:14:12 -07:00
  • c301d8e438 Remove network/controller -- we will do this in Ruby instead since it will be part of the whole OnePoint project anyway. Adam Ierymenko 2015-04-15 19:01:38 -07:00
  • d2503172d8 Add some additional detail to the peer record in CAPI and JSON control plane. Adam Ierymenko 2015-04-15 19:00:26 -07:00
  • 91ca238163 Compile fixes. Adam Ierymenko 2015-04-15 18:47:38 -07:00
  • 33c8d3c50b Compile fixes. Adam Ierymenko 2015-04-15 18:36:32 -07:00