RE: way to flush /var/log/message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 5/21/2012 12:15 PM, Alan J. Gagne wrote:
>
> You could look at sending iptables messages to /var/log/iptables using 
> rsyslog.
>
> http://blog.shadypixel.com/log-iptables-messages-to-a-separate-file-with-rsyslog/
>
> Alan
>
>

Alan:

Thanks for the reply. I did an initial read of the page and it looks 
interesting. That being said, I'm going to have to take a few more 
passes to make sure I understand it.

If I read correctly, it isn't a replacement for logging to 
/var/log/messages, just a way to filter those logs into another log that 
only gets what I want to see?

You can use it to redirect all iptables messages to a seperate log only.

You may want to look at ulogd in the fedora repo. I have used this in the past
for saving data to mysql.

Alan


Name        : ulogd
Arch        : x86_64
Version     : 1.24
Release     : 15.fc16
Size        : 131 k
Repo        : fedora
Summary     : The userspace logging daemon for netfilter
URL         : http://gnumonks.org/projects
License     : GPLv2
Description : Ulogd is an universal logging daemon for the ULOG target of netfilter, the
            : Linux 2.4+ firewalling subsystem. Ulogd is able to log packets in various
            : formats to different targets (text files, databases, etc..). It has an
            : easy-to-use plugin interface to add new protocols and new output targets.

Name        : ulogd-mysql
Arch        : x86_64
Version     : 1.24
Release     : 15.fc16
Size        : 11 k
Repo        : fedora
Summary     : MySQL output plugin for ulogd
URL         : http://gnumonks.org/projects
License     : GPLv2
Description : Ulogd-mysql is a MySQL output plugin for ulogd. It enables logging of
            : firewall information into a MySQL database.

Name        : ulogd-pcap
Arch        : x86_64
Version     : 1.24
Release     : 15.fc16
Size        : 9.2 k
Repo        : fedora
Summary     : PCAP output plugin for ulogd
URL         : http://gnumonks.org/projects
License     : GPLv2
Description : ulogd-pcap is a output plugin for ulogd that saves packet logs as PCAP file.
            : PCAP is a standard format that can be later analyzed by a lot of tools such as
            : tcpdump and wireshark.

Name        : ulogd-pgsql
Arch        : x86_64
Version     : 1.24
Release     : 15.fc16
Size        : 11 k
Repo        : fedora
Summary     : PostgreSQL output plugin for ulogd
URL         : http://gnumonks.org/projects
License     : GPLv2
Description : Ulogd-pgsql is a PostgreSQL output plugin for ulogd. It enables logging of
            : firewall information into a PostgreSQL database.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux