IPChains
Prev | Chapter 10. Firewall Supported Log Formats | Next

## IPChains

IPChains will log packets marked for logging through\ syslog (actually the kernel log buffer which is usually sent to syslog). Lire expects the logs in the form of a syslog log file.

Example 10.2. IPChains Log Sample

    Oct 28 04:02:30 firewall kernel: Packet log: output DENY eth0 PROTO=17 \
        10.0.0.1:137 10.0.0.2:137 L=78 S=0x00 I=36930 F=0x0000 T=64 (#7)
    Oct 28 04:07:30 firewall kernel: Packet log: output DENY eth0 PROTO=17 \
        10.0.0.1:137 10.0.0.2:137 L=78 S=0x00 I=37211 F=0x0000 T=64 (#7)
    Oct 28 04:07:40 firewall kernel: Packet log: input DENY eth1 PROTO=17 \
        10.0.0.3:138 10.0.0.4:138 L=256 S=0x00 I=37213 F=0x0000 T=64 (#7)
    Oct 28 04:07:40 firewall kernel: Packet log: input DENY eth1 PROTO=17 \
        10.0.0.3:138 10.0.0.4:138 L=236 S=0x00 I=37214 F=0x0000 T=64 (#7)
    Oct 28 04:08:20 firewall kernel: Packet log: output DENY lo PROTO=17 \
        10.0.0.5:138 10.0.0.2:138 L=256 S=0x00 I=37216 F=0x0000 T=64 (#7)
    Oct 28 04:12:30 firewall kernel: Packet log: output DENY eth0 PROTO=17 \
        10.0.0.1:137 10.0.0.2:137 L=78 S=0x00 I=37255 F=0x0000 T=64 (#7)
    Oct 28 04:17:30 firewall kernel: Packet log: output DENY eth0 PROTO=17 \
        10.0.0.1:137 10.0.0.2:137 L=78 S=0x00 I=37364 F=0x0000 T=64 (#7)
    Oct 28 04:19:40 firewall kernel: Packet log: input DENY eth1 PROTO=17 \
        10.0.0.3:138 10.0.0.4:138 L=256 S=0x00 I=37440 F=0x0000 T=64 (#7)
    Oct 28 04:19:40 firewall kernel: Packet log: input DENY eth1 PROTO=17 \
        10.0.0.3:138 10.0.0.4:138 L=236 S=0x00 I=37441 F=0x0000 T=64 (#7)
    Oct 28 04:20:20 firewall kernel: Packet log: output DENY lo PROTO=17 \
        10.0.0.5:138 10.0.0.2:138 L=256 S=0x00 I=37453 F=0x0000 T=64 (#7)

Prev | Up | Next
Chapter 10. Firewall Supported Log Formats | Home | IP Filter