Iptables and logging to the console

From: Robert Spangler (bms_at_zoominternet.net)
Date: 11/29/04

  • Next message: Terry R. Grier: "fedora and iPod"
    To: Fedora <fedora-list@redhat.com>
    Date: Mon, 29 Nov 2004 17:24:51 -0500
    
    

    Hi,

    How can I stop Iptables logging to the console? I don't know where else to
    look. Below are my sysctl.conf and syslog.conf files

    Thanks for your help

    ###########################################
    Here's my sysctl.conf:

    # Kernel sysctl configuration file for Red Hat Linux
    #
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.

    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0

    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1

    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0

    # Controls whether core dumps will append the PID to the core filename.
    # Useful for debugging multi-threaded applications.
    kernel.core_uses_pid = 1

    # Stop logging to the console
    kernel.printk = 3 4 1 7

    ###########################################

    ###########################################
    Here's my syslog.conf:

    # Log all kernel messages to the console.
    # Logging much else clutters up the screen.
    #kern.* /dev/console
    #kern.* /var/log/messages

    # Log anything (except mail) of level info or higher.
    # Don't log private authentication messages!
    *.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages

    # The authpriv file has restricted access.
    authpriv.* /var/log/secure

    # Log all the mail messages in one place.
    mail.* /var/log/maillog

    # Log cron stuff
    cron.* /var/log/cron

    # Everybody gets emergency messages
    #*.emerg *
    *.emerg /var/log/messages

    # Save news errors of level crit and higher in a special file.
    uucp,news.crit /var/log/spooler

    # Save boot messages also to boot.log
    local7.* /var/log/boot.log

    #
    # INN
    #
    news.=crit /var/log/news/news.crit
    news.=err /var/log/news/news.err
    news.notice /var/log/news/news.notice

    ###########################################

    -- 
    Regards
    Robert
    Smile... it increases your face value
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Terry R. Grier: "fedora and iPod"

    Relevant Pages

    • Stop logging to the console
      ... need to stop logging to the console. ... console it makes doing any kind of editing or reading almost impossible. ... # Controls source route verification ... # Controls whether core dumps will append the PID to the core filename. ...
      (Fedora)
    • Re: annoying iptables messages
      ... The Linux kernel default console logging is 8 so that all messages are ...
      (Debian-User)
    • Re: Disappearing files, created from /etc/X11/Xclients
      ... Please include freebsd-questions on any replies. ... Also there is no console because this is the /etcX11/Xclients script, e.g. it is executed by gdm after logging in to X window system through xdmpc. ... If that fails, then try opening the file in the home directory of the user who you are testing as. ...
      (freebsd-questions)
    • Re: ptwilliams?
      ... > reset a secure channel password using RDP!! ... > logging into the console and getting a 'command completed successfully' ... > message, when I tried to open AD tools through Terminal Servcies, I get ...
      (microsoft.public.win2000.active_directory)
    • Re: debugging pppoe
      ... On Monday 11 June 2007 22:54, Michael P. Soulier wrote: ... I turned up the logging and I had to turn it down before it ... The default is ``set log local'' (i.e., ... Something else of possible interest is that ppp, can serve its console ...
      (freebsd-questions)