Package: ttyd
Version: 3.3-2
Severity: important
Tags: patch

        Hi,

 The ttyd program will log every character sent to the remote serial
 port in a syslog message.  This renders the daemon quite unusable
 with the default syslog dameon (syslog-ng offers filtering).

 Aug 31 13:40:08 vm-10 ttyd[2843]: ttyd: Have net char 0xa, | |
 Aug 31 13:40:08 vm-10 ttyd[2843]: ttyd: Have net char 0x4f, |O|
 Aug 31 13:40:08 vm-10 ttyd[2843]: ttyd: Have net char 0x4b, |K|
 Aug 31 13:40:08 vm-10 ttyd[2843]: ttyd: Have net char 0xd, |^M|

 It seems this is simply the result of some leftover debugging code, but
 I might have missed a way to override this at build-time or run-time.

 Attached is a patch resetting the debug level in the ttyd daemon.

   Bye,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ttyd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

ttyd recommends no packages.

-- no debconf information

-- 
Loïc Minier <[EMAIL PROTECTED]>
Come, your destiny awaits!
diff -urN termpkg-3.3.orig/termnet/ttyd.c termpkg-3.3/termnet/ttyd.c
--- termpkg-3.3.orig/termnet/ttyd.c     2003-06-06 02:58:45.000000000 +0200
+++ termpkg-3.3/termnet/ttyd.c  2005-08-31 16:18:38.000000000 +0200
@@ -57,7 +57,7 @@
 char *pService = "termnetd";
 char *pHost = "localhost";   
 
-static int dbg = 2;
+static int dbg = 0;
 
 static fd_set ReadFds, ExcpFds;
 

Reply via email to