From owner-freebsd-ports@FreeBSD.ORG Thu Mar 29 14:45:40 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE07F1065673 for ; Thu, 29 Mar 2012 14:45:40 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) by mx1.freebsd.org (Postfix) with ESMTP id 838FE8FC12 for ; Thu, 29 Mar 2012 14:45:40 +0000 (UTC) Received: by qafi31 with SMTP id i31so469999qaf.15 for ; Thu, 29 Mar 2012 07:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=aRcsTExDX1dzIy/kBQbcht1pGnUvEdwEGADwS2qejKI=; b=JKLplDga+yh4h/IYnA40Y/ZD9fZz5rRR7LERq6QGJBMNZeUHkYSHmLm1/RzGSRhOZc eTm2U1//c0ZvxNBNyOk26rQlJOO+Hfyzmw+aXkHYhmg6FwW57WB88UKPeS8kszmVY8XJ The0Wv9L/x8PbXkOxLiwwuAc5G/R5IWgDbOa/SjUjNQRnCFoLhp/awh9EtDqlPppZG/x dXrrD5oYKP96qBetIM6WPdmmFC8x9XmQ/ysmPjpos2ToXiVRjJSIFPKTnYeHqQgLM2uU VOhv8gwNxQpJj8GrD4d6+w1ZRv7whe8gStoQrGX4KwjFvZ1OSG1d/e1aBFFAh5VIhEqX w0Hg== MIME-Version: 1.0 Received: by 10.224.180.1 with SMTP id bs1mr627994qab.2.1333032331703; Thu, 29 Mar 2012 07:45:31 -0700 (PDT) Received: by 10.229.187.130 with HTTP; Thu, 29 Mar 2012 07:45:31 -0700 (PDT) Date: Thu, 29 Mar 2012 15:45:31 +0100 Message-ID: From: Kaya Saman To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: jabberd port doesn't come with any certificates and is not allowing authorization? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2012 14:45:40 -0000 Hi, I've recently built the jabberd port and upgraded to the latest version: 2.x I'm having major problems in configuring it though and was wondering if someone could either give me a hand or help me generate certificates for it which are mentioned in the config file but not within the /usr/local/etc/jabberd directory. I'm experiencing this issue: Mar 29 16:33:48 JABBER jabberd/c2s[1498]: [8] [10.0.0.10, port=59032] connect Mar 29 16:33:48 JABBER jabberd/c2s[1498]: [8] got pre STARTTLS packet, dropping Mar 29 16:33:48 JABBER jabberd/c2s[1498]: [8] [10.0.0.10, port=59032] disconnect jid=unbound, packets: 1 This is my realm information: jabber.com jabber.com may publicly exist however, this is a trial done in Vbox and totally offline just so I can understand the necessary mechanisms involved as to learn how the jabberd server functions! I'm using Pidgin as the IM client who is configured like: Username: user Domain: jabber.com Password: Local Alias: user_alias Use encrypted connections if available Allow plaintext auth over unencrypted streams Connect server: srv.jabber.com On the client I keep getting: "Policy Violation" error. It's really weird but there seems to be a lack of documentation as I managed to find the stuff for jabberd version 1.4, for version 2.x I've followed some URL's: http://www.jms1.net/jabberd2/ http://www.indiangnu.org/2009/how-to-configure-jabber-jabberd2-with-mysqlpam-as-auth-database/ http://bionicraptor.co/2011/07/25/how-to-encrypt-jabberd2-communications/ http://bionicraptor.co/2011/05/20/how-to-install-and-configure-japperd2-with-mysql/ But still nothing is working, I believe it's to do with the security as in using encrypted or unencrypted connections but I can't be certain... there doesn't seem to be any mysql DB creation script either that I could find?? Is there a fix or am I stuck?? Regards, Kaya