Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
AUTHORS | H A D | 22-Apr-2007 | 524 | 21 | 15 | |
BUGS | H A D | 22-Apr-2007 | 1.3 KiB | 32 | 27 | |
COPYING | H A D | 22-Apr-2007 | 1.4 KiB | 28 | 27 | |
ChangeLog | H A D | 22-Apr-2007 | 8.6 KiB | 318 | 207 | |
FAQ | H A D | 22-Apr-2007 | 1.8 KiB | 36 | 30 | |
INSTALL | H A D | 22-Apr-2007 | 1.2 KiB | 45 | 33 | |
Makefile | H A D | 22-Apr-2007 | 48 | 5 | 3 | |
Makefile.in | H A D | 03-May-2022 | 3.7 KiB | 148 | 116 | |
README | H A D | 22-Apr-2007 | 1.6 KiB | 46 | 31 | |
TODO | H A D | 22-Apr-2007 | 0 | |||
cfg.y | H A D | 22-Apr-2007 | 9.2 KiB | 475 | 430 | |
cfglex.c | H A D | 22-Apr-2007 | 60.9 KiB | 2,301 | 1,724 | |
cfglex.l | H A D | 22-Apr-2007 | 3.4 KiB | 181 | 151 | |
cfgread.c | H A D | 22-Apr-2007 | 2 KiB | 70 | 29 | |
cfgvar.c | H A D | 22-Apr-2007 | 7.7 KiB | 352 | 239 | |
cfgvar.h | H A D | 22-Apr-2007 | 3.3 KiB | 115 | 44 | |
cfgy.c | H A D | 22-Apr-2007 | 41.6 KiB | 1,572 | 1,287 | |
cfgy.h | H A D | 22-Apr-2007 | 1.2 KiB | 67 | 64 | |
cfgy.y | H A D | 22-Apr-2007 | 0 | 1 | 0 | |
config.h.in | H A D | 22-Apr-2007 | 6.5 KiB | 236 | 159 | |
configure | H A D | 03-May-2022 | 263.8 KiB | 9,183 | 7,961 | |
configure.in | H A D | 22-Apr-2007 | 7.3 KiB | 343 | 310 | |
cshell.y | H A D | 22-Apr-2007 | 1.4 KiB | 88 | 60 | |
cshelly.c | H A D | 22-Apr-2007 | 32.3 KiB | 1,303 | 843 | |
cshelly.h | H A D | 22-Apr-2007 | 2.3 KiB | 91 | 52 | |
cslex.c | H A D | 22-Apr-2007 | 39.7 KiB | 1,676 | 1,143 | |
cslex.l | H A D | 22-Apr-2007 | 859 | 56 | 41 | |
csparse.c | H A D | 22-Apr-2007 | 1.7 KiB | 57 | 18 | |
csparse.h | H A D | 22-Apr-2007 | 2.2 KiB | 58 | 17 | |
disp.c | H A D | 22-Apr-2007 | 7.8 KiB | 323 | 232 | |
disp.h | H A D | 22-Apr-2007 | 699 | 34 | 18 | |
dump.c | H A D | 22-Apr-2007 | 3.6 KiB | 136 | 81 | |
genhash.c | H A D | 22-Apr-2007 | 19.2 KiB | 812 | 532 | |
genhash.h | H A D | 22-Apr-2007 | 8 KiB | 231 | 44 | |
headers.h | H A D | 22-Apr-2007 | 5.4 KiB | 259 | 173 | |
ifs_list.c | H A D | 22-Apr-2007 | 1.3 KiB | 82 | 65 | |
ifs_list.h | H A D | 22-Apr-2007 | 132 | 9 | 5 | |
ifst_bsd.c | H A D | 22-Apr-2007 | 10.9 KiB | 430 | 283 | |
ifst_linux.c | H A D | 22-Apr-2007 | 11.4 KiB | 526 | 386 | |
ifst_unk.c | H A D | 22-Apr-2007 | 1.6 KiB | 52 | 15 | |
import.c | H A D | 22-Apr-2007 | 6 KiB | 245 | 175 | |
install-sh | H A D | 22-Apr-2007 | 5.5 KiB | 252 | 153 | |
ipcad.8 | H A D | 22-Apr-2007 | 2.1 KiB | 83 | 82 | |
ipcad.conf.5 | H A D | 22-Apr-2007 | 6.9 KiB | 244 | 243 | |
ipcad.conf.default | H A D | 22-Apr-2007 | 8.2 KiB | 261 | 223 | |
ipcad.conf.simple | H A D | 22-Apr-2007 | 1.3 KiB | 39 | 30 | |
ipcad.h | H A D | 22-Apr-2007 | 2.7 KiB | 78 | 36 | |
ipcad.spec.in | H A D | 22-Apr-2007 | 2 KiB | 76 | 58 | |
loop-bpf.c | H A D | 22-Apr-2007 | 3.1 KiB | 118 | 63 | |
loop-divert.c | H A D | 22-Apr-2007 | 2.9 KiB | 115 | 55 | |
loop-dynamic.c | H A D | 22-Apr-2007 | 4.2 KiB | 171 | 108 | |
loop-file.c | H A D | 22-Apr-2007 | 2 KiB | 57 | 22 | |
loop-ipq.c | H A D | 22-Apr-2007 | 3.6 KiB | 141 | 88 | |
loop-pcap.c | H A D | 22-Apr-2007 | 2.4 KiB | 84 | 41 | |
loop-ulog.c | H A D | 22-Apr-2007 | 3.4 KiB | 133 | 71 | |
main.c | H A D | 22-Apr-2007 | 9.7 KiB | 453 | 275 | |
nflow.c | H A D | 22-Apr-2007 | 8.1 KiB | 299 | 182 | |
nflow.h | H A D | 22-Apr-2007 | 5.4 KiB | 131 | 80 | |
opt.c | H A D | 22-Apr-2007 | 2.5 KiB | 79 | 33 | |
opt.h | H A D | 22-Apr-2007 | 1.8 KiB | 47 | 13 | |
pidfile.c | H A D | 22-Apr-2007 | 2.8 KiB | 168 | 126 | |
pidfile.h | H A D | 22-Apr-2007 | 166 | 8 | 5 | |
pps.c | H A D | 22-Apr-2007 | 3.8 KiB | 171 | 93 | |
process.c | H A D | 22-Apr-2007 | 7.7 KiB | 292 | 193 | |
psrc-bpf.c | H A D | 22-Apr-2007 | 9.7 KiB | 447 | 326 | |
psrc-bpf.h | H A D | 22-Apr-2007 | 215 | 11 | 6 | |
psrc-divert.c | H A D | 22-Apr-2007 | 3 KiB | 111 | 57 | |
psrc-divert.h | H A D | 22-Apr-2007 | 217 | 11 | 6 | |
psrc-dynamic.c | H A D | 22-Apr-2007 | 2.3 KiB | 79 | 34 | |
psrc-dynamic.h | H A D | 22-Apr-2007 | 223 | 11 | 6 | |
psrc-file.c | H A D | 22-Apr-2007 | 3.8 KiB | 143 | 88 | |
psrc-file.h | H A D | 22-Apr-2007 | 205 | 11 | 6 | |
psrc-ipq.c | H A D | 22-Apr-2007 | 4 KiB | 152 | 89 | |
psrc-ipq.h | H A D | 22-Apr-2007 | 215 | 11 | 6 | |
psrc-pcap.c | H A D | 22-Apr-2007 | 4.8 KiB | 195 | 131 | |
psrc-pcap.h | H A D | 22-Apr-2007 | 205 | 11 | 6 | |
psrc-ulog.c | H A D | 22-Apr-2007 | 4 KiB | 151 | 84 | |
psrc-ulog.h | H A D | 22-Apr-2007 | 221 | 11 | 6 | |
psrc.c | H A D | 22-Apr-2007 | 6.8 KiB | 271 | 201 | |
psrc.h | H A D | 22-Apr-2007 | 4.5 KiB | 157 | 94 | |
rsh.c | H A D | 22-Apr-2007 | 5.3 KiB | 227 | 135 | |
rsh.h | H A D | 22-Apr-2007 | 1.5 KiB | 36 | 4 | |
rshp.c | H A D | 22-Apr-2007 | 6.9 KiB | 334 | 227 | |
rw.c | H A D | 22-Apr-2007 | 2.5 KiB | 109 | 59 | |
rw.h | H A D | 22-Apr-2007 | 1.8 KiB | 46 | 11 | |
servers.c | H A D | 22-Apr-2007 | 3.8 KiB | 171 | 92 | |
servers.h | H A D | 22-Apr-2007 | 2.2 KiB | 62 | 21 | |
service.c | H A D | 22-Apr-2007 | 2.1 KiB | 76 | 33 | |
service.h | H A D | 22-Apr-2007 | 1.5 KiB | 36 | 5 | |
sf_lite.c | H A D | 22-Apr-2007 | 11.6 KiB | 541 | 320 | |
sf_lite.h | H A D | 22-Apr-2007 | 2.6 KiB | 70 | 20 | |
storage.c | H A D | 22-Apr-2007 | 9.6 KiB | 431 | 264 | |
storage.h | H A D | 22-Apr-2007 | 5 KiB | 167 | 60 | |
usage.c | H A D | 22-Apr-2007 | 2.6 KiB | 84 | 46 | |
wrap_oclose.c | H A D | 22-Apr-2007 | 2.6 KiB | 110 | 81 | |
wrap_oclose.h | H A D | 22-Apr-2007 | 123 | 7 | 4 |
README
1$Revision: 1.19 $ 2 3 ipcad - IP accounting daemon README 4 5 6OVERVIEW: 7 8 IPCAD stands for IP Cisco Accounting Daemon. It runs in background and 9listens traffic on specified interfaces. ipcad uses raw BPF devices 10(/dev/bpf*), PCAP library (pcap(3)), Linux iptables' ULOG (>=2.4.18-pre8) 11and IPQ (libipq(3)), BSD divert(4) and tee packet sources. 12 13 IPCAD exports the collected information via rsh or NetFlow protocols. 14Alternatively, a table can be dumped into the specified file, or printed 15to the standard output or console upon receiving a SIGINT signal (Ctrl+C). 16 17 Configurable features are explained in the sample ipcad.conf 18and the corresponding ipcad.conf(5) manual page. 19 20 21ACCOUNTING DATA EXPORT: 22 23 There are three methods of accessing the collected data. 24 25 * Interactive 26The accounting tables are printed upon receiving the SIGINT signal. 27The statistics table, compatible with Cisco "show ip accounting" format, 28will be displayed on console. If ipcad is not in the daemon mode (-d), 29you can just press Ctrl+C to see the table (and Ctrl+\ to kill ipcad). 30 31 * RSH export 32The ipcad also has a built-in rsh server. RSH behavior is fully compatible 33with the standard rsh protocol (rshd(8)), with exception that it NEVER 34checks the /etc/hosts.allow or .rhosts. 35Please see an ipcad(8) manual page for the list of supported RSH commands. 36 37 * NetFlow export 38The ipcad can export the accounting flow using the NetFlow format, 39i.e. series of UDP packets which contain the aggregated information. 40Please see an ipcad.conf(5) manual page for NetFlow configuration options. 41 42 43-- 44Lev Walkin 45vlm@lionet.info 46