IPFW and ipa

2010-08-26 Thread Grant Peel

Hi all,

Since FreeBSD 4.4, I have been using ipa(1.3.6) to do bandwidth accounting.

Since upgrading to FreeBSD 8, I now get log messages saying that the ipfw 
rules do not exist:


Example (one example of hundreds doing the same thing):

Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.0 doesn't 
exist in IPFW kernel table
Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.1 doesn't 
exist in IPFW kernel table


The ipfw rule does exist:

#ipfw -a list
10017   4826   4903117 count ip from nnn.nnn.nnn.nnn to any via bge0
10017   4233655962 count ip from any to nnn.nnn.nnn.nnn via bge0

The /usr/local/etc/ipa.conf rule looks like so:

rule rulename.ipa {
ipfw = 10017 10017.1
info = rulename bandwidth
    }

The ipa database is empty:

constellation# ipastat -r rulename.ipa
+-+---+-+-+
| Rule| Info  | From| To 
|

+-+---+-+-+
| rulename.ipa| rulename bandwidth| 2010.08.01/00:00:00 | 
2010.08.31/24:00:00 |

+-+---+-+-+

++---++
| Date   | Bytes | Mbytes |
++---++
| 2010.08.01 | 0 |  0 |
| 2010.08.02 | 0 |  0 |
| 2010.08.03 | 0 |  0 |
| 2010.08.04 | 0 |  0 |
| 2010.08.05 | 0 |  0 |
| 2010.08.06 | 0 |  0 |
| 2010.08.07 | 0 |  0 |
| 2010.08.08 | 0 |  0 |
| 2010.08.09 | 0 |  0 |
| 2010.08.10 | 0 |  0 |
| 2010.08.11 | 0 |  0 |
| 2010.08.12 | 0 |  0 |
| 2010.08.13 | 0 |  0 |
| 2010.08.14 | 0 |  0 |
| 2010.08.15 | 0 |  0 |
| 2010.08.16 | 0 |  0 |
| 2010.08.17 | 0 |  0 |
| 2010.08.18 | 0 |  0 |
| 2010.08.19 | 0 |  0 |
| 2010.08.20 | 0 |  0 |
| 2010.08.21 | 0 |  0 |
| 2010.08.22 | 0 |  0 |
| 2010.08.23 | 0 |  0 |
| 2010.08.24 | 0 |  0 |
| 2010.08.25 | 0 |  0 |
| 2010.08.26 | 0 |  0 |
++---++
|| 0 |  0 |
++---++
* 26 days *


Has something changed in ipfw that no longer allows the .0 and .1 part? Does 
anyone know of a fix or workaround?


-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ipfw - ipa

2006-03-25 Thread Grant Peel

Hi all,

I use IPFW and IPA to do IP accounting on all my systems.

I was wondering if anyone has any opinions on how often the rules, or just 
the bytecounters should be zero'd/flushed when using ipfw?


My rulesets consists of anywhere between 100-300 rules, most consisting of 
counters (used by ipa).


-Grant. 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPA fails to run on 6.0

2005-12-08 Thread Odhiambo Washington

Hello pple,

For a long time I have been running IP (sysutils/ipa) on 5.x through
to 5.4. Then I decided to update the PC to 6.0-STABLE via cvsup.
I rebuilt all ports (portupgrade -af). However, IPA simply refuses to
run now. I have checked almost everything about rebuilding the port.

-bash-2.05b$ sudo ipa -d
Password:
ipa[7125]: 
ipa[7125]: IPA: version 1.3.6 started by UID 0 GID 0
ipa[7125]: current umask is 0227
ipa[7125]: use configuration file /usr/local/etc/ipa.conf, parsing...
ipa[7125]: file /usr/local/etc/ipa.conf is readable by group and/or other users
ipa[7125]: loaded 3 accounting rules
ipa[7125]: init IP Filter support
ipa[7125]: make IP accounting...
ipa[7125]: kipfil_read_table: ioctl(SIOCGETFS): Invalid argument
ipa[7125]: cannot make IP accounting
ipa[7125]: abnormal termination

#-bash-2.05b$ sudo ipa -v
IPA, version 1.3.6 (FreeBSD/i386 6.0-STABLE)

I have been using IPA with IPFilter.

I have googled and found no solution.

Thanks for any insights.



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
... A booming voice says, "Wrong, cretin!", and you notice that you
have turned into a pile of dust.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPA

2004-03-09 Thread Hugo (6s-gaming.com)
Could someone give me links or a working cfg for IPA system?

Thanks in advance.


-- 
http://www.6s-gaming.com - your online store!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"