Help with ipac-1.10 - IP Accounting Software for Linux

Help with ipac-1.10 - IP Accounting Software for Linux

Post by Craig Jackso » Wed, 14 Feb 2001 19:48:56



I have been using ipac-1.10 for months now, and it works great. I installed
it on my Linux masquerading router and am getting reliable dl/ul statistics
for each box
attached to the router via my hub.

But the only problem I have is that I can't get ipac-1.10 to generate stats
for
the router itself. I can surf from the router and get mail etc, so it does
generate usage.
The rules are specified in the /etc/ipac.conf file, and are ok for every box
except the
router itself. I know I am doing something wrong in the ipac.conf file, but
can't work out what!

Can someone help me?

My Linux masquerading router has two network cards (10.0.0.6 attached to my
local network via a hub, and 10.0.0.15 attached to my ADSL modem). An
excerpt of my ipac.conf file follows (the router is called "webserver" in
the description field):

all incoming|in|ppp0|all||
all outgoing|out|ppp0|all||
webserver incoming|out|ppp0|all||10.0.0.15   <--- PROBLEM CHILD 1
webserver outgoing|in|ppp0|all|10.0.0.15|     <--- PROBLEM CHILD 2
win2k incoming|out|eth0|all|! 10.0.0.6|10.0.0.7
win2k outgoing|in|eth0|all|10.0.0.7|! 10.0.0.6
ditasari incoming|out|eth0|all|! 10.0.0.6|10.0.0.8
ditasari outgoing|in|eth0|all|10.0.0.8|! 10.0.0.6
laptop incoming|out|eth0|all|! 10.0.0.6|10.0.0.11
laptop outgoing|in|eth0|all|10.0.0.11|! 10.0.0.6
felafel incoming|in|ppp0|all||10.0.0.6
felafel outgoing|out|ppp0|all|10.0.0.6|

The router is a Pentium I / Redhat 7 box.

I have scoured the newsgroups, ipac doco and ipac website, but to no avail.
Any help appreciated.

Thanks in advance.

Cheers,
Craig Jackson
Sydney Australia

 
 
 

1. ip accounting with ipac

I am running a linux box as a firewall on cable for a home lan.

I have installed ipac to account for my traffic in/out of the firewall
as I am no a volume plan

I have ipac installed but the dir  /proc/net/ip_acct dose not exist.

Soooo I went to Configure the Kernel for IP Accounting.

The how-to will tell you to:

Networking options  --->
        [*] Network firewalls
        [*] TCP/IP networking
         ...
        [*] IP: accounting

Now this is fine but using "make config" or "make menuconfig" I am not
given
the option for "[*] IP: accounting". I have tryed linux-2.2.14 and
linux-2.2.16

any ideas? I am running inux-2.2.16

Thanks


2. Domain weirdness?

3. help! any accounting software for linux???

4. window managers

5. Problems with Ethernet and X on a Mac

6. Where: IP-filter router, accounting software

7. G550 Dual Head DVI

8. IP accounting software needed

9. L 10 10 10 10...

10. X-10 Home Automation software for Linux

11. Software to turn a shell account into a PPP/SLIP account

12. LinkSys 10/100 Eterfast won't take IP address -Help!