J. Ryan Stinnett
dab178a16f
Bug 1127004 - Use promises and session in b2g allowConnection. r=past
2015-02-05 15:26:13 -06:00
J. Ryan Stinnett
3a762d53be
Bug 1103120 - Part 21: Client: Close streams when connection refused. r=past
2015-01-26 12:47:14 -06:00
J. Ryan Stinnett
fc6e57a5f6
Bug 1103120 - Part 16: Server: Receive OOB data from client. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
06ee5884e3
Bug 1103120 - Part 15: Client: Compare server cert to advertisement. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
f07301c21f
Bug 1103120 - Part 14: Client: Send OOB data to server. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
df009dd810
Bug 1103120 - Part 13: Client: Set cert when connecting. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
a7b99f3e1c
Bug 1103120 - Part 12: Client: Receive pending auth message from server. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
d7a2b6ffc7
Bug 1103120 - Part 10: Server: Send pending auth message to client. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
db06902426
Bug 1103120 - Part 9: Server: Require client cert, add cert to session. r=past
...
This exposes the server and client certs as part of the session info available
to authenticators and prompts.
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
c807377365
Bug 1103120 - Part 8: Server: Use promises and results in allowConnection. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
cba66b301b
Bug 1103120 - Part 7: Server: Provide session to default prompt. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
1d5991da39
Bug 1103120 - Part 6: Server: Move allowConnection to authenticator. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
edb08ad320
Bug 1103120 - Part 5: Server: Create connection object on accept. r=past
...
Extract the socket accept logic into a new object, in preparation for more
complex steps to handle authentication. As a bonus, the new workflow ensures
that the TLS handshake is validated before handing the connection of to the
DebuggerServer.
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
fd78d0df0e
Bug 1103120 - Part 4: Server: Move default prompt to new file. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
13388583db
Bug 1103120 - Part 3: Server: Advertise cert for authentication. r=past
2015-01-26 12:47:13 -06:00
J. Ryan Stinnett
dcb62bf231
Bug 1059001 - Part 4: Pass encryption through via discovery. r=past
2014-12-10 20:55:52 -06:00
J. Ryan Stinnett
0a47176c20
Bug 1059001 - Part 3: Add encryption socket option. r=past
2014-12-10 20:55:52 -06:00
J. Ryan Stinnett
109ebed196
Bug 1059001 - Part 2: Move discovery into socket listener. r=past
...
Don't make the socket listener set up discover manually. Also, future additions
(authentication) for WiFi debugging will add extra information to the discovery
packet.
2014-12-10 20:55:51 -06:00
J. Ryan Stinnett
f300b2e843
Bug 1059001 - Part 1a: Separate create and open listener. r=past
...
Break up the steps of creating a socket listener and opening it. This allows
more socket options beyond port / path to be added and controlled more
naturally, instead of jamming them into the open method.
2014-12-10 20:55:51 -06:00
J. Ryan Stinnett
4c7a28ca02
Bug 1058997 - Part 4: Only one DebuggerServer per loader. r=past
...
It was never necessary to pass a server reference to the socket listener, since
a given DevTools loader only ever contains a single server instance.
2014-12-01 22:55:56 -08:00
J. Ryan Stinnett
f7e016b8fc
Bug 1058997 - Part 3a: Move allowConnection to socket listener. r=past
...
In the future with multiple types of socket listeners (bare TCP vs. TLS), each
will need its own logic for allowing connection. This is moved to the listener
level, rather than living at the level of the entire server.
2014-12-01 22:55:56 -08:00
J. Ryan Stinnett
289b8ad4cf
Bug 1058997 - Part 2: Debugger socket style cleanup. r=past
2014-12-01 22:55:56 -08:00
J. Ryan Stinnett
78ead7cad4
Bug 1058997 - Part 1: Extract socket connect and listen. r=past
...
Relocate the debugger client's connect and server's listen functionality in a
separate file. This isolates the security-sensitive socket handling pieces, and
also enables easier extension to make room for TLS sockets.
2014-12-01 22:55:56 -08:00