.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DJabberd::Component::External 3" .TH DJabberd::Component::External 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME DJabberd::Component::External \- Interface to external plugins implementing JEP\-0114 .SH DESCRIPTION .IX Header "DESCRIPTION" This component provides support for connecting external components that support the Jabber Component Protocol specified in JEP\-0114. Specify the TCP port that the external component will connect on and the secret it will use to authenticate. These should match the equivalent settings in the component's own configuration. .PP You can also specify a ListenAddr option, which specifies the IP address of the interface to listen on. By default, we only listen on the loopback address, 127.0.0.1. Alternatively, you can give a UNIX domain socket (an absolute path beginning with a slash) and leave out the ListenPort setting to await a connection on a UNIX domain socket. Most components do not support UNIX domain sockets, however. .PP Please note that this component only implements the "accept" variation of the protocol, where DJabberd opens a listen socket and waits for the component to connect. The "connect" variation, where the component waits for DJabberd to connect to it, is not supported. .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 4 \& \& ListenPort 23534 \& Secret somesecret \& .Ve .SH LICENCE .IX Header "LICENCE" Copyright 2006 Martin Atkins and Six Apart .PP This library is part of the Jabber server DJabberd. It can be modified and distributed under the same terms as DJabberd itself.