Hey,
I recently found a patch to be able to log sites on the list while not
blocking them, but patch actually breaks site blocking!
Does anyone have a solution to be able to do both log sites on list while
not blocking them and blocking other sites
like 'pass !ads !porn !gambling hacking'
where !ads !porn and !gambling is blocked while hacking is just logged
any ideas?
PS, patch looks like this:
diff -Nur squidGuard-1.2.0-orig/src/main.c squidGuard-1.2.0/src/main.c
--- squidGuard-1.2.0-orig/src/main.c 2004-01-05 23:56:38.000000000 -0500
+++ squidGuard-1.2.0/src/main.c 2004-01-05 23:59:16.818485904 -0500
@@ -205,9 +205,7 @@
squidInfo.ident[0] = '-';
squidInfo.ident[1] = '\0';
}
- fprintf(stdout,"%s %s/%s %s %s\n",redirect,squidInfo.src,
- squidInfo.srcDomain,squidInfo.ident,
- squidInfo.method);
+ puts("");
break;
}
} /*for(;;)*/