summaryrefslogtreecommitdiff
path: root/service/OneService.cpp
AgeCommit message (Collapse)Author
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
2015-05-20Apple auto-update stuff, now for Windows.Adam Ierymenko
2015-05-20Ground work for reincorporating software updater for select platforms.Adam Ierymenko
2015-05-19Windows build warning removal, be more defensive in Windows tap driver code, ↵Adam Ierymenko
and clean up service start/stop in installer.
2015-05-17/var/db is for all of xBSDAdam Ierymenko
2015-05-17Refactor and simplify controller integration with JSON API and OneService.Adam Ierymenko
2015-05-16Fixes to control plane, API, eliminate problematic inheritance pattern, and ↵Adam Ierymenko
start on a NodeJS class for talking to the network controller.
2015-05-16OSX build fixAdam Ierymenko
2015-05-15Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do ↵Adam Ierymenko
that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see.
2015-05-05Beginning of HTML+Bootstrap+React UI for new desktop client -- looking like ↵Adam Ierymenko
it will be easier than retrofitting the old Qt client for the new API.
2015-04-30Get rid of G++ compiler warning.Adam Ierymenko
2015-04-30A few more refinements to TCP code, ready to integrate with "desperation" ↵Adam Ierymenko
stuff and test.
2015-04-28TCP tunneling implementation -- not tested yet and no initiation yet.Adam Ierymenko
2015-04-26For now just bind TCP to localhost, since we do not permit remote use of the ↵Adam Ierymenko
control bus at all yet.