610 Commits (0fd562bebc64e7685be926486497a0aa91c09382)

Author SHA1 Message Date
Adam Ierymenko 8730d30575 Now for some clang compile fixes... 12 years ago
Adam Ierymenko 74f36f5dc0 Windows build fixes. 12 years ago
Adam Ierymenko a8bd8fff93 Make several changes to eliminate potential deadlock or recursive lock conditions, and add back rescan of multicast groups on network startup. 12 years ago
Adam Ierymenko a94b0e6a43 Get rid of rescanMulticastGroups() in Network thread since this can deadlock... the fact that this can happen is probably bad design. 12 years ago
Adam Ierymenko 7a37326cc0 Fix sleeper bug that probably did nothing in setSupernodes(). 12 years ago
Adam Ierymenko 42d644a57e More fixes to legacy support, and to a potential issue on quit. 12 years ago
Adam Ierymenko 2416491cbc Permanently retire peers.persist, but make iddb.d always enabled instead since identities are what we really want to cache. 12 years ago
Adam Ierymenko 6e23986bb3 Another build fix. 12 years ago
Adam Ierymenko 52314dcdf6 GitHub issue #111 12 years ago
Adam Ierymenko 05309037a8 Yank potentially costly support for TTL out of UdpSocket since we dont use this anymore. 12 years ago
Adam Ierymenko 6316011024 Make crypto and compression build optimized in debug, and also try disabling peers.persist -- might ship this way as it seems more trouble than its worth. 12 years ago
Adam Ierymenko 8b0846d077 Delete bunch of commented out code. 12 years ago
Adam Ierymenko 0d017c043f Stop persisting last announcement time since Multicaster is volatile. Also some more legacy multicast fixes. 12 years ago
Adam Ierymenko c2aac69a9f Fixes to legacy peer support. 12 years ago
Adam Ierymenko e071c05f1b Add a sanity limit to legacy multicast repeater function in supernode-mode nodes, and change netconf-master to issue multicast limit (ml) instead of old p5 stuff. 12 years ago
Adam Ierymenko 03dc823ad7 (1) Back off a little on default max multicast limit since 128 is pretty bandwidth heavy, (2) add a little to default multicast rate limit since new MC algo is fairerererer, (3) decided not to involve netconf masters in multicast so take that out of list of who gets LIKEs. 12 years ago
Adam Ierymenko 1774e615a1 <= MTU 12 years ago
Adam Ierymenko 56f8f8aa24 Return self in GATHER requests if self is a member of multicast group, and reinstate legacy support. 12 years ago
Adam Ierymenko 4941c8a1f3 New multicast bug fixes, TRACE improvements, and temporarily disable legacy multicast for debugging purposes. 12 years ago
Adam Ierymenko d5e0f7e3e4 Reorg multicast packet, and a whole bunch of refactoring around the pushing of certificates of membership. 12 years ago
Adam Ierymenko 620e64c58f Supernode propagation of legacy multicast frames was brokezored. 12 years ago
Adam Ierymenko 3f15752f73 Add IPv4 address assignment to ffffffffffffffff test network. 12 years ago
Adam Ierymenko 87f1b1b1e3 Bug fix in new multicast frame handler, handling of old "P5" multicast frames in new way. 12 years ago
Adam Ierymenko ab22feba9a Bump version to 1.0.0, add legacy support code to Multicaster to not send new frame to known-to-be-old peers. 12 years ago
Adam Ierymenko 10c196df50 Send a VERB_P5_MULTICAST_FRAME to the supernode for each multicast -- for now. This will allow supernodes to echo these down to pre-1.0.0 peers. 12 years ago
Adam Ierymenko 2c8321be1f Pull logic to always send new multicasts to supernode since we need to do that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed. 12 years ago
Adam Ierymenko 62da7e67b6 Add some rate limiting to implicit gathers, and always send multicasts to at least one supernode so they can broadcast to old peers (temporary). 12 years ago
Adam Ierymenko e7c81ef34e Turns out that needed to be a list after all. Also clean up Multicaster::gather(). 12 years ago
Adam Ierymenko 3f7e7e8a88 Do not multicast to self. 12 years ago
Adam Ierymenko 496109fdcc Announce multicast group changes on network rescanMulticastGroups() 12 years ago
Adam Ierymenko aad344bb84 Add test network support to Network. 12 years ago
Adam Ierymenko 351db7f1a0 Plumb injectPacketFromHost through to API. 12 years ago
Adam Ierymenko 67aa23530b More work on adding testnet and user-mode capabilities for local network simulation. 12 years ago
Adam Ierymenko 96fa3f7550 Work on in-place testnet support. 12 years ago
Adam Ierymenko 1109046782 Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) 12 years ago
Adam Ierymenko 49dc47ff38 Make multicast gathering a bit smarter. 12 years ago
Adam Ierymenko dee86e2448 But since we are now using middle 3 bits we can assign sane values for the cipher suite enum. 12 years ago
Adam Ierymenko 17da733f97 Gotta support old encrypted flag, move cipher spec to middle 3 bits... due to some shortsighted design early-on. In the future this can die once there are no old peers. 12 years ago
Adam Ierymenko 23836d4c11 Change "encrypted" flag to full cipher suite selector. Go ahead and reserve AES256-GCM which might be added in the future. 12 years ago
Adam Ierymenko e53d208ea4 Improve security posture by eliminating non-const data() accessor from Buffer. 12 years ago
Adam Ierymenko e8c5495b61 Yes, zero my secret key data. Yes I really, really mean it. 12 years ago
Adam Ierymenko 28646eee0a A bit more IncomingPacket cleanup... almost ready to test, just need OK() handling. 12 years ago
Adam Ierymenko e1882b614b Some cleanup, Multicaster now sends multicasts as it gets additional members. 12 years ago
Adam Ierymenko ae082c3cb8 Yay... now everything compiles! Getting close to testing on this. Still have not added backward compatibility support for relaying of multicasts to 0.9.X clients yet but that will be easy. Will test with heterogenous 1.0.0 clients only first. 12 years ago
Adam Ierymenko ea6124dd2f IncomingPacket builds! 12 years ago
Adam Ierymenko b41437780b Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket... 12 years ago
Adam Ierymenko 2659427864 Multicaster needs to be global, not per-network, and a bunch of other stuff. 12 years ago
Adam Ierymenko 8607aa7c3c Everything in for new multicast except IncomingPacket parsing... 12 years ago
Adam Ierymenko ed0ba49502 A few more revisions to new multicast verbs. 12 years ago
Adam Ierymenko 2d41055bdc Some Network code cleanup. 12 years ago