Skip Menu |

This queue is for tickets about the Log-Dispatch-Jabber CPAN distribution.

Report information
The Basics
Id: 47188
Status: new
Priority: 0/
Queue: Log-Dispatch-Jabber

People
Owner: Nobody in particular
Requestors: demofreak+cpan [...] demofreak.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: TLS option
To make TLS connections (i.e. for SASL PLAIN auth) apply this diff: --------------------------------------------------------------------- --- Jabber.pm.bak 2009-06-20 17:46:16.000000000 +0200 +++ Jabber.pm 2009-06-20 17:44:13.000000000 +0200 @@ -271,6 +271,7 @@ my $ok = $self->{'__client'}->Connect( hostname => $self->{'__login'}->{'hostname'}, port => $self->{'__login'}->{'port'}, + tls => $self->{'__login'}->{'tls'}, ); if (! $ok) { --------------------------------------------------------------------- and add the tls option to your script like this: login=>{ hostname => "jabber.ccc.de", port => 5222, tls => 1, username => "demofreak", password => "********", resource => "logger", }