[oclug] LOG and 2.4.3
Johnathan Hicks
thetech at folkwolf.net
Fri Apr 13 23:31:08 EDT 2001
Are you talking about kernel logging in general or just netfilter
logging? If it's the latter I think it logs to the console by default,
but otherwise you have to tell it where to log to.
--John
James Leigh wrote:
>
> I have been trying to switch over to 2.4.3 from 2.2.18, but I am having
> trouble getting 2.4.3 to log correctly. basically it does not log anything
> right now and I cannot seem to get it to work.
> I have a custom kernel based on kernel-source-2.4.3_2.4.3-1.deb from
> debian's unstable distro. I added a few things like freeswan and bttv. I
> have build most of netfilter into the kernel as you can see below.
> iptables blocks out the packets correctly, so it must be working. When I
> add iptables -I INPUT -j LOG or other more descriptive commands, nothing
> shows up in any /var/log/* files.
> What do I need to do to get the LOG table working?
>
> james
>
> +++++/usr/src/linux/.config++++++++++
> #
> # IP: Netfilter Configuration
> #
> CONFIG_IP_NF_CONNTRACK=y
> # CONFIG_IP_NF_FTP is not set
> # CONFIG_IP_NF_QUEUE is not set
> CONFIG_IP_NF_IPTABLES=y
> # CONFIG_IP_NF_MATCH_LIMIT is not set
> CONFIG_IP_NF_MATCH_MAC=m
> # CONFIG_IP_NF_MATCH_MARK is not set
> # CONFIG_IP_NF_MATCH_MULTIPORT is not set
> # CONFIG_IP_NF_MATCH_TOS is not set
> # CONFIG_IP_NF_MATCH_TCPMSS is not set
> CONFIG_IP_NF_MATCH_STATE=y
> # CONFIG_IP_NF_MATCH_UNCLEAN is not set
> # CONFIG_IP_NF_MATCH_OWNER is not set
> CONFIG_IP_NF_FILTER=y
> # CONFIG_IP_NF_TARGET_REJECT is not set
> # CONFIG_IP_NF_TARGET_MIRROR is not set
> CONFIG_IP_NF_NAT=y
> CONFIG_IP_NF_NAT_NEEDED=y
> CONFIG_IP_NF_MANGLE=y
> # CONFIG_IP_NF_TARGET_TOS is not set
> # CONFIG_IP_NF_TARGET_MARK is not set
> CONFIG_IP_NF_TARGET_LOG=y
> # CONFIG_IP_NF_TARGET_TCPMSS is not set
> # CONFIG_IPV6 is not set
> # CONFIG_KHTTPD is not set
> # CONFIG_ATM is not set
>
> +++++++++ /etc/syslog.conf++++++++
> #
> # First some standard logfiles. Log by facility.
> #
> auth,authpriv.* /var/log/auth.log
> *.*;auth,authpriv.none -/var/log/syslog
> #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
> uucp.* -/var/log/uucp.log
>
> ------------------------------------------------------------------------
>
> .configName: .config
> Type: unspecified type (application/octet-stream)
More information about the OCLUG
mailing list