Aldo Cortesi
|
bae86480d4
|
Merge branch 'master' of github.com:cortesi/netlib
|
2012-06-28 09:57:33 +12:00 |
|
Aldo Cortesi
|
92c7d38bd3
|
Handle obscure termination scenario, where interpreter exits before thread termination.
|
2012-06-28 09:56:58 +12:00 |
|
Aldo Cortesi
|
a1491a6ae0
|
Add a get_remote_cert method to tcp client.
|
2012-06-28 08:15:55 +12:00 |
|
Aldo Cortesi
|
b0ef9ad07b
|
Refactor certutils.SSLCert API.
|
2012-06-27 22:11:58 +12:00 |
|
Aldo Cortesi
|
35ee0c098f
|
Remove certutils from mitmproxy.
|
2012-06-27 16:43:33 +12:00 |
|
Aldo Cortesi
|
f7fcb1c80b
|
Add certutils to netlib.
|
2012-06-27 16:42:00 +12:00 |
|
Aldo Cortesi
|
97071c0952
|
Merge branch 'master' of ssh.github.com:cortesi/netlib
|
2012-06-27 16:24:34 +12:00 |
|
Aldo Cortesi
|
5d4c7829bf
|
Minor refactoring.
|
2012-06-27 16:24:22 +12:00 |
|
Aldo Cortesi
|
49dedd361c
|
Fix replay.
|
2012-06-27 16:22:25 +12:00 |
|
Aldo Cortesi
|
9588da4ab4
|
Catch errors that may happen on interpreter shutdown.
|
2012-06-27 16:15:22 +12:00 |
|
Aldo Cortesi
|
dd55a3e0b6
|
Use SNI-indicated hostname for cert generation when not using upstream certs.
|
2012-06-27 12:12:11 +12:00 |
|
Aldo Cortesi
|
d0fd8385e6
|
Fix termiantion error in file read.
|
2012-06-27 12:11:55 +12:00 |
|
Aldo Cortesi
|
abe335e57d
|
Add a flag to track SSL connection establishment.
|
2012-06-26 23:52:35 +12:00 |
|
Aldo Cortesi
|
ceef6ee6be
|
Enable SSL in transparent mode.
|
2012-06-26 23:51:38 +12:00 |
|
Aldo Cortesi
|
e6cdbefb3b
|
Add transparent mode platform module for Linux.
|
2012-06-26 20:49:34 +12:00 |
|
Aldo Cortesi
|
ad893ad134
|
Transparent proxy command-line flag stub.
|
2012-06-26 20:08:24 +12:00 |
|
Aldo Cortesi
|
8ccfb376f3
|
Remove -T and -U command-line options.
They're redundant convenience options, and we need more space.
|
2012-06-26 19:57:59 +12:00 |
|
Aldo Cortesi
|
015a74fd14
|
We no longer store scheme on ServerConnection.
|
2012-06-26 18:29:12 +12:00 |
|
Aldo Cortesi
|
8f148b6b14
|
Split pathod and pathoc daemon test suites out.
|
2012-06-26 17:28:07 +12:00 |
|
Aldo Cortesi
|
a68b4498b8
|
Allow naked value literal for pathoc path specifications.
|
2012-06-26 15:36:59 +12:00 |
|
Aldo Cortesi
|
65aef81997
|
parse -> parse_response in web app
|
2012-06-26 15:09:05 +12:00 |
|
Aldo Cortesi
|
33be5a72bf
|
Fixed the WSGI server hang in netlib, remove fudge.
|
2012-06-26 14:49:40 +12:00 |
|
Aldo Cortesi
|
658c9c0446
|
Hunt down a tricky WSGI socket hang.
|
2012-06-26 14:49:23 +12:00 |
|
Aldo Cortesi
|
15aab74ddb
|
Catch and log SSL connection errors. Improve log format.
|
2012-06-26 11:03:35 +12:00 |
|
Aldo Cortesi
|
f32258e8f7
|
Port pathoc to new netlib API. Add SNI.
|
2012-06-26 10:15:11 +12:00 |
|
Aldo Cortesi
|
ccf2603ddc
|
Add SNI.
|
2012-06-26 09:50:42 +12:00 |
|
Aldo Cortesi
|
ea457fac2e
|
Perform handshake immediately on SSL conversion.
Otherwise the handshake happens at first write, which can balls up if either
side hangs immediately.
|
2012-06-25 16:16:01 +12:00 |
|
Aldo Cortesi
|
52d0536d2c
|
Use new TCPClient.convert_to_ssl API.
|
2012-06-25 15:53:26 +12:00 |
|
Aldo Cortesi
|
353efec7ce
|
Improve TCPClient interface.
- Don't pass SSL parameters on instantiation.
- Add a convert_to_ssl method analogous to that in TCPServer.
|
2012-06-25 14:42:15 +12:00 |
|
Aldo Cortesi
|
e08f91c237
|
Port to explicit netlib connection API.
|
2012-06-25 11:37:12 +12:00 |
|
Aldo Cortesi
|
8352c0278f
|
Handle client close more gracefully.
|
2012-06-25 11:34:29 +12:00 |
|
Aldo Cortesi
|
47f862ae27
|
Add a finished flag to BaseHandler, and catch an extra OpenSSL exception.
|
2012-06-25 11:34:10 +12:00 |
|
Aldo Cortesi
|
f3237503a7
|
Don't connect during __init__ methods for either client or server.
This means we now need to do these things explicitly at the caller.
|
2012-06-25 11:23:04 +12:00 |
|
Aldo Cortesi
|
3d8610b6bc
|
Move server to new explicit netlib API.
|
2012-06-25 11:22:44 +12:00 |
|
Aldo Cortesi
|
8f0754b9c4
|
SSL tests, plus some self-signed test certificates.
|
2012-06-25 11:00:39 +12:00 |
|
Aldo Cortesi
|
1662d6d572
|
Repair test suite.
|
2012-06-24 23:16:06 +12:00 |
|
Aldo Cortesi
|
7d01d5c797
|
Don't read all from server by default.
This can cause us to hang waiting for data. More research is needed to
establish the right course of action here.
|
2012-06-24 23:13:09 +12:00 |
|
Aldo Cortesi
|
15c48cfc5e
|
Simple HTTP connection keep-alive for pathod.
|
2012-06-24 23:11:25 +12:00 |
|
Aldo Cortesi
|
a747043cc8
|
Use http.read_response to read server response.
Also add a few different output formats, and a verbosity flag.
|
2012-06-24 22:59:20 +12:00 |
|
Aldo Cortesi
|
820ac5152e
|
WSGI SERVER_PORT should be a string.
|
2012-06-24 22:57:09 +12:00 |
|
Aldo Cortesi
|
5988b65419
|
Add and unit test http.read_response
|
2012-06-24 22:45:40 +12:00 |
|
Aldo Cortesi
|
eac3b29d5f
|
Factor read_response out into netlib.
|
2012-06-24 22:01:11 +12:00 |
|
Aldo Cortesi
|
4db2abc01c
|
read_headers now returns an ODictCaseless object.
|
2012-06-24 21:49:59 +12:00 |
|
Aldo Cortesi
|
ddda57179a
|
read_headers now returns an ODictCaseless object.
|
2012-06-24 21:49:43 +12:00 |
|
Aldo Cortesi
|
0de765f360
|
Make read_headers return an ODictCaseless object.
|
2012-06-24 21:49:23 +12:00 |
|
Aldo Cortesi
|
65487ead6d
|
Logging truss for pathod.
|
2012-06-24 21:40:31 +12:00 |
|
Aldo Cortesi
|
90c6fb394d
|
Sketch out pathoc commandline interaction.
|
2012-06-24 21:10:10 +12:00 |
|
Aldo Cortesi
|
8bec99f858
|
Request service rendering.
|
2012-06-24 19:12:52 +12:00 |
|
Aldo Cortesi
|
2ac84be7cb
|
Add Path specification to request parser.
|
2012-06-24 18:38:22 +12:00 |
|
Aldo Cortesi
|
f8622ea914
|
Simple request spec parsing.
|
2012-06-24 17:47:55 +12:00 |
|