Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

[WIP] #3 QuickConnect support #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

[WIP] #3 QuickConnect support #4

wants to merge 10 commits into from

Conversation

seansfkelley
Copy link
Owner

@seansfkelley seansfkelley commented Apr 23, 2018

Fixes #3.

Time frame: not for a while; reversing this protocol is a pain.

Progress:

  • generate candidate connections
  • ping connections
  • log in without tunnel (should work, needs verification)
  • ping through tunnel
  • log in through tunnel (seems to require talking to encryption.cgi and some more-intense reverse-engineering)
  • API requests through tunnel
  • update ApiClient to use quickconnect
  • update docs (and include notes about the referrer header if necessary)

Open questions:

  • Why doesn't my NAS understand that its WAN port is different than the LAN port?

Sean Kelley added 10 commits April 21, 2018 23:26
- Move pingpong into the regular rest API area, since it's for talking to DSMs.
- Move quickconnection API calls out from regular rest API area, since they're
  for talking to the quickconnect nameservers.
- Allow all API requests to take a referer, which is necessary for at least
  some quickconnect tunnel responses.
- Rename/restructure the quickconnect files a bit.
- Add method to construct referrer from quickconnect ID.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add QuickConnect support
1 participant