summaryrefslogtreecommitdiff
path: root/service/OneService.cpp
AgeCommit message (Collapse)Author
2015-11-24Fix for GitHub issue #253.Adrian Frühwirth
Make 'ip' detection more robust (some distros don't ship the binary in /sbin or /usr/sbin). Add error handling for cases where an ip add/remove fails.
2015-11-12Minor Windows build fixes. Builds on VS2012 again.Adam Ierymenko
2015-11-10Query both root and network controller for multicast last resort GATHER.Adam Ierymenko
2015-11-09Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NATAdam Ierymenko
2015-11-09Mark geo-redirected paths as suboptimal and do not report that we have a ↵Adam Ierymenko
peer if all we have is one of these. Also a few other small fixes.
2015-11-05Use bigger UDP buffer on bigger x64 machines. Keep old value elsewhere since ↵Adam Ierymenko
these are likely to be smaller boxes.
2015-11-05Integrate deferred background processing into main OneService implementation.Adam Ierymenko
2015-10-29Eliminate some more dead code. We may do path trust, but not like that.Adam Ierymenko
2015-10-27Factor out RemotePath subclass of Path -- no longer needed, just cruft.Adam Ierymenko
2015-10-27Merge Phy<> from netcon.Adam Ierymenko
2015-10-27--wtf; prevent roots from TCP fallbackAdam Ierymenko
2015-10-23(1) Fix bug in geo-ip service that prevented cache lookup, (2) fix problem ↵Adam Ierymenko
in SelfAwareness (will need to test ALL versions in the wild with this), and (3) add more TRACE instrumentation to Cluster.
2015-10-22More cluster wiring...Adam Ierymenko
2015-10-13More World stuff, and mkworld.Adam Ierymenko
2015-10-06Prep in controller code to run tests.Adam Ierymenko
2015-10-01Peer serialization and related changes.Adam Ierymenko
2015-10-01No reason to randomly pick uPnP secondary port. In fact it would likely ↵Adam Ierymenko
cause problems on restarts and uPnP rule bloat.
2015-10-01Get trim() out of core where it is not needed.Adam Ierymenko
2015-09-24(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local ↵Adam Ierymenko
interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
2015-09-23Pick a random secondary UDP port for uPnP mapped traffic because of broken ↵Adam Ierymenko
routers.
2015-09-23.Adam Ierymenko
2015-09-23Pick random port on -p0Adam Ierymenko
2015-09-23Plumb through localInterfaceId to track local interfaces corresponding with ↵Adam Ierymenko
remote addresses.
2015-09-10Rename some stuff in Phy since it can be used with any stream socket.Adam Ierymenko
2015-09-10Add socketpair support to Phy.Adam Ierymenko
2015-09-02Unix domain sockets in Phy<>Adam Ierymenko
2015-07-30Because Windows, because Windows. Now it upgrades correctly from 1.0.1, ↵Adam Ierymenko
including automatic driver update from NDIS5 to NDIS6. Also a bit more robust on creating new ports, just in case.
2015-07-30Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and ↵Adam Ierymenko
setupapi and using these functions directly.
2015-07-28Add binary build of libminiupnpc for Mac x64.Adam Ierymenko
2015-07-28UPNP/NAT-PMP support with libminiupnpc (if built with it) -- GitHub issue #64Adam Ierymenko
2015-07-28Enable SO_NO_CHECK if available to skip UDP checksum on packet send for ↵Adam Ierymenko
slight performance improvement. We do our own cryptographically secure authentication so UDP checksum is worthless.
2015-07-16Fix addLocalInterfaceAddress call in OneService on WindowsGrant Limberg
2015-07-13Clean up some YAGNI issues with implementation of GitHub issue #180, and ↵Adam Ierymenko
make best path choice aware of path rank.
2015-07-07A bunch of comments and cleanup, including some to yesterday's direct path ↵Adam Ierymenko
pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable.
2015-07-06Eliminate debug printf().Adam Ierymenko
2015-07-06Minor fix to Windows local adapter address enumeration.Adam Ierymenko
2015-07-06Add new .h file to VS build, and Windows side of local interface address ↵Adam Ierymenko
enumeration.
2015-07-06Unix side of local interface address awareness for GitHub issue #180.Adam Ierymenko
2015-06-29Fix semantics of std::unique() to actually remove duplicates (hidden memory ↵Adam Ierymenko
leak?)
2015-06-03Make max HTTP message size (max update size) larger since Windows MSI is ↵Adam Ierymenko
about 8MB already.
2015-06-03NOHUP-ify the child process on OSX auto-update.Adam Ierymenko
2015-06-03Auto-update fix -- signature is in hex.Adam Ierymenko
2015-06-02Linux installer tweaks, and Mac updater tweak.Adam Ierymenko
2015-05-25Right now only FreeBSD can use BSDEthernetTap, which will probably get ↵Adam Ierymenko
renamed accordingly. NetBSD and OpenBSD do not support tap, only tun, so they will have to wait.
2015-05-22Build fix.Adam Ierymenko
2015-05-22TCP fallback tunneling is now working. That hurt more than expected.Adam Ierymenko
2015-05-21Basic TCP fallback -- now to test.Adam Ierymenko
2015-05-21Completely factor out "desperation" from the core. I thought of a ↵Adam Ierymenko
significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world.
2015-05-21Add some proxy debugging, and auto-resolve and periodically re-resolve TCP ↵Adam Ierymenko
fallback tunnel hostname.
2015-05-20Windows auto-update integration into OneService.Adam Ierymenko