FreeBSD Bugzilla – Attachment 168379 Details for
Bug 208133
security/sshguard: [PATCH] Flood "Refreshing sources showed 0 changes." message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
The patch against flood "Refreshing sources showed 0 changes." message
patch-sshguard_logsuck.c (text/plain), 1.30 KB, created by
mail_of_sergey
on 2016-03-19 06:39:18 UTC
(
hide
)
Description:
The patch against flood "Refreshing sources showed 0 changes." message
Filename:
MIME Type:
Creator:
mail_of_sergey
Created:
2016-03-19 06:39:18 UTC
Size:
1.30 KB
patch
obsolete
>--- src/sshguard_logsuck.c 2015-08-19 19:11:25.000000000 +0300 >+++ src/sshguard_logsuck.c 2016-03-19 02:39:41.243998000 +0300 >@@ -92,8 +92,6 @@ > return -1; > } > >- sshguard_log(LOG_DEBUG, "Adding '%s' to polled files.", filename); >- > /* store filename */ > strcpy(cursource.filename, filename); > >@@ -185,7 +183,6 @@ > } > } > /* no data. Wait for something with exponential backoff, up to LOGSUCK_MAX_WAIT */ >- sshguard_log(LOG_DEBUG, "Sleeping %d ms before next poll.", sleep_interval); > usleep(sleep_interval * 1000); > /* update sleep interval for next call */ > if (sleep_interval < MAX_LOGPOLL_INTERVAL) { >@@ -274,7 +271,6 @@ > ++numchanged; > if (! myentry->active) { > /* entry was inactive, now available. Resume it */ >- sshguard_log(LOG_NOTICE, "Source '%s' reappeared. Reloading.", myentry->filename); > } else { > /* rotated (ie myentry->current_serial_number != fileinfo.st_ino) */ > sshguard_log(LOG_NOTICE, "Reloading rotated file %s.", myentry->filename); >@@ -285,8 +281,6 @@ > /* descriptor and source ready! */ > } > list_iterator_stop(& sources_list); >- >- sshguard_log(LOG_INFO, "Refreshing sources showed %u changes.", numchanged); > return 0; > } >
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 Raw
Actions:
View
Attachments on
bug 208133
: 168379