On Fri, Dec 22, 2006 at 11:24:10AM +0900, Glenn M. Keeni wrote:
- How do I find out which encapsulations are supported (plain, beep,
tls, ...)?
That is the problem we are trying to solve.
Can that be done by defining appropriate domains for
syslog transport over TLS
syslog transport over beep etc. ?
Option a):
You use a four tuple consisting of:
(InetAddressType, InetAddress, InetPortNumer, SyslogEncapsulation)
Option b):
You use a three tuple consisting of:
(TransportAddressType, TransportAddress, SyslogEncapsulation)
In both cases, you need to define a TC SyslogEncapsulation which
enumerates the syslog encapsulations (or transport mappings) such as {
other(0), plain(1), tls(2), beep(3), ... }.
InetAddress identifies Internet network layer endpoints while
TransportAddress identifies Internet transport layer endpoints, no
more no less. If you want to move to a two tuple, the only option in
principle is:
Option c):
You use a two tuple consisting of
(SyslogAddressType, SyslogAddress)
where SyslogAddressType combines the address type with the
encapsulation (this is essentially what a TDomain does for SNMP)
/js