On Nov 20, 6:28 pm, David Stutzman <dstutzman*at*dsci.com> wrote: > D3|\||\|!$ wrote: > > Thanks again for the information. Now I want to modify the selfserv.c > > to show the message sent in from the client-side... > > > I tried to achieve this by inserting a PR_Read(listen_sock, Buffer , > > Buffersize) after PR_Accept on line 1239 in selfserv.c and then using > > an FPRINTF to print the contents of buffer onto the console... > > > But PR_Read returned an error -5978 and now I'm helpless...!!! > > > Also, on the second iteration of the while loop, PR_Accept does not > > return untill the client disconnects, so I cannot access the contents > > of the message buffer for subsequent messages sent by the client even > > if PR_Read returned properly. Any suggestions to get around the > > problem? > > > I also tried running tstclnt in debug mode synchronously with > > selfserv.exe but it is showing DLL load error despite the fact that I > > have put the dlls at the right place... > > > Kindly help. > > > Warm Regards, > > D3|\||\|!$ > > Would the nss command line util ssltap help you > out?http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.htmlhttp://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/... > > Dave- Hide quoted text - > > - Show quoted text -
I'm afraid NO.... I need to display the messages sent by the client onto the server-side console. "ssltap -s" does not decrypt the text messages sent by the client. For instance, if I type "Hello Mr. Server, Kindly respond to this message ASAP" after "about to call PR_Poll !" and hit ENTER on the client side (I'm using tstclient.exe) then I should get a decrypted "Hello Mr. Server, Kindly respond to this message ASAP" on the server- side... Next I would add message sending functionality to the server by modifying selfserv.c. Also, can these applications be used to send- recieve files?? Would like to recieve cues for this as well... :-) Warm Regards, D3|\||\|!$ _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto