Mailing List Archive

[Bug 369] New: BGP Dampening Ceiling violates RFC 2439
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=369

Summary: BGP Dampening Ceiling violates RFC 2439
Product: Quagga
Version: 0.99.7
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: High
Component: bgpd
AssignedTo: maintainers@quagga.net
ReportedBy: balajig81@gmail.com


The formula used for calculating Ceiling Limit(Maximum Penalty) violates the RFC
2439.

The formula used in RFC 2439 is as follows:

ceiling = reuse * (exp(T-hold/decay-half-life) * log(2))

Current Implementation
*************************

damp->ceiling = (int)(damp->reuse_limit * (pow(2,
(double)damp->max_suppress_time/damp->half_life)));


Should be changed to
*********************

damp->ceiling =
damp->reuse_limit*(exp(int)(damp->max_suppress_time/damp->half_life) * log(2))



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs