Share

IP traffic volume logger

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Custom Accounting rules

You are viewing a single message from this topic. View all messages.

  1. 2007-11-25 12:25:04 UTC
    Hi,

    I want to have accounting rules to count the traffic on my IMAP Server which runs on the firewall and is accessed
    from both sides! Internet and Local LAN
    iptables -Lv tells mi this...

    Chain INPUT (policy DROP 151K packets, 7429K bytes)
    1481K 236M ACC-IMAP all -- any any anywhere anywhere

    Chain OUTPUT (policy DROP 0 packets, 0 bytes)
    2063K 2146M ACC-IMAP all -- any any anywhere anywhere

    Chain ACC-IMAP (2 references)
    pkts bytes target prot opt in out source destination
    76 6876 tcp -- any any anywhere anywhere tcp dpt:imap
    89 73323 tcp -- any any anywhere anywhere tcp spt:imap
    0 0 tcp -- any any anywhere anywhere tcp dpt:imaps
    0 0 tcp -- any any anywhere anywhere tcp spt:imaps


    Looks right to me ??
    But the counters listet by iptrafvol are still 0
    Where's my mistake ?
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.