Bug in isdn_net / isdn_tty writes verbose messages to syslog ?

From: Christian (christian_at_mailproxy.org)
Date: 08/18/04

  • Next message: porko: "g++ Linking with libODBC32.a"
    Date: Wed, 18 Aug 2004 18:11:18 +0200
    
    

    Hi,

    I'm using SuSE Linux 9.0 and isdn4linux.

    A few days ago, I recognized that isdn4linux logs ignored calls to syslog.
    Normally isdnlog is used to configure the log behaviour. It is also against
    any privacy policies to log phonenumbers of other subscribers who use the
    same isdn-bus (and different msn).

    The message looks like:
    "isdn_net: call from 123456 -> 0 1234567 ignored"

    At the beginning I thought the verbose mode is turned on for isdn.
    But it seemed to be switched on only partially, because if one switches on
    verbose mode, it logs much more to syslog.

    After looking at the sources, I found the following condition in isdn_net.c:

        /* If none of configured EAZ/MSN matched and not verbose, be silent */
            if (!ematch || dev->net_verbose)
                    printk(KERN_INFO "isdn_net: call from %s -> %d %s
    ignored\n", nr, di, eaz);

    Apart from the confusing comment, to prevent isdn_net from logging to syslog
    it must be:
        /* If none of configured EAZ/MSN matched and verbose switched on */
        (!ematch && dev->net_verbose)
                    printk(KERN_INFO "isdn_net: call from %s -> %d %s
    ignored\n", nr, di, eaz);

    Is this correct ? Any other ideas ?

    Christian


  • Next message: porko: "g++ Linking with libODBC32.a"

    Relevant Pages

    • RE: audit trails for file access
      ... I actually use NTSyslog to send my logs off to a syslog server, ... On the syslog server side, I use syslog-ng to log to a MySQL database. ... In regards to logging to another machine, use the Eventlog to Syslog ...
      (Focus-Microsoft)
    • Re: Windows event auditing and reporting
      ... Log to Syslog translators and subsequent Syslog reporting tools. ... Once you get your logs into a generally vendor-agnostic format such as ... Event logs, especially DC logs for events such as New user accounts, ... Computer Emergency Response Teams, and Digital Investigations. ...
      (Security-Basics)
    • Re: Cisco ASA Syslog Messages
      ... syslog log files and alert us based on specific queries. ... look for in the logs. ... take a look at some of the PIX syslog tools at ...
      (comp.dcom.sys.cisco)
    • Re: Cisco ASA Syslog Messages
      ... syslog log files and alert us based on specific queries. ... reviewing the documentation regarding the ASA/PIX syslog format and it ... look for in the logs. ...
      (comp.dcom.sys.cisco)
    • Re: Cisco ASA Syslog Messages
      ... syslog log files and alert us based on specific queries. ... reviewing the documentation regarding the ASA/PIX syslog format and it ... look for in the logs. ...
      (comp.dcom.sys.cisco)