Re: [dev] debugging sj

From: Jan Klemkow <j.klemkow_AT_wemelug.de>
Date: Fri, 4 Dec 2015 17:29:19 +0100

On Fri, Dec 04, 2015 at 11:21:17AM -0500, Greg Reagle wrote:
> On 12/04/2015 12:57 AM, Jan Klemkow wrote:
> >I wrote ucspi-tee[1] to do this job for me. But I think there is a
> >similar tool of djb's tool chain, that does it, too.
>
> Okay yes I can compile and run your program ucspi-tee. But how exactly do I
> use it? This is how I (successfully) use sj now:
> env TLSC_NO_VERIFICATION=1 tcpclient "$SJ_SERVER" 5223 tlsc sj
>
> Where do I put ucspi-tee in that command? Sorry I don't understand better.

No problem. You should plug between tlsc and sj, so it is able to
intercept all input and output traffic of sj before the encryption.

env TLSC_NO_VERIFICATION=1 tcpclient "$SJ_SERVER" 5223 tlsc ucspi-tee sj

bye,
Jan
Received on Fri Dec 04 2015 - 17:29:19 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 04 2015 - 17:36:10 CET