IPACCT under OpenBSD

IPACCT under OpenBSD

Post by Siegbert Marschal » Tue, 18 Jul 2000 04:00:00



Hi,

I have ipacct running on an OpenBSD-Machine to do my accounting
xl0 192.168.2.1/24

xl1 192.168.1.3/24

accounting is perfomed on xl1 192.168.1.3/24

count in on xl1 from any to 192.168.1.2
count out on xl1 from 192.168.1.2 to any

count in on xl1 from any to 192.168.2.34
count out on xl1 from 192.168.2.34 to any

accounting works fine for packets witch get routed through the machine but
doesn't work for packets which just appear on xl1.

192.168.1.1 -> 192.168.2.34 counted
192.168.1.1 -> 192.168.1.2 not counted

Is there a parameter I have to set or something like that? Putting xl1
into promiscuous mode didn't help.

Thanks, Siggi.

 
 
 

1. IPACCT disappeared ??

What happend with IPACCT facility in 2.1.5-RELEASE ??? This option disappeared
from LINT (which is supposed to have all possible options). I grepped
sources and could not find any of #ifdef containing IPACCT.

Is it a part of IPFIREWALL now ??? CAn anyone comment this ??? On 2.1 box
it worked just fine! (I disabled IPFIREWALL and set IPACCT wchich is ignored
) If I want to use just accounting features, do I have to turn firewall ON ?

If it changed in some way please change manuals wchich points to IPACCT
definiction in kernel configuration file: ipacct(4).

Greets
J.Bazydlo
--
     _       ____       ____  
    | | __ _|  _ \ __ _/ ___|        POLISH PRESS AGENCY - Warsaw

| |_| | Jaroslaw Bazydlo __) | irc: McJARAS ...... on: #Polska #Gandalf
 \___/ \__,_|_| \_\__,_|____/. home-page: http://www.pap.waw.pl/~jarekb

2. BOOTP and TFTP Server

3. IPACCT in C

4. Expert advice needed

5. HELP:Is there a new version of ipacct?

6. pppd error:

7. Ipacct v0.7 - Per user ip accounting and quota

8. DOSEMU

9. CFV: comp.unix.bsd.openbsd.announce,comp.unix.bsd.openbsd.misc

10. openbsd 2.7 cdrom layout, making an openbsd cd

11. CFV: comp.unix.bsd.openbsd.announce, comp.unix.bsd.openbsd.misc

12. perl won't compile on OpenBSD-2.9 and OpenBSD-2.9-stable.

13. ex0 hangs OpenBSD 2.8 as well as OpenBSD 2.7 (pretty long)