Closed
Bug 283383
Opened 20 years ago
Closed 20 years ago
Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers
Categories
(JSS Graveyard :: Tests, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
4.1
People
(Reporter: Sandeep.Konchady, Assigned: Sandeep.Konchady)
Details
Attachments
(5 files, 1 obsolete file)
|
85.26 KB,
patch
|
saul.edwards.bugs
:
review+
glenbeasley
:
superreview+
|
Details | Diff | Splinter Review |
|
558 bytes,
patch
|
Details | Diff | Splinter Review | |
|
2.50 KB,
patch
|
Details | Diff | Splinter Review | |
|
6.19 KB,
patch
|
saul.edwards.bugs
:
review+
glenbeasley
:
superreview+
|
Details | Diff | Splinter Review |
|
14.59 KB,
patch
|
saul.edwards.bugs
:
review+
glenbeasley
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Create a set of client and server tests for JSS and JSSE (JDK 1.4.0) such that
JSS clients communicates with JSSE server and JSSE client communicates with JSS
server to validate ciphers supported by both. This test encompasses the following
[1] Enables all server and client implemented ciphers in JSS and JSSE
[2] Tests for common ciphers between JSS and JSSE
Reproducible: Always
Updated•20 years ago
|
Assignee: wtchang → Sandeep.Konchady
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 4.0.1
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Comment 1•20 years ago
|
||
This is a great idea. We've wanted to do this
in NSS.
| Assignee | ||
Comment 2•20 years ago
|
||
Files List : cvs diff patch listing for 283383
A ClassServer.java
A Constants.java
A GenerateTestCert.java
A JSSE_SSLClient.java
A JSSE_SSLServer.java
A JSS_SSLClient.java
A JSS_SSLServer.java
M all.pl
A startJssServ.sh
A startJsseServ.sh
Attachment #178322 -
Flags: superreview?(glen.beasley)
Attachment #178322 -
Flags: review?(saul.edwards.bugs)
Comment 3•20 years ago
|
||
Comment on attachment 178322 [details] [diff] [review]
cvs diff patch listing for 283383 with 7 new java files, 2 shell scripts and modified all.pl
Sandeep: sorry, I should have been more clear
in the instructions I sent to you by email.
When generating a patch, always pass the -u option
to "cvs diff". The -u option generates "unified"
diffs, which contain some context near the modified
code.
If you add new files, then you also need to pass
the -N option to "cvs diff".
So please regenerate the patch using "cvs diff -uN".
Thanks.
Attachment #178322 -
Flags: superreview?(glen.beasley)
Attachment #178322 -
Flags: review?(saul.edwards.bugs)
| Assignee | ||
Comment 4•20 years ago
|
||
Files List : cvs diff patch listing for 283383
A ClassServer.java
A Constants.java
A GenerateTestCert.java
A JSSE_SSLClient.java
A JSSE_SSLServer.java
A JSS_SSLClient.java
A JSS_SSLServer.java
M all.pl
A startJssServ.sh
A startJsseServ.sh
Attachment #178322 -
Attachment is obsolete: true
Attachment #178382 -
Flags: superreview?(glen.beasley)
Attachment #178382 -
Flags: review?(saul.edwards.bugs)
Updated•20 years ago
|
Attachment #178382 -
Flags: review?(saul.edwards.bugs) → review+
Updated•20 years ago
|
Attachment #178382 -
Flags: superreview?(glen.beasley) → superreview+
Comment 5•20 years ago
|
||
Wrong jar file was taken for test with BUILD_OPT=1
Comment 6•20 years ago
|
||
Java path and options are passed from all.pl to startJssServ.sh and
startJsseServ.sh.
(committed).
| Assignee | ||
Comment 7•20 years ago
|
||
The two servers did not have a mechanism to timeout if they received no client
request. This left the server programs hanging on some systems. Added a
timeout mechanism which will exit the program in 120 sec (2 min).
Attachment #180403 -
Flags: superreview?(glen.beasley)
Attachment #180403 -
Flags: review?(saul.edwards.bugs)
Updated•20 years ago
|
Attachment #180403 -
Flags: superreview?(glen.beasley) → superreview+
Comment 8•20 years ago
|
||
Comment on attachment 180403 [details] [diff] [review]
Fix for JSS and JSSE server to timeout on no client request
If your indentation is actually correct and diff is misprinting it, please use
the -t option in your diffs. Otherwise, please fix the indentation.
Everything else AOK.
Attachment #180403 -
Flags: review?(saul.edwards.bugs) → review+
| Assignee | ||
Comment 9•20 years ago
|
||
Fixed a couple of issues.
[1] Reduced JSS and JSSE server timeout from 2 min to 35 sec
[2] Added try/catch to JSSE client to detect non Sun JCA
[3] Added socket and program timeout for JSS and JSSE clients so that they exit
gracefully
Attachment #181597 -
Flags: superreview?(glen.beasley)
Attachment #181597 -
Flags: review?(saul.edwards.bugs)
Comment 10•20 years ago
|
||
Comment on attachment 181597 [details] [diff] [review]
Fix for JSSE and JSS client timeout issue
Making a function in the JSSE_SSL client would make it a lot easier to read -
those three sets of code only differ by the array of ciphers they are testing,
right? Otherwise, everything looks good.
Attachment #181597 -
Flags: review?(saul.edwards.bugs) → review+
Comment 11•20 years ago
|
||
Comment on attachment 181597 [details] [diff] [review]
Fix for JSSE and JSS client timeout issue
looks okay.
Attachment #181597 -
Flags: superreview?(glen.beasley) → superreview+
| Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 12•20 years ago
|
||
Sandeep, could you set the target milestone (the first
JSS version this fix will appear in)? Thanks.
| Assignee | ||
Updated•20 years ago
|
Target Milestone: --- → 4.1
Version: 4.0.1 → 4.1
You need to log in
before you can comment on or make changes to this bug.
Description
•