54 Commits

Author SHA1 Message Date
bmmurphy
d198dfa158 Fix server_bench adding points on test errors. 2021-05-09 15:43:17 -04:00
Godmar Back
5a798464ad restart server after IPv6 tests 2021-05-05 17:48:14 -04:00
Godmar Back
97790eb2f5 fix IPv6 tests 2021-05-05 17:18:46 -04:00
gback
70efa5b25f Merge branch 'double_test_fix' into 'master'
Double-Test Fix

See merge request cs3214-staff/pserv!60
2021-04-27 23:01:56 -04:00
cwshugg
f53e27edc3 Removed duplicates of test_auth_flipped_token and test_auth_wrong_cookie. 2021-04-27 22:53:58 -04:00
Godmar Back
f6389fb4b6 changed header parsing to avoid cutting up space-contained values
- also fixes and updates to JWT examples
2021-04-23 13:16:31 -04:00
Godmar Back
beffc8ad32 allow both 400 and 403 in test_access_control_private_valid_semantic_token 2021-04-23 09:57:20 -04:00
Godmar Back
3a8a4bed96 fixed typo 2021-04-23 00:10:22 -04:00
Godmar Back
b43faca313 upped libjwt to 1.13.1 after bug fix 2021-04-22 22:46:30 -04:00
Godmar Back
576326785c revert to 1.12.1 of libjwt 2021-04-22 19:30:38 -04:00
gback
901e875204 Merge branch 'new_auth_tests' into 'master'
New Authentication Tests --> New Robustness Tests

See merge request cs3214-staff/pserv!59
2021-04-19 20:16:04 -04:00
cwshugg
9efcafa055 Moved new authentication tests to the Single_Conn_Malicious_Case group:
- `test_access_control_private_valid_flipped_token` has been renamed to `test_auth_flipped_token`.
- `test_access_control_private_wrong_cookie` has been renamed to `test_auth_wrong_cookie`

The  class now has a few more fields to allow these tests to run: `self.private_file`, `self.username`, `self.password`, and `self.session`.
2021-04-19 20:16:04 -04:00
gback
48dc876983 Merge branch 'new_auth_tests' into 'master'
New Authentication Tests

See merge request cs3214-staff/pserv!58
2021-04-19 14:57:55 -04:00
cwshugg
8f0375396c New Authentication Tests 2021-04-19 14:57:55 -04:00
gback
59d0111af9 Merge branch 'master' into 'master'
Add semantic JSON test

See merge request cs3214-staff/pserv!55
2021-04-14 00:35:07 -04:00
gback
f6fe02a605 Merge branch 'fuzzing' into 'master'
Fuzzing Documentation

See merge request cs3214-staff/pserv!57
2021-04-14 00:33:53 -04:00
cwshugg
da34c84933 Fuzzing Documentation 2021-04-14 00:33:52 -04:00
Godmar Back
7ba2670512 various fixes for Spring 2021
- support for 206 return code
- fixes to sendfile
- add URL variable to testloginapi.sh
2021-04-14 00:31:37 -04:00
Godmar Back
07658f3b90 update Spring 2021, include support for video player 2021-04-14 00:29:50 -04:00
dmoyer
9919b5b4b9 Merge branch 'ccerne-fix-bench-assert-bug' into 'master'
Fixed small bug where bench script crashes on error

See merge request cs3214-staff/pserv!56
2020-12-14 17:55:51 -05:00
Christopher Cerne
89138d7436 Fixed small bug where bench script crashes on error 2020-12-09 11:12:51 -05:00
Jonathan Lacson
0b29928dd3 change the response code to one that makes more sense 2020-12-05 13:13:39 -05:00
Jonathan Lacson
b413f2953c Add semantic token test 2020-12-05 12:58:22 -05:00
Godmar Back
389cc064ea properly resolve symlinks if test script is symlinked 2020-08-12 13:36:15 -04:00
Godmar Back
231cad9b49 added JSON.lua 2020-08-12 11:56:47 -04:00
gback
32bf5cfd5c Merge branch 'master' into 'master'
add meaningful error text when test fails

See merge request cs3214-staff/pserv!54
2020-08-12 11:55:14 -04:00
Jonathan Lacson
7629064684 add meaningful error text when test fails 2020-08-12 00:24:22 -04:00
Godmar Back
8cb6f9d2d8 added cs3214bench.lua 2020-08-11 15:03:07 -04:00
Godmar Back
10fce8d45d added missing test file 2020-08-05 17:09:21 -04:00
Godmar Back
dfb0d80ff3 set extra credit to 1Mrqs 2020-08-05 17:01:46 -04:00
Godmar Back
0bb639cca7 2002 -> 2020 typo fix 2020-08-05 16:59:07 -04:00
Godmar Back
fac1440934 summer 2020 version of server_bench, take 1 2020-08-05 16:51:36 -04:00
gback
3baf28ccae Merge branch 'master' into 'master'
Manually set URL for IDOR test to workaround newer urllib3/requests versions

See merge request cs3214-staff/pserv!53
2020-08-05 09:22:47 -04:00
Jonathan Lacson
cc24fe2a1d Manually set URL for IDOR test to workaround newer urllib3/requests versions 2020-08-04 16:49:08 -04:00
Godmar Back
2c641d678e fix test for IDOR vulnerability by preventing path segment normalization 2020-08-04 10:50:51 -04:00
Godmar Back
7cbe3af927 updates for summer 2020
this update adds the unit tests as part of the student distribution
2020-08-03 23:33:16 -04:00
Godmar Back
b0f08b3e8a updated React-App to React as of Spring 2020 2020-04-30 11:40:47 -04:00
Godmar Back
cd09eb1954 Spring 2020 version 2020-04-17 16:16:11 -04:00
Godmar Back
650c2dd851 Merge branch 'master' of git.cs.vt.edu:cs3214-staff/pserv 2018-05-01 15:54:05 -04:00
Godmar Back
f0ea5f0f74 fixed out-of-bound error caused by wrong use of vsnprintf 2018-05-01 15:53:30 -04:00
Godmar Back
20aeca4b19 added React.js example; see README.first 2018-04-29 18:11:45 -04:00
Godmar Back
65ee63d43e added HTML5 fallback option
This is not part of the project requirements
2018-04-29 17:58:34 -04:00
Godmar Back
3e05379763 better error handling for when accept fails 2018-04-29 17:58:19 -04:00
Godmar Back
fc4135a79c use sockaddr_storage instead of sockaddr_in6 2018-04-29 17:57:43 -04:00
Godmar Back
960fec20f8 added -e option to specify token expiration time
bug fix to socket function
2018-04-24 20:07:50 -04:00
Godmar Back
94c94ca6de various changes
- added silent_mode for benchmarking
- fixed compiler errors
- moved variables to globals.h
2018-04-23 22:32:48 -04:00
Godmar Back
36f9faebfe additional error handling
- fix http_parse_request to recognize too short lines
- fix wrong error handling in send_response_handler
- return not found instead of not implemented in handle_api
- fixed bug when printing out peer information in socket.c
2018-04-23 17:37:11 -04:00
Godmar Back
0ca6b6282e changed password to 'thepassword' 2018-04-21 17:36:20 -04:00
Godmar Back
95a7fe24b3 added short test script 2018-04-21 17:34:45 -04:00
Godmar Back
ba5cf09615 removed from this branch 2018-04-21 08:40:56 -04:00