Hello,

I have a rsyslog server and I use gtls (Debian GNU/Linux 5.0 / rsyslog 
3.18.6-4). I have no
problem with a client with Ubuntu 9.04 and rsyslog 3.18.6-3, but I have some 
troubles with
the same configuration on a client with Ubuntu 9.10 / rsyslog 4.2.0-2. With 
this client, I
obtain on the server this line (bkpasi is the name of my client):

Dec  2 10:38:12 bkpasi 
#026#003#002#000C#001#000#000?#003#002K#0265����6�4*�*^洺��tN/)
�dy�9�#000#000#030#0003#0009#000#026#0002#0008#000#023#000f#000/#0005

It seems to be a SSL problem, but this config works well with rsyslog v3 client.

Are they a problem between v3 and v4 ? Maybe a problem with the ubuntu package ?
What do you think ?

Client with problem: Ubuntu 9.10 / rsyslog 4.2.0-2 (package rsyslog and 
rsyslog-gnutls)
Client ok: Ubuntu 9.04 / rsyslog 3.18.6-3

Client configuration:
> cat /etc/rsyslog.conf /etc/rsyslog.d/*.conf | egrep -v '^$|^#'
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$IncludeConfig /etc/rsyslog.d/*.conf
*.emerg                         *
$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /root/pki/ca.crt
$ActionSendStreamDriverMode 1
$ActionSendStreamDriverAuthMode anon
*.* @@(o)172.29.0.5:9999

Server: Debian GNU/Linux 5.0 / rsyslog 3.18.6-4

Server configuration:
> cat /etc/rsyslog.conf /etc/rsyslog.d/*.conf | egrep -v '^$|^#'
$ModLoad imuxsock # provides support for local system logging
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$FileOwner root
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$IncludeConfig /etc/rsyslog.d/*.conf
auth,authpriv.*                 /var/log/auth.log
cron.*                          /var/log/cron.log
daemon.*                        -/var/log/daemon.log
kern.*                          -/var/log/kern.log
lpr.*                           -/var/log/lpr.log
mail.*                          -/var/log/mail.log
user.*                          -/var/log/user.log
mail.info                       -/var/log/mail.info
mail.warn                       -/var/log/mail.warn
mail.err                        /var/log/mail.err
news.crit                       /var/log/news/news.crit
news.err                        /var/log/news/news.err
news.notice                     -/var/log/news/news.notice
local1.info                     /var/log/apache2/access.log
local7.*                        /var/log/apache2/error.log
*.emerg                         *
$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /root/pki/ca.crt
$DefaultNetstreamDriverCertFile /root/pki/log.crt
$DefaultNetstreamDriverKeyFile /root/pki/log.key
$ModLoad /usr/lib/rsyslog/imtcp
$InputTCPServerStreamDriverMode 1 # TLS only mode
$InputTCPServerStreamDriverAuthMode anon # client not authenticated
$InputTCPServerRun 9999



Thank you.
-- 
Cordialement,

Sebastien Bonnegent
--
          "GNU/Linux, il y a moins bien mais c'est plus cher."
  -----------------------------------------------------------------------
  | http://www.insa-rouen.fr/ | Tel: 02 32 95 98 61 | GnuPG: 0x669176B0 |
  -----------------------------------------------------------------------
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to