768 Commits (e0313455e705bfdaa32c80dfd8844a3bdca9e806)

Author SHA1 Message Date
Adam Ierymenko 2810cd7c15 Build fixes for G++, building without SQLite3 present, and warning removal. 11 years ago
Adam Ierymenko 0bdd56ebd6 A few revisions to PFS design. 11 years ago
Adam Ierymenko d0e0f5dd12 Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see. 11 years ago
Adam Ierymenko e94518590d First stab of PFS design work with PKC security -- may not implement in 1.0.3 but stubbing out. 11 years ago
Adam Ierymenko a8835cd8b3 Some prep work to make room for perfect forward security (PFS). Will not affect existing clients. 11 years ago
Adam Ierymenko bdce679d84 Should fix deadlock issue in GitHub issue #166 11 years ago
Adam Ierymenko 40f312a827 When we reset within scope, erase the other entries for that scope so we won't keep resetting the same scope repeatedly. 11 years ago
Adam Ierymenko 18ca6f34ff Always update timestamp. 11 years ago
Adam Ierymenko 59fa687830 Make timeout also apply to null check in iam() 11 years ago
Adam Ierymenko e922324bc6 Stop inlining all the Packet armor/dearmor stuff to reduce binary bloat. This stuff is called all over the place. 11 years ago
Adam Ierymenko b4b067bf12 So we need to keep track of external surface per reporter, since some NATs assign different external IPs for each external destination. Keeping just one known surface could create a race condition. 11 years ago
Adam Ierymenko da254d967f Hack around GitHub issue #165 (?) 11 years ago
Adam Ierymenko 9279bac385 Fix deadlock in SelfAwareness by deferring reconnects. 11 years ago
Adam Ierymenko 604576075e Add some missing includes that older G++ cares about. 11 years ago
Adam Ierymenko d3820049b8 Add reported external address to OK(HELLO) TRACE to verify SN behavior. 11 years ago
Adam Ierymenko 9eb7698f0e Learn external IP addresses on OK(HELLO) too. 11 years ago
Adam Ierymenko 9a34fde8a5 Make sure identity.public exists and stays in sync, cleanup extra new in Node, and test script for local testnets. 11 years ago
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