Hi Greg,
Sorry for the late answer, but I was busy the last days.
On Tue, Dec 01, 2015 at 10:37:44AM -0500, Greg Reagle wrote:
> Thanks to the recent updates to sj[1] and ucspi-tools[2], sj is now easier
> to build.
>
> The man page for sj has this
>
> EXAMPLES
> tcpclient example.org 5223 tlsc sj -u user -s example.org
You are right, I forgot to extend that part of the manpage. Its now
updated.
> but that doesn't work for me. I have to omit tlsc. It seems to be called
> automatically. Am I doing something wrong or does the man page need to be
> corrected? Here is how I run sj:
Yes, now sj starts tlsc automatically after the STARTTLS negotiation.
You should not omit tlsc. The traffic will be unencrypted if you do so.
> tcpclient "$SJ_SERVER" xmpp-client sj
>
> with the following env vars:
>
> ~/a/sj$ env|grep SJ
> SJ_DIR=/home/greagle/sj
> SJ_RESOURCE=sj
> SJ_SERVER=jabber.org
> SJ_USER=taiga
>
> and TLSC_NO_VERIFICATION=1
>
> Note that "xmpp-client" is looked up in /etc/services and maps to 5222.
>
> [1] https://github.com/younix/sj
> [2] https://github.com/younix/ucspi
Received on Fri Dec 04 2015 - 06:39:11 CET