Tag 'debian/0.12.3+vyatta+1' created by Stig Thormodsrud <[email protected]> at
2010-08-30 22:06 -0700
0.12.3+vyatta+1
Changes since debian/0.12.2+vyatta+2:
Stig Thormodsrud (2):
Merge branch 'upstream' into mendocino
0.12.3+vyatta+1
paolo (39):
* peer_src_ip (IP address/agent ID of the device exporting NetFlow/sFlow
datagrams) and peer_dst_ip (BGP next-hop) can now be filled from NetFlow/ sFlow
protocols data. To activate, nfacctd_as_new/sfacctd_as_new have to be 'false'
(default value), 'true' or 'file'.
* BGP daemon: new bgp_daemon_ipprec feature allows to mark
self-originated BGP messages with the supplied IP precedence value.
* BGP daemon, bgp_daemon_ipprec: SOL_IP moved to IPPROTO_IP for better
portability. Added detection for failure setting IP_TOS socket option.
* nfprobe, sfprobe: introduced support for export of the BGP next-hop
information. Source data selection for BGP next-hop is being linked to
[pmacctd_as|uacctd_as] configuration directive. Hence it must be set to 'bgp'
in order for this feature to work.
* Enhanced 802.1ad pmacctd support. While recursing, outer VLAN is always
reported as value of the 'vlan' primitive. * Fix, pmacctd: 802.1p was kept
integral part of the 'vlan' primitive. Now a 0x0FFF mask is applied in order to
return only the VLAN ID.
* Documentation updated * pgsql_plugin.c, PG_create_dyn_table():
PGRES_TUPLES_OK is now considered valid return code in case a SELECT statement
is involved (ie. as part of a PL/PGSQL function). Thanks very much to Sergio
Charpinel Jr for his support.
* Building sub-system and directory structure preparations for an
upcoming new tee plugin
* fix, ip_frag.c: orphan fragment log messages re-classified as debug. *
fix, pkt_handlers.c: added explicit trailing '\0' symbol when truncating
AS-PATH and BGP community strings due to length constraints.
* Inauguration of tee_plugin()
* tee_plugin: sFlow and NetFlow replication implementation is underway;
tee_receiver, tee_source_ip and tee_transparent features being developed.
* tee_plugin: sFlow and NetFlow replication implementation is underway;
transparent IPv4/IPv6 replication feature added.
* tee_plugin: implementation wrapped-up. Documentation underway.
* fix, sql_common.c: maximum SQL writers warning message was never
reached unless a recovery method is specifited. Thanks to Sergio Charpinel Jr
for reporting the issue. * Documentation
* nfprobe, sfprobe: nfprobe_ipprec and sfprobe_ipprec features introduced
to mark self-originated NetFlow and sFlow datagrams with the supplied IP
precedence value. * nfprobe: removed unused routines and sanitized logging a
bit.
* nfacctd: NetFlow v9, options parsing polish up.
* tee_plugin, fix: internal data structure better 64-bit aligned.
* print_plugin: implemented CSV (comma-separated values) output format,
alongside existing tabular one. Introduced a print_output configuration
directive to select among available output formats.
* MySQL, MY_create_dyn_table(): errno 1050 (ER_TABLE_EXISTS_ERROR) is
being considered valid condition. * Documentation
* Rolled version counters.
* New 'cos' aggregation primitive has been implemented providing support
for 802.1p priority bits. Collection is supported via sFlow, libpcap and ULOG;
export is supported via sFlow. * sfprobe: partial Switch Extension Header
support added. * fix, addr.c: pm_ntohll() and pm_htonll() routines rewritten.
These are aimed to change byte ordering of 64-bit variables. Successfully
tested against NetFlow 64-bit bytes/packet counters.
* nfacctd: maximum NetFlow v9 type lifted to 256. * nfprobe, sfprobe:
send buffer size is now aligned to plugin_pipe_size if any is specified
providing a way to tune it in case of sustained exports.
* BGP daemon: TCP MD5 signature implemented. A new 'bgp_daemon_md5_file'
configuration directive is added for the purpose of defining BGP peers and
their respective MD5 keys, one per line, in CSV format.
* bgp_daemon_md5_file: map made reloadable at runtime. Existing MD5 keys
are removed via setsockopt(), new ones are installed as per the newly supplied
map. * bgp_daemon_md5_file: added sample map, 'examples/bgp_md5.lst.example'.
* BGP daemon: added support for RFC3107, ie. SAFI=4 label information, to
enable receipt of labeled IPv4/IPv6 unicast prefixes. * Documentation updates
* fix, BGP daemon: support for IPv6 global address + link-local address
next-hops as part of MP_REACH_NLRI parsing * Updated documentation
* nfacctd: added support for debugging of NetFlow v9 templates
* fix, nfacctd: when accounting for IPv6 traffic, wrong network mask
fields were grabbed. Field types 29 and 30 are correctly fetched now.
* fix, pmacct.c: in_iface, out_iface aggregation primitives erroneusly
kept within a "#if defined (HAVE_L2)" code section when parsing '-c' option.
* fix, nfacctd: NetFlow v9 template print out for unknown field types
* cfg_handlers.c: bgp_daemon, bgp_daemon_msglog parsing fixed. * SQL
documentation fixes.
* nfprobe, sfprobe: introducing concept of traffic direction. As a
result, [ns]fprobe_direction and [ns]fprobe_ifindex configuration directives
have been implemented. * [ns]fprobe_direction defines traffic direction. Can be
statically defined via 'in' and 'out' keywords. It can also be dynamically
determined via lookup to either 'tag' or 'tag2' values. * [ns]fprobe_ifindex
statically associates an interface index (ifIndex) to a given nfprobe or
sfprobe plugin. * sfprobe: sfprobe_ifspeed configuration directive is
introduced and aimed at statically associating an interface speed to a given
sfprobe plugin.
* [ns]fprobe_ifindex now supports semi-dynamic lookups against either
'tag' or 'tag2'. This is in addition to previously implemented static ifIndex
support. Updated docs and examples.
* fix, sfprobe_plugin.c: counter sample showing wrong ifindex when in
semi- dynamic mode.
* sfprobe: added support for multi-interface Counter Samples
* fix, bgp.c: CPU hog issue was caused by missing cleanup of the select()
descriptors vector. * fix, nfprobe: nfprobe_ifindex value was incorrectly
evaluated * fix, sfprobe: upon introducing support for multi-interfaces, the
linked list of counter samples was found to get corrupted.
* fix, nfprobe: nfprobe_ifindex and nfprobe_direction were not working
with tag/tag2 setup and NetFlow v5 export due to tags suppression. * fix,
sfprobe: sampler process moved into the plugin in order to correctly populate
counter samples.
* Documentation updated
* fix, sfprobe: Counter Samples index was uninitialized
* sfacctd: added support for egress VLAN and CoS (802.1p) information
---
CONFIG-KEYS | 106 ++++++--
ChangeLog | 88 ++++++
EXAMPLES | 44 +++
FAQS | 17 -
TOOLS | 41 +--
configure | 12
configure.in | 10
debian/changelog | 123 +++++++++
docs/INTERNALS | 163 ++++++------
docs/PLUGINS | 65 ++---
docs/SIGNALS | 10
examples/agent_to_peer.map | 9
examples/bgp_md5.lst.example | 8
examples/is_symmetric.map.example | 35 +-
examples/lpref.map.example | 36 +-
examples/med.map.example | 35 +-
examples/peers.map.example | 35 +-
examples/pretag.map.example | 259 ++++++++++++--------
sql/README.cos | 13 +
sql/README.mysql | 58 +++-
sql/README.pgsql | 58 +++-
sql/README.sqlite3 | 58 +++-
src/Makefile.am | 2
src/Makefile.in | 2
src/addr.c | 8
src/bgp/bgp.c | 101 ++++++--
src/bgp/bgp.h | 1
src/bgp/bgp_packet.h | 4
src/cfg.h | 9
src/cfg_handlers.c | 206 +++++++++++++++-
src/cfg_handlers.h | 8
src/ip_frag.c | 6
src/ll.c | 8
src/mysql_plugin.c | 8
src/network.h | 47 +++
src/nfacctd.c | 283 +++++++++++-----------
src/nfacctd.h | 84 ++++++
src/nfprobe_plugin/netflow9.c | 47 +++
src/nfprobe_plugin/nfprobe_plugin.c | 398 +++++++++++++++----------------
src/nfprobe_plugin/nfprobe_plugin.h | 6
src/nfv9_template.c | 39 +++
src/once.h | 2
src/pgsql_plugin.c | 3
src/pkt_handlers.c | 454 ++++++++++++++++++++++++------------
src/pkt_handlers.h | 12
src/plugin_hooks.c | 19 +
src/plugin_hooks.h | 6
src/pmacct-data.h | 15 +
src/pmacct-defines.h | 43 ++-
src/pmacct.c | 30 +-
src/pmacct.h | 2
src/pmacctd.c | 44 ++-
src/pretag-data.h | 11
src/pretag.c | 23 +
src/print_plugin.c | 203 +++++++++++-----
src/print_plugin.h | 5
src/server.c | 1
src/sfacctd.c | 178 +++++++-------
src/sfacctd.h | 1
src/sfprobe_plugin/sflow_agent.c | 15 +
src/sfprobe_plugin/sflow_api.h | 2
src/sfprobe_plugin/sflow_sampler.c | 43 +--
src/sfprobe_plugin/sfprobe_plugin.c | 360 +++++++++++++++++-----------
src/signals.c | 8
src/sql_common.c | 17 +
src/sql_common.h | 1
src/sql_handlers.c | 8
src/tee_plugin/Makefile.in | 44 +++
src/tee_plugin/tee_plugin.c | 342 +++++++++++++++++++++++++++
src/tee_plugin/tee_plugin.h | 44 +++
src/uacctd.c | 48 ++-
src/util.c | 56 ++++
src/util.h | 2
73 files changed, 3299 insertions(+), 1293 deletions(-)
---
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn