From f0aab13bb4bf111b3b47f34cb554873e1db1d44d Mon Sep 17 00:00:00 2001 From: zsdc Date: Wed, 18 Dec 2019 23:57:52 +0200 Subject: flow-accounting: T1890: flow-accounting rewritten with Python and XML This patch keep compatibility with old configuration and software, but now it is much easier to add a lot of other useful things Completely replaces vyatta-netflow package (except some outdated and not available via CLI parts) --- interface-definitions/flow-accounting-conf.xml.in | 428 ++++++++++++++++++++++ 1 file changed, 428 insertions(+) create mode 100644 interface-definitions/flow-accounting-conf.xml.in (limited to 'interface-definitions') diff --git a/interface-definitions/flow-accounting-conf.xml.in b/interface-definitions/flow-accounting-conf.xml.in new file mode 100644 index 000000000..6d11c565d --- /dev/null +++ b/interface-definitions/flow-accounting-conf.xml.in @@ -0,0 +1,428 @@ + + + + + + + + Flow accounting settings + 990 + + + + + Buffer size + + 0-4294967295 + Buffer size in MiB + + + + + + + + + Disable in memory table plugin + + + + + + Syslog facility for flow-accounting + + auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all + + + auth + Authentication and authorization + + + authpriv + Non-system authorization + + + cron + Cron daemon + + + daemon + System daemons + + + kern + Kernel + + + lpr + Line printer spooler + + + mail + Mail subsystem + + + mark + Timestamp + + + news + USENET subsystem + + + protocols + Routing protocols (local7) + + + security + Authentication and authorization + + + syslog + Authentication and authorization + + + user + Application processes + + + uucp + UUCP subsystem + + + local0 + Local facility 0 + + + local1 + Local facility 1 + + + local2 + Local facility 2 + + + local3 + Local facility 3 + + + local4 + Local facility 4 + + + local5 + Local facility 5 + + + local6 + Local facility 6 + + + local7 + Local facility 7 + + + all + Authentication and authorization + + + + + + Interface for flow-accounting [REQUIRED] + + + + + + + + + NetFlow settings + + + + + NetFlow engine-id + + 0-255 or 0-255:0-255 + NetFlow engine-id for v5 + + + 0-4294967295 + NetFlow engine-id for v9 / IPFIX + + + ^(\d|[1-9]\d{1,8}|[1-3]\d{9}|4[01]\d{8}|42[0-8]\d{7}|429[0-3]\d{6}|4294[0-8]\d{5}|42949[0-5]\d{4}|429496[0-6]\d{3}|4294967[01]\d{2}|42949672[0-8]\d|429496729[0-5])$|^(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5]):(\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$ + + + + + + NetFlow maximum flows + + 0-4294967295 + NetFlow maximum flows + + + + + + + + + NetFlow sampling-rate + + 0-4294967295 + Sampling rate (1 in N packets) + + + + + + + + + IPv4 or IPv6 source address of NetFlow packets + + ipv4 + IPv4 source address of NetFlow packets + + + ipv6 + IPv6 source address of NetFlow packets + + + + + + + + + + NetFlow version to export + + 5 9 10 + + + 5 + NetFlow version 5 + + + 9 + NetFlow version 9 (default) + + + 10 + IPFIX + + + + + + Server to export NetFlow [REQUIRED] + + ipv4 + IPv4 server to export NetFlow + + + ipv6 + IPv6 server to export NetFlow + + + + + + + + + + NetFlow port number + + 1025-65535 + NetFlow port number (default 2055) + + + + + + + + + + + NetFlow timeout values + + + + + Expiry scan interval + + 0-2147483647 + Expiry scan interval (default 60) + + + + + + + + + Generic flow timeout value + + 0-2147483647 + Generic flow timeout in seconds (default 3600) + + + + + + + + + ICMP timeout value + + 0-2147483647 + ICMP timeout in seconds (default 300) + + + + + + + + + Max active timeout value + + 0-2147483647 + Max active timeout in seconds (default 604800) + + + + + + + + + TCP finish timeout value + + 0-2147483647 + TCP FIN timeout in seconds (default 300) + + + + + + + + + TCP generic timeout value + + 0-2147483647 + TCP generic timeout in seconds (default 3600) + + + + + + + + + TCP reset timeout value + + 0-2147483647 + TCP RST timeout in seconds (default 120) + + + + + + + + + UDP timeout value + + 0-2147483647 + UDP timeout in seconds (default 300) + + + + + + + + + + + + + sFlow settings + + + + + sFlow agent IPv4 address + + auto + auto select sFlow agent-address (default) + + + ipv4 + sFlow IPv4 agent address + + + + ^auto$ + + + + + + sFlow sampling-rate + + 0-4294967295 + Sampling rate (1 in N packets) + + + + + + + + + Server to export sFlow [REQUIRED] + + ipv4 + IPv4 server to export sFlow + + + ipv6 + IPv6 server to export sFlow + + + + + + + + + + sFlow port number + + 1025-65535 + sFlow port number (default 6343) + + + + + + + + + + + + + + + -- cgit v1.2.3