Commit Graph

  • 8f0754b9c4 SSL tests, plus some self-signed test certificates. Aldo Cortesi 2012-06-25 11:00:39 +12:00
  • 1662d6d572 Repair test suite. Aldo Cortesi 2012-06-24 23:16:06 +12:00
  • 7d01d5c797 Don't read all from server by default. Aldo Cortesi 2012-06-24 23:13:09 +12:00
  • 15c48cfc5e Simple HTTP connection keep-alive for pathod. Aldo Cortesi 2012-06-24 23:11:25 +12:00
  • a747043cc8 Use http.read_response to read server response. Aldo Cortesi 2012-06-24 22:59:20 +12:00
  • 820ac5152e WSGI SERVER_PORT should be a string. Aldo Cortesi 2012-06-24 22:57:09 +12:00
  • 5988b65419 Add and unit test http.read_response Aldo Cortesi 2012-06-24 22:45:40 +12:00
  • eac3b29d5f Factor read_response out into netlib. Aldo Cortesi 2012-06-24 22:01:11 +12:00
  • 4db2abc01c read_headers now returns an ODictCaseless object. Aldo Cortesi 2012-06-24 21:49:59 +12:00
  • ddda57179a read_headers now returns an ODictCaseless object. Aldo Cortesi 2012-06-24 21:49:43 +12:00
  • 0de765f360 Make read_headers return an ODictCaseless object. Aldo Cortesi 2012-06-24 21:49:23 +12:00
  • 65487ead6d Logging truss for pathod. Aldo Cortesi 2012-06-24 21:40:31 +12:00
  • 90c6fb394d Sketch out pathoc commandline interaction. Aldo Cortesi 2012-06-24 21:10:10 +12:00
  • 8bec99f858 Request service rendering. Aldo Cortesi 2012-06-24 19:12:52 +12:00
  • 2ac84be7cb Add Path specification to request parser. Aldo Cortesi 2012-06-24 18:38:22 +12:00
  • f8622ea914 Simple request spec parsing. Aldo Cortesi 2012-06-24 17:47:55 +12:00
  • 75f06d56cd Request method parsing. Aldo Cortesi 2012-06-24 17:23:37 +12:00
  • d4ad3f0b2c Refactor to extract ready_actions and write_values. Aldo Cortesi 2012-06-24 17:01:04 +12:00
  • 05f5e772c3 Document our use of the 800 response code. Aldo Cortesi 2012-06-24 16:47:44 +12:00
  • 4fc64ac04f Enable anchors on command line. Aldo Cortesi 2012-06-24 16:38:32 +12:00
  • e6aa9ff675 Re-enable anchors. Aldo Cortesi 2012-06-24 16:20:50 +12:00
  • 877b5a2d11 Add staticdir to test.Test. Aldo Cortesi 2012-06-24 15:12:31 +12:00
  • 2e558b7e9d Fix disconnect, improve coverage, enable file value specifier. Aldo Cortesi 2012-06-24 15:07:45 +12:00
  • b71e2f6f2b More doc refinement. Aldo Cortesi 2012-06-24 11:14:54 +12:00
  • 6d0b49dfef Documentation. Aldo Cortesi 2012-06-24 10:54:37 +12:00
  • 3bc7f4e1cd Documentation skeleton. Aldo Cortesi 2012-06-24 10:18:20 +12:00
  • 171de05d8e Add http_status.py Aldo Cortesi 2012-06-23 18:34:51 +12:00
  • e236d7746a Move http.py to netlib.http_status Aldo Cortesi 2012-06-23 18:34:35 +12:00
  • e7c75933e7 read_http_body -> read_http_body_request/response Aldo Cortesi 2012-06-23 15:08:01 +12:00
  • 1263221ddd 100% testcoverage for netlib.http Aldo Cortesi 2012-06-23 15:07:42 +12:00
  • cb2f11a68e Bump version, adapt for API canges in netlib. Aldo Cortesi 2012-06-23 14:06:54 +12:00
  • 874649f134 Adapt for API changes in netlib. Aldo Cortesi 2012-06-23 14:06:34 +12:00
  • 5cf6aeb926 protocol.py -> http.py Aldo Cortesi 2012-06-23 13:56:17 +12:00
  • 227e72abf4 README, setup.py, version Aldo Cortesi 2012-06-23 13:49:57 +12:00
  • b335b3a335 Remove last vestige of Tornado pathod. Aldo Cortesi 2012-06-21 16:58:10 +12:00
  • cd8fba1d70 Finalize porting built-in web app to Flask. Aldo Cortesi 2012-06-21 16:54:49 +12:00
  • f88e899274 Built-in app: Index page. Aldo Cortesi 2012-06-21 16:25:27 +12:00
  • f0fd33fb11 Log inspection and manipulation from tests. Aldo Cortesi 2012-06-21 15:39:40 +12:00
  • 12c140b951 Restore client argument parsing. Add thread-safe logging subsystem. Aldo Cortesi 2012-06-21 14:29:49 +12:00
  • 1089a52f3d Disconnect, rest refactoring. Aldo Cortesi 2012-06-21 10:56:30 +12:00
  • b706200796 Drop default poll interval to 0.1s. Aldo Cortesi 2012-06-20 11:01:40 +12:00
  • de00497b40 Re-enable SSL service. Aldo Cortesi 2012-06-20 10:59:38 +12:00
  • 7922e70037 Basic response generation. Aldo Cortesi 2012-06-20 10:51:37 +12:00
  • 084be7684d Close socket on shutdown. Aldo Cortesi 2012-06-20 10:51:02 +12:00
  • 892ee2a904 Start porting web app to Flask. Aldo Cortesi 2012-06-19 16:57:57 +12:00
  • ce1ef55456 Adapt WSGI, convert test suite to nose. Aldo Cortesi 2012-06-19 14:23:22 +12:00
  • a700721891 Porting to netlib proceeds apace. Aldo Cortesi 2012-06-19 13:23:07 +12:00
  • 7cb242c168 Move wsgi to netlib. Aldo Cortesi 2012-06-19 10:42:55 +12:00
  • c7e9051cbb Import wsgi. Aldo Cortesi 2012-06-19 10:42:25 +12:00
  • 1b1ccab8b7 Extract protocol and tcp server implementations into netlib. Aldo Cortesi 2012-06-19 09:58:50 +12:00
  • b558997fd9 Initial checkin. Aldo Cortesi 2012-06-19 09:42:32 +12:00
  • 7b9756f48e Refactor protocol.py to remove dependence on flow and utils. Aldo Cortesi 2012-06-17 10:52:39 +12:00
  • bd99a13f39 Start refactoring towards netlib, adding SNI and client testing. Aldo Cortesi 2012-06-17 07:57:24 +12:00
  • aae8a9959c Pull out protocol components into protocol.py Aldo Cortesi 2012-06-16 21:23:32 +12:00
  • d5a0099f49 Test suite and refactoring for netlib. Aldo Cortesi 2012-06-16 16:22:51 +12:00
  • 18a03c063e Simplify netlib and improve API. Aldo Cortesi 2012-06-16 13:53:24 +12:00
  • 4e53f1ee90 Rename our tcpserver to netlib, expand to include client network functions. Aldo Cortesi 2012-06-16 13:38:10 +12:00
  • 8ae64337ed Create our own TCP server class. Aldo Cortesi 2012-06-16 11:40:44 +12:00
  • c7952371b7 Fix a problem in ODictCaseless that could cause duplicate headers. Aldo Cortesi 2012-06-15 17:40:08 +12:00
  • 8ae3270807 Basic transparent mode. Aldo Cortesi 2012-06-15 09:47:04 +12:00
  • a9495dc02f Refactor test suite to make room for transparent mode tests. Aldo Cortesi 2012-06-15 09:20:10 +12:00
  • 176d819559 Move server comms to OpenSSL. Aldo Cortesi 2012-06-14 21:57:55 +12:00
  • 8dabf88ae5 Remove ability to specify SSL ciphers. Aldo Cortesi 2012-06-14 15:29:54 +12:00
  • 8a9352b3f7 First draft conversion of server to PyOpenSSL. Aldo Cortesi 2012-06-13 18:16:47 +12:00
  • d032504b17 Fix an exception when replaying a flow with no response. Aldo Cortesi 2012-06-10 17:10:43 +12:00
  • d60fa9918b Localise client connection object manipulation. Aldo Cortesi 2012-06-10 16:49:59 +12:00
  • 1f659948cd Refactor request processing at mitmproxy's core. Aldo Cortesi 2012-06-10 16:02:48 +12:00
  • 236447c65f Pass server HTTP version back to clients. Aldo Cortesi 2012-06-10 13:29:09 +12:00
  • 6ba5f0f35b Add HTTP version to response objects. Aldo Cortesi 2012-06-10 13:27:43 +12:00
  • 52779d9db9 Refactoring of proxy.py Aldo Cortesi 2012-06-10 13:17:18 +12:00
  • 55ddf853cd Add HTTP version to flow.Request Aldo Cortesi 2012-06-10 10:46:22 +12:00
  • a3b47e0cb5 Consolidate HTTP major and minor versions into a single variable. Aldo Cortesi 2012-06-10 10:31:04 +12:00
  • 8254187bf3 Add proxy.should_connection_close, and strip out unused code. Aldo Cortesi 2012-06-10 10:10:46 +12:00
  • 0c458e2f1a Refactor ServerConnection API. Aldo Cortesi 2012-06-10 08:13:50 +12:00
  • 987f443b5d Ignore incorrectnesses in traffic if they don't affect us. Aldo Cortesi 2012-06-09 21:45:22 +12:00
  • 9130cd63d3 Significant cleanup of proxy internals. Aldo Cortesi 2012-06-09 21:27:43 +12:00
  • b1f410c78d Join thread on test exit to avoid race condition. Aldo Cortesi 2012-06-09 20:42:43 +12:00
  • 18c1b44475 Reverse proxy testing. Aldo Cortesi 2012-06-09 20:41:28 +12:00
  • 05492baf8d Move from requests to human_curl. Aldo Cortesi 2012-06-09 16:17:51 +12:00
  • 00c8bef0ff Port test suite over to Nose. Aldo Cortesi 2012-06-09 15:08:51 +12:00
  • 22192d1a46 Nose mopup: docs, no cover pragmas, a few missing path specs. Aldo Cortesi 2012-06-09 13:55:55 +12:00
  • b7b357528c Port mitmproxy test suite entirely to nose. Aldo Cortesi 2012-06-09 13:42:43 +12:00
  • a63240a848 Move pathod service testing truss to nose. Aldo Cortesi 2012-06-09 12:13:01 +12:00
  • e78b48ab20 Start conversion to nose. Aldo Cortesi 2012-06-09 10:57:00 +12:00
  • 7a312546f3 Shift mitmproxy test suite over to pathod. Aldo Cortesi 2012-06-08 10:00:16 +12:00
  • 456b11df9a Add requests to install_requires. Aldo Cortesi 2012-06-07 17:03:16 +12:00
  • a29ebe31dc SSL support for test struss. Aldo Cortesi 2012-06-07 17:02:17 +12:00
  • 81fc990314 Fail if only one of certfile or keyfile is specified. Aldo Cortesi 2012-06-07 16:36:54 +12:00
  • 9ae53aecd0 We can't sensibly unit test pages withhout firing up a server. Aldo Cortesi 2012-06-07 16:35:54 +12:00
  • 26c8437e88 Better test daemon cleanup, improve utils test coverage. Aldo Cortesi 2012-06-07 14:05:42 +12:00
  • 34ffe46fa0 Add /api/info, returning general info on the running pathod daemon. Aldo Cortesi 2012-06-07 11:39:37 +12:00
  • 14b2a69d21 Start building a Pathod unit testing truss. Aldo Cortesi 2012-06-07 11:23:23 +12:00
  • b5a74a26ee Let Pathod pick an arbitrary empty port if -p 0 is specified. Aldo Cortesi 2012-06-07 10:17:30 +12:00
  • 049d3d2b45 lippathod/app.py -> libpathod/pathod.py Aldo Cortesi 2012-06-07 08:50:06 +12:00
  • 903038b8de Merge branch 'master' into develop Aldo Cortesi 2012-06-07 08:44:36 +12:00
  • 2a194f98ec add missing parser.add_option_group(group) Maximilian Hils 2012-06-06 01:26:19 +02:00
  • e9109812e1 Split parsing of intial line into separate protocols. Aldo Cortesi 2012-06-03 06:04:57 -07:00
  • 0a25c2263d Factor out conversion to SSL connection. Aldo Cortesi 2012-06-03 01:54:11 -07:00
  • 491f9bdcee Add unit tests for console/help.py Aldo Cortesi 2012-06-03 01:11:07 -07:00
  • b36e37f9da Fix a traceback that sometimes occurred when an invalid limit was entered. Aldo Cortesi 2012-06-02 18:41:44 -07:00