#
1d03bd16 |
| 21-Mar-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Refactor node so that it does not modify mbuf contents. Next step would be pass-thru mode, when traffic is not copied by ng_tee, but passed thru ng_netflow.
Changes made:
- In ng_netflow_rcvdata()
Refactor node so that it does not modify mbuf contents. Next step would be pass-thru mode, when traffic is not copied by ng_tee, but passed thru ng_netflow.
Changes made:
- In ng_netflow_rcvdata() do all necessary pulluping: Ethernet header, IP header, and TCP/UDP header. - Pass only pointer to struct ip to ng_netflow_flow_add(). Any TCP/UDP headers are guaranteed to by after it. - Merge make_flow_rec() function into ng_netflow_flow_add().
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
176119c4 |
| 05-Dec-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Use uint16_t to pass argument for NGM_NETFLOW_IFINFO, bump cookie. - Always check that index number passed from userland is <= NG_NETFLOW_MAXIFACES. [1] - Increase NG_NETFLOW_MAXIFACES up to 512.
- Use uint16_t to pass argument for NGM_NETFLOW_IFINFO, bump cookie. - Always check that index number passed from userland is <= NG_NETFLOW_MAXIFACES. [1] - Increase NG_NETFLOW_MAXIFACES up to 512. [2]
Noticed by: Roman Palagin [1] Requested by: Yuri Y. Bushmelev [2] MFC after: 1 week
show more ...
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
0b7925df |
| 17-Sep-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Remove advertising clause from copyright [1] - Change my email to glebius@FreeBSD.org
Requested by: ru [1]
|
#
a752e82d |
| 16-Sep-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
A netgraph node implementing Netflow version 5.
Supported by: Bestcom ISP, Rinet ISP Approved by: julian (mentor)
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
1a6dd095 |
| 08-Oct-2008 |
Alexander Motin <mav@FreeBSD.org> |
Add ability to generate egress netflow instead or in addition to ingress. Use mbuf tagging for accounted packets to not account packets twice when both ingress and egress netflow enabled. To keep com
Add ability to generate egress netflow instead or in addition to ingress. Use mbuf tagging for accounted packets to not account packets twice when both ingress and egress netflow enabled. To keep compatibility new "setconfig" message added to control new functionality. By default node works as before, doing only ingress accounting without using mbuf tags.
Reviewed by: glebius
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
dc7359b8 |
| 28-Mar-2007 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Bump maximum number of interface hooks to the maximum possible value. This will increase the memory consumption for more than 1 Mb, but this is required for operation on multiinterface access concent
Bump maximum number of interface hooks to the maximum possible value. This will increase the memory consumption for more than 1 Mb, but this is required for operation on multiinterface access concentrators running mpd.
Requested by: Alexander Motin
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
3bbbf02d |
| 09-Feb-2006 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Increase maximum number of interfaces to 2048. - Regroup softc so that frequently used elements are grouped in the beginning, while the interfaces array is at the end.
|
#
3d9dddcd |
| 12-Jan-2006 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Mark appropriate commands with NGM_READONLY and NGM_HASREPLY and bump type cookie.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
35fd572d |
| 12-May-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Gather statistics about failed mbuf+cluster+ng_item allocations. - Adjust comments and variables names in nfinfo.
|
#
494e177a |
| 11-May-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
A new version of NetFlow node.
The most significant changes are: - Use UMA zone instead of own chunk of memory. - Lock each hash entry separately. - Expire items "actively" - interrupt method can ex
A new version of NetFlow node.
The most significant changes are: - Use UMA zone instead of own chunk of memory. - Lock each hash entry separately. - Expire items "actively" - interrupt method can expire flows from hash slot, when it searches through it. - Remove global tailqueue. Make callout thread search through every hash slot. - Export datagram is detached from private data and filled. If it is incomplete, it is attached back. Another thread will continue working with it.
Lesser, but also important speedups: - Flows in hash slot are stored in tailqueue. Whenever a flow is hit, it is moved to the begging, so it can be located quicker. - When callout thread works with hash slot it bails out if slot mutex is contested.
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
9818b82f |
| 22-Mar-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Add a possibility to bypass unmodified accounted data to special hook(s). Data received on these hook(s) is sent back to ifaceX hook(s).
|
#
1d03bd16 |
| 21-Mar-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Refactor node so that it does not modify mbuf contents. Next step would be pass-thru mode, when traffic is not copied by ng_tee, but passed thru ng_netflow.
Changes made:
- In ng_netflow_rcvdata()
Refactor node so that it does not modify mbuf contents. Next step would be pass-thru mode, when traffic is not copied by ng_tee, but passed thru ng_netflow.
Changes made:
- In ng_netflow_rcvdata() do all necessary pulluping: Ethernet header, IP header, and TCP/UDP header. - Pass only pointer to struct ip to ng_netflow_flow_add(). Any TCP/UDP headers are guaranteed to by after it. - Merge make_flow_rec() function into ng_netflow_flow_add().
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
176119c4 |
| 05-Dec-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Use uint16_t to pass argument for NGM_NETFLOW_IFINFO, bump cookie. - Always check that index number passed from userland is <= NG_NETFLOW_MAXIFACES. [1] - Increase NG_NETFLOW_MAXIFACES up to 512.
- Use uint16_t to pass argument for NGM_NETFLOW_IFINFO, bump cookie. - Always check that index number passed from userland is <= NG_NETFLOW_MAXIFACES. [1] - Increase NG_NETFLOW_MAXIFACES up to 512. [2]
Noticed by: Roman Palagin [1] Requested by: Yuri Y. Bushmelev [2] MFC after: 1 week
show more ...
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
0b7925df |
| 17-Sep-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Remove advertising clause from copyright [1] - Change my email to glebius@FreeBSD.org
Requested by: ru [1]
|
#
a752e82d |
| 16-Sep-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
A netgraph node implementing Netflow version 5.
Supported by: Bestcom ISP, Rinet ISP Approved by: julian (mentor)
|