84 Commits (938d0a970b84c6a50465bb6ebb64798e4ffec202)

Author SHA1 Message Date
Adam Ierymenko eff1fe3c61 Create files for each hop (more convenient) and fix a packet parse bug. 11 years ago
Adam Ierymenko 7d01fab132 Reorg fields to be in same order as FS scheme. 11 years ago
Adam Ierymenko aec13b50fd Be a bit more verbose in circuit test reports to more clearly track current and upstream hop in graph traversal history. 11 years ago
Adam Ierymenko a95fa379cc Circuit tests basically work but need some tweaks, and fix some issues found with valgrind. 11 years ago
Adam Ierymenko 6b5bb0b278 Eliminate format string warnings. 11 years ago
Adam Ierymenko 59da8b2a4b Logging of circuit test results to disk. 11 years ago
Adam Ierymenko a3876353ca Abiltiy to post a test via the controller web API, and parsing of CIRCUIT_TEST_REPORT messages. 11 years ago
Adam Ierymenko 7394ec6f6a Prep in controller code to run tests. 11 years ago
Adam Ierymenko a7bd1eaa40 Never assign v4 IPs ending in .255 even within range. 11 years ago
Adam Ierymenko ddf3d1f949 Controller side support for IPv6 assignment. 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
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 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 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 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 fcc5bf1e66 Go ahead and spec out controller DB support for AuthToken -- GitHub issue #211 -- even though full implementation won't make it into 1.0.4. 11 years ago
Adam Ierymenko d57ea671d7 Add version to log. 11 years ago
Adam Ierymenko d647a587a1 (1) Fix updating of network revision counter on member change. 11 years ago
Adam Ierymenko b3516c599b Add a rate limiting circuit breaker to the network controller to prevent flooding attacks and race conditions. 11 years ago
Adam Ierymenko 3ba54c7e35 Eliminate some poorly thought out optimizations from the netconf/controller interaction, 11 years ago
Adam Ierymenko e2a2993b18 Add a Log table to log queries for debugging and security logging. No JSON API support for querying the log yet, but will probably come via /network/###/member/###/log/... or something. 11 years ago
Adam Ierymenko 7c761dea72 Fix to member listing: I wanted an object with member IDs as keys and member revisions as values, not an array. 11 years ago
Adam Ierymenko 3f8a5b8b76 List members in the form of a hash of member ID and member revision so code can quickly detect which members have changed. 11 years ago
Adam Ierymenko a061aa3d87 Remove "members" from Network record and instead enumerate members via specific query to /network/nwid/member sub-path. More RESTful, scalable, and compatible with how OnePoint code works. 11 years ago
Adam Ierymenko b343eac10d Fix IP auto-assign bug due to missing subnet routes. 11 years ago
Adam Ierymenko 649a12472b Report controllerInstanceId in all objects so that controller resets can be easily detected by whatever is using the service. 11 years ago
Adam Ierymenko cac6be87ba Fix bug in rules JSON output. 11 years ago
Adam Ierymenko 38d34a7495 Proper handling of NULL entry for etherType in rules table. 11 years ago
Adam Ierymenko fb4c3dd8d4 Fix string overwrite bug. 11 years ago
Adam Ierymenko 1ffd67e014 Get rid of false foreign key in Relay. 11 years ago
Adam Ierymenko bca8886ff8 IP assignment pool range bug fix. 11 years ago
Adam Ierymenko 1f7bb67069 Fix some SQL and make instanceId more robustly random. 11 years ago
Adam Ierymenko 712e2785f2 Fix bad JSON in response. 11 years ago
Adam Ierymenko 5515909c1e Add a concept of an "instanceId" to the controller, which the OnePoint can use to determine whether it is the same running database instance it already knows. 11 years ago
Adam Ierymenko 0db7c94c90 Add memberRevision stuff to JSON output, and update docs. 11 years ago
Adam Ierymenko 99969b186b Add a concept of a member revision counter to networks. This can be used to select all members that have been added or changed since a given point. 11 years ago
Adam Ierymenko f9f7de0ec7 Networks don't need their ID as a default name. 11 years ago
Adam Ierymenko d27c14af48 Don't allow zero as a network number. 11 years ago
Kees Bos 53c7f61f98 Fix for output of empty (no members) network 11 years ago
Adam Ierymenko 30e4a188d0 ipLocalRoutes now exposed via network objects in JSON controller API, and documentation changes. 11 years ago
Adam Ierymenko 5c9411a671 Untested -- modifications to support IP ranges instead of ip/mask for IP assignment pools, also add portId to Rule for future use. 11 years ago
Adam Ierymenko dbee1b38b3 Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?) 11 years ago
Adam Ierymenko 57c7992c78 GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast. 11 years ago