Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9236 Details for
Bug 17274
Deny-Of-Service-Attack: "FAMOpen failed, FAMErrno=0"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for the issue
gnome-vfs-2.2.1-DenyOfService.diff (text/plain), 1.29 KB, created by
Mathias Hasselmann
on 2003-03-10 20:59:41 UTC
(
hide
)
Description:
A patch for the issue
Filename:
MIME Type:
Creator:
Mathias Hasselmann
Created:
2003-03-10 20:59:41 UTC
Size:
1.29 KB
patch
obsolete
>diff -ru gnome-vfs-2.2.1-DenyOfService/modules/file-method.c gnome-vfs-2.2.1/modules/file-method.c >--- gnome-vfs-2.2.1-DenyOfService/modules/file-method.c 2003-03-11 02:16:10.000000000 +0100 >+++ gnome-vfs-2.2.1/modules/file-method.c 2003-03-11 02:27:17.000000000 +0100 >@@ -2165,7 +2165,29 @@ > if (fam_connection == NULL) { > fam_connection = g_malloc0(sizeof(FAMConnection)); > if (FAMOpen2(fam_connection, "test-monitor") != 0) { >- g_print ("FAMOpen failed, FAMErrno=%d\n", FAMErrno); >+ /* Throttle error message propagation. Without this step >+ * logfiles would bomb each machine within short time. >+ * Code is kind of bloaty. Users hate it getting bombed out >+ * of their machines. >+ */ >+ static time_t last_message = 0; >+ static int last_error = 0; >+ int current_error = FAMErrno; >+ >+ if (time() - last_message > 180 || >+ current_error != last_error) >+ { >+ last_message = time(); >+ last_error = current_error; >+ >+ g_print ("FAMOpen failed, FAMErrno=%d\n" >+ "This indicates a problem with the " >+ "File Alteration Monitor (FAM).\n" >+ "Make sure that FAM is installed " >+ "properly and lauched on startup.\n", >+ current_error); >+ } >+ > g_free(fam_connection); > fam_connection = NULL; > G_UNLOCK (fam_connection);
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 17274
: 9236