751 Commits (7e0cc28a89ea46a747148bfab4e96cd5116ae14b)

Author SHA1 Message Date
Adam Ierymenko a1005ca858 Do not unite() peers across different IP scopes as this would pretty much never work. 11 years ago
Adam Ierymenko f5848972f9 Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>. 11 years ago
Adam Ierymenko 54954f5b88 First pass of Windows cleanup and build fixes... 11 years ago
Adam Ierymenko ddebe2d4c7 Network controller CRUD... :P 11 years ago
Adam Ierymenko 8a13cfdace Add per-network relays to NetworkConfig. 11 years ago
Adam Ierymenko 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. 11 years ago
Adam Ierymenko 417f56de2f Add some TRACE instrumentation to external surface address awareness. 11 years ago
Adam Ierymenko d2503172d8 Add some additional detail to the peer record in CAPI and JSON control plane. 11 years ago
Adam Ierymenko ea1859541c More cleanup, and fix for the extremely unlikely case of identity collision. 11 years ago
Adam Ierymenko f7b1437154 Putting the main binary back together... 11 years ago
Adam Ierymenko 6369c264e2 Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency. 11 years ago
Adam Ierymenko 98bcc3d4b5 Disable a few noisy TRACEs, and limit how often we confirm new paths to avoid flooding. 11 years ago
Adam Ierymenko 1c9ca73065 Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes. 11 years ago
Adam Ierymenko c9af603b9f Add beacon broadcasting back into Node. 11 years ago
Adam Ierymenko 67f1f1892f Bunch of tap stuff, IP address assignment hookups, etc. 11 years ago
Adam Ierymenko 347e98dcd2 Just return files from listDirectory() since that is all we need, fix network request on network restore logic, and remember saved networks in service/One 11 years ago
Adam Ierymenko 49d31613b9 Fix some minor issues, now to reintegrate taps. 11 years ago
Adam Ierymenko 758b5caf94 Fix < logic. 11 years ago
Adam Ierymenko 6f4b30add8 Turns out you do have to unpack and compare sockaddr structures due to sin_len / sin6_len not present on all platforms and other junk. 11 years ago
Adam Ierymenko 1cfa67bbdd Bunch more control plane work, and shelve old UI -- React FTW. 11 years ago
Adam Ierymenko a2605561af Basic control plane queries working. 11 years ago
Adam Ierymenko b888e033c0 JSON control plane, almost done... 11 years ago
Adam Ierymenko 9e651b39e4 Add some TRACE around pinging (for now), and refactor service/One to just run in the foreground as some platforms may not require threads at all. 11 years ago
Adam Ierymenko 5e331d6733 Restrict unite() to desperation==0 since NAT-t only works right now with direct links. 11 years ago
Adam Ierymenko 068d311ecc TRACE compile fixes, other fixes, and it basically works! It says HELLO. 11 years ago
Adam Ierymenko 46ecad451c Starting on new service/ code to encapsulate node/ with osdep/ stuff, and add a user pointer to the CAPI. 11 years ago
Adam Ierymenko 7192fe6d15 osdep/ compile fixes, and remove some lingering OS-specific stuff from node/Defaults 11 years ago
Adam Ierymenko ccc73b920e Node peer list function for CAPI, and some Peer cleanup. 11 years ago
Adam Ierymenko d9e9b60a98 Node status and network list. 11 years ago
Adam Ierymenko e34bc961db Add awareness of online status, and put old OS-dep utils in OSUtils. 11 years ago
Adam Ierymenko 0751eaabd8 Clean OS-dep stuff out of node/Utils. 11 years ago
Adam Ierymenko 4d5a6a25d3 Add events for packet decode errors, etc., and re-implement TRACE as an event. 11 years ago
Adam Ierymenko 9d9d0ef12c Rename StatusCallback to more descriptive EventCallback. 11 years ago
Adam Ierymenko c894710ac1 Remove Logger.hpp references. 11 years ago
Adam Ierymenko 37bd6fdb9c Move Logger to attic -- last bit of OS-specific stuff to get out of core. 11 years ago
Adam Ierymenko 7529d050c7 All of node/ now compiles again! 11 years ago
Adam Ierymenko bf2ff964e1 Utils::now() removal and a bunch of compile fixes. 11 years ago
Adam Ierymenko ee2f51f48e Make Toplogy use dataStoreXX() methods from Node, and get rid of old TCP stuff. 11 years ago
Adam Ierymenko 40bfe37a19 Use max of core or most recent path desperation for pings. 11 years ago
Adam Ierymenko 59af674e74 Announce multicast groups on multicast subscribe. 11 years ago
Adam Ierymenko 6de7996218 Math fix. 11 years ago
Adam Ierymenko 49f031ccb4 Tons of refactoring, change to desperation algorithm to use max of core or link, porting over core loop code from old Node.cpp to new CAPI version, etc. 11 years ago
Adam Ierymenko 9e55f882d3 Starting to port from old Node() -- identity generation. 11 years ago
Adam Ierymenko 8210ed4805 Implement read from object store. 11 years ago
Adam Ierymenko 0a90681849 Add ping(), and a logic fix in SelfAwareness. 11 years ago
Adam Ierymenko 24608d5ca3 Always use HELLO to contact, and we now confirm newly learned paths via a two-way handshake to prevent half-connects. 11 years ago
Adam Ierymenko eae2c89b09 Mutex locking fix. 11 years ago
Adam Ierymenko 52c3b7c34e Implemented empirical determination of external addressing, paritioned per scope. 11 years ago
Adam Ierymenko 817824b88b Some external surface awareness work, and IP scope classification. 11 years ago
Adam Ierymenko a2821e9000 Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz. 11 years ago