424 Commits (76d9ea911d6bfe166c08d085039730c79b60d198)

Author SHA1 Message Date
Adam Ierymenko 5abfb11813 Some installer stuff, complete refactoring of Windows side of newly split tap driver. Seems to work. Now to see if the cleanup we did here gets rid of the zombie tap device issue on Windows. 12 years ago
Adam Ierymenko 0b8d6c7f4a Builds and runs on Unix with EthernetTap changes, now for Windows... and for what we did this for: a refactor of the Windows tap connector. 12 years ago
Adam Ierymenko 6c60305a96 Split EthernetTap into subclasses, work in progress... 12 years ago
Adam Ierymenko fe85426df6 A few more tweaks to TCP failover... seems to be switching back and forth pretty well now! 12 years ago
Adam Ierymenko 158002d2d1 Tweak some timings and stuff. 12 years ago
Adam Ierymenko c96d3ebf8c Such ping logic. So edge case. 12 years ago
Adam Ierymenko b1088a6bd7 Make Unix domain sockets mode 0777 so that properly authorized non-privileged users can access them (if they have auth token). 12 years ago
Adam Ierymenko f0223490be Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable. 12 years ago
Adam Ierymenko 81e5690410 More tweaks to TCP failover logic. Such edge case. 12 years ago
Adam Ierymenko 700a450806 More tweaks to algorithm for determining when to fail over to TCP, and stop supernodes from resynchronizing unless explicitly ordered. 12 years ago
Adam Ierymenko 0e1fc06a6f The remove paths on send fail thing in Peer.cpp was not well thought out, and there is no point in mallocing the TCP write buffer. 12 years ago
Adam Ierymenko c3b41c289d Resynchronize on startup. 12 years ago
Adam Ierymenko 6ab95e0391 Get : out of Path.toString() since this will conflict with : in IPv6 IPs. 12 years ago
Adam Ierymenko 316e8d1939 Build fix. 12 years ago
Adam Ierymenko f13493edb2 Oops... turns out we need to differentiate incoming from outgoing TCP and indeed learn incoming TCP paths. Otherwise the recipient of a TCP connection does not know to reply via TCP! Heh. 12 years ago
Adam Ierymenko 595b386afc Increase maximum packet fragments to make room for huge multicasts with certificates of membership tagged onto them. This likely will not actually increase the number of fragments in practice much, since these are then subsequently compressed. But the buffer needs to be allocated with room for them, otherwise these packets get dropped with a range_error exception internally. 12 years ago
Adam Ierymenko 8e587ae481 Clean dead paths from peers. 12 years ago
Adam Ierymenko acb056e3b1 Small readability fix. 12 years ago
Adam Ierymenko 5ef2c6fd6f Add TCP/443 to all supernodes in Defaults. 12 years ago
Adam Ierymenko 1a0572d7e7 Remove UDP-breaking debug code. 12 years ago
Adam Ierymenko 7957ab6b1d Windows uses exceptfds to report failed async connect() in select(). TCP now done on Windows (I think). 12 years ago
Adam Ierymenko e8b613e625 TCP connections work on Windows now. 12 years ago
Adam Ierymenko 9c68a343f6 Reduce some TRACE noise. 12 years ago
Adam Ierymenko 881ff08269 Make multiple attempts to open the tap device on Windows. 12 years ago
Adam Ierymenko e3239d23f4 Windows build fix. 12 years ago
Adam Ierymenko f9c92b0351 Build fix from merge. 12 years ago
Adam Ierymenko 181369964f Make TCP optional, rename port constant. 12 years ago
Adam Ierymenko d2c5d71502 Finally fixed TCP sockets. 12 years ago
Adam Ierymenko c231510f8b More TCP-related fixes and tweaks to ping timing, resynchronize, and startup. 12 years ago
Adam Ierymenko 2ac56fd120 Fix TCP connection accumulation problem, still having issues with TCP tunneling. 12 years ago
Adam Ierymenko e6b23059ac Change the way TCP failover is invoked. 12 years ago
Adam Ierymenko 04169b5150 If I want it to pick the first, actually picking the first is helpful. 12 years ago
Adam Ierymenko daaec84c6b Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead. 12 years ago
Adam Ierymenko 73c1d43f2f Crank down default multicast preload and max balance just a little bit... should not impact non-lame protocols. 12 years ago
Adam Ierymenko ab5a460177 Apply multicast rate limits on a network to ourselves and do not send multicasts that would exceed limits, for GitHub issue #55 12 years ago
Adam Ierymenko 67a85221d5 WINDOWS IS SUFFERING 12 years ago
Adam Ierymenko 328be8f846 Make Windows build, add (untested) Windows named pipe based IPC code. 12 years ago
Adam Ierymenko d9b91758e0 Fix command line interface. 12 years ago
Adam Ierymenko 4e26ade2df Fix deadlock in refactored code. 12 years ago
Adam Ierymenko 8d3eb1a258 A few renamings to be consistent. 12 years ago
Adam Ierymenko 33ad3deaee Builds with new Path code. 12 years ago
Adam Ierymenko ba3f04deed Work in progress: refactoring paths, adding TCP fallback. 12 years ago
Adam Ierymenko 45e823d27c Reworking of paths in Peer work-in-progress, and TCP connect support in SocketManager. Also add FD_SETSIZE checking for the default select implementation of sockets. 12 years ago
Adam Ierymenko 97e6b38144 MULTICAST_FRAME TRACE improvements. 12 years ago
Adam Ierymenko 7a45ff460d More deadlock fixes in new I/O. 12 years ago
Adam Ierymenko 6f5a4d7e29 Fix blocking socket issues in new socket I/O code. 12 years ago
Adam Ierymenko 4d0ad9abb6 Fix TRACE bug and new UDP socket code issue. 12 years ago
Adam Ierymenko 15e8c18106 Bug fixes. 12 years ago
Adam Ierymenko 1c555e4b96 command bus fix 12 years ago
Adam Ierymenko 6fdb360e2a More IPC work. 12 years ago