Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81325 Details for
Bug 124991
net-analyzer/scanlogd uses CLK_TCK not CLOCKS_PER_SEC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clk_tck_to_clocks_per_sec_params.h.patch
clk_tck_to_clocks_per_sec_params.h.patch (text/plain), 751 bytes, created by
Beech Horn
on 2006-03-04 10:56:01 UTC
(
hide
)
Description:
clk_tck_to_clocks_per_sec_params.h.patch
Filename:
MIME Type:
Creator:
Beech Horn
Created:
2006-03-04 10:56:01 UTC
Size:
751 bytes
patch
obsolete
>diff -Nurp params.h params.h >--- params.h 2004-06-02 00:22:23.000000000 +0000 >+++ params.h 2006-03-04 18:42:08.614246000 +0000 >@@ -62,14 +62,14 @@ > #define SCAN_MIN_COUNT 7 > #define SCAN_MAX_COUNT (SCAN_MIN_COUNT * PORT_WEIGHT_PRIV) > #define SCAN_WEIGHT_THRESHOLD SCAN_MAX_COUNT >-#define SCAN_DELAY_THRESHOLD (CLK_TCK * 3) >+#define SCAN_DELAY_THRESHOLD (CLOCKS_PER_SEC * 3) > > /* > * Log flood detection thresholds: temporarily stop logging if more than > * COUNT port scans are detected with no longer than DELAY between them. > */ > #define LOG_COUNT_THRESHOLD 5 >-#define LOG_DELAY_THRESHOLD (CLK_TCK * 20) >+#define LOG_DELAY_THRESHOLD (CLOCKS_PER_SEC * 20) > > /* > * Log line length limit, such as to fit into one SMS message. #undef this
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124991
:
81324
|
81325
|
81541
|
81910
|
82254
|
82255
|
82257
|
82258