From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 15:21:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04A47106566C for ; Sun, 12 Dec 2010 15:21:04 +0000 (UTC) (envelope-from smathias1972@yahoo.com) Received: from web121405.mail.ne1.yahoo.com (web121405.mail.ne1.yahoo.com [98.138.90.99]) by mx1.freebsd.org (Postfix) with SMTP id B141B8FC17 for ; Sun, 12 Dec 2010 15:21:03 +0000 (UTC) Received: (qmail 18583 invoked by uid 60001); 12 Dec 2010 15:21:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1292167263; bh=Nnrsw0Ssy18achidDR8tsd4TGmqlIufyM9yczkzITXI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=aP9Q+kshvdGSIA7cwdoMBGTIVIIeObdvDuyCxPMZItONagDwNieEM2Zh9KEOLqoX5vwl+WUyLW86bKcUPzLBYVqFnTeeZvY6qrQPw/Zm6M5lIqfgWreLrzohLa/t7yKMNisUisx16DD8aILz8yLK0eABfn7Xty8yezGcTptPG9A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=4d8i/1u82d4VWOqcidTnIjEmBfbnaIj0tyf9tYtveXD7jFpzuBw38bsJBwhxIgR0o3fzg+5YELLVgHQuD/8b+lWn8ZtQpPzjEUGXoeltBmunV0ZXDOpEuwGDdBASt2WJIO2mqZB5z0qHbydI3A4JYdQ1XBrM5hZ/PY/YGjHgzwU=; Message-ID: <120051.16937.qm@web121405.mail.ne1.yahoo.com> X-YMail-OSG: pl0OD2kVM1mL6X3UQz6oWvWKnqMgX9Ht3p2mbs0VcA7VqUs BPBYpgnkuj9yser7u75VWDG3rGycZlpfIJFkdT4CB8uTpwftpWMmwW0GFMC4 vYGLS_SXx2wpWrE9lJ5UAonZYiaMxMW8j.OG_lbciMW72VnFIcLteL1.Lz9z jIN3YSG0Ca0QWgEgvbzB6.nxDy87jIRvCrUmxrQl_pHwUqfVsKXOp._m.gkR l3EdIuPf9lDSS9gq_1LCL Received: from [178.164.166.61] by web121405.mail.ne1.yahoo.com via HTTP; Sun, 12 Dec 2010 07:21:03 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Sun, 12 Dec 2010 07:21:03 -0800 (PST) From: S Mathias To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 12 Dec 2010 16:23:15 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: openssl chat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2010 15:21:04 -0000 i can use "natively" openssl for anonymous chat: # Chat: # server side: openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out mycert.pem # server side - generate a self-signed cert. openssl s_server -accept 52310 -cert mycert.pem # client side - "127.0.0.1" is the IP of the server openssl s_client -connect 127.0.0.1:52310 1) but how can i set it to require username/password? it would be a great chat tool 2) how can i transfer files with openssl? [again: with username/password?] thank you for any ideas :\ p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? those, who are only allowed to connect..