| 1 |
.\" |
| 2 |
.\" Argus-5.0 Software |
| 3 |
.\" Copyright (c) 2000-2024 QoSient, LLC |
| 4 |
.\" All rights reserved. |
| 5 |
.\" |
| 6 |
.\" |
| 7 |
.TH RAFILTERADDR 1 "12 August 2023" "rafilteraddr 5.0.3" |
| 8 |
.SH NAME |
| 9 |
\fBrafilteraddr\fP \- select \fBargus(8)\fP data based on an IANA IP address file. |
| 10 |
.SH SYNOPSIS |
| 11 |
.B rafilteraddr |
| 12 |
\fB[\-f\fP \fIaddress.file\fP [\fB [\-v] [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP] |
| 13 |
.SH DESCRIPTION |
| 14 |
.IX "rafilteraddr command" "" "\fBrafilteraddr\fP \(em argus data" |
| 15 |
.LP |
| 16 |
\fBRafilteraddr\fP reads |
| 17 |
.BR argus |
| 18 |
data from an \fIargus-data\fP source, and selects records that include IP addresses |
| 19 |
specified by the \fBaddress.spec\fP file. This program provides high performance |
| 20 |
address matching for any number of addresses. |
| 21 |
|
| 22 |
.SH RAFILTERADDR ADDRESS SPECIFICATION |
| 23 |
Rafilteraddr, reads a number of standard IANA IP address file formats that |
| 24 |
specify IPv4, CIDR and IPV4 prefix addresses. Examples of these file types |
| 25 |
are provided in ./support/Config. |
| 26 |
|
| 27 |
\fBrafilteraddr(1)\fP specific options are: |
| 28 |
.TP 4 4 |
| 29 |
.B \-f <IPv4 address specification>> |
| 30 |
Specify the list of addresses used for the address filter. This file can be in |
| 31 |
several IANA based address specification formats, and is the same format as |
| 32 |
the address labels for \fBralabel.1\fP. |
| 33 |
|
| 34 |
.TP 4 4 |
| 35 |
.BI \-v |
| 36 |
Invert the logic and print flows that don't match any of the addresses. |
| 37 |
|
| 38 |
.SH INVOCATION |
| 39 |
This invocation reads \fBargus(8)\fP data from \fBargusfile\fP and prints |
| 40 |
records that match any of the IP addresses in the iana-ipv4-addresses. |
| 41 |
.nf |
| 42 |
|
| 43 |
\fBrafilteraddr\fP -r argusfile -f iana-ipv4-addresses -- ip |
| 44 |
|
| 45 |
.fi |
| 46 |
|
| 47 |
An example address specification that describes a mix of CIDR addresses, |
| 48 |
IPv4 address ranges and explicit addresses: |
| 49 |
.nf |
| 50 |
|
| 51 |
192.168.0.0/24 |
| 52 |
192.168.1.3-192.168.2.45 |
| 53 |
207.237.36.98 |
| 54 |
.fi |
| 55 |
|
| 56 |
.SH COPYRIGHT |
| 57 |
Copyright (c) 2000-2024 QoSient. All rights reserved. |
| 58 |
|
| 59 |
.SH SEE ALSO |
| 60 |
.BR ralabel.conf.5, |
| 61 |
.BR ra(1), |
| 62 |
.BR rarc(5), |
| 63 |
.BR argus(8), |
| 64 |
|
| 65 |
.SH AUTHORS |
| 66 |
.nf |
| 67 |
Carter Bullard ([email protected]). |
| 68 |
.fi |