Index: branches/fc17-dev/host/debian/scripts-syslog-ng-config/d_zroot.pl
===================================================================
--- branches/fc17-dev/host/debian/scripts-syslog-ng-config/d_zroot.pl	(revision 2081)
+++ branches/fc17-dev/host/debian/scripts-syslog-ng-config/d_zroot.pl	(revision 2195)
@@ -17,6 +17,15 @@
 @USERS{@USERS} = undef;
 
-sub zwrite($;$$@) {
-    my ($message, $class, $instance, @recipients) = @_;
+sub zwrite($;$$\@) {
+    my ($message, $class, $instance, $recipref) = @_;
+    my @recipients = ();
+    if (defined($recipref)) {
+        if (@$recipref) {
+            @recipients = @$recipref;
+        } else {
+            $message = '@b(Empty recipient list specified, message redacted)';
+            $class = $ZCLASS;
+        }
+    }
     $class ||= $ZCLASS;
     $instance ||= 'root.'.hostname;
@@ -24,4 +33,9 @@
     print ZWRITE $message;
     close(ZWRITE);
+}
+
+unless (@RECIPIENTS) {
+    # Also give a warning at startup
+    zwrite('@b(No .k5login found, sensitive logs will not be zephyred)', $ZCLASS);
 }
 
@@ -120,4 +134,5 @@
 	} elsif ($message =~ m|^ *root : TTY=|) {
 	} elsif ($message =~ m|^Set /proc/self/oom_adj to |) {
+	} elsif ($message =~ m|^fatal: mm_request_receive: read: Connection reset by peer$|) {
 	} else {
 	    sendmsg($message, "scripts-spew");
@@ -126,5 +141,5 @@
 
     foreach my $class (keys %toclass) {
-	if ($class eq "scripts-auto") {
+	if ($class eq $ZCLASS) {
 	    zwrite($toclass{$class}, $class);
 	} else {
Index: branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/changelog
===================================================================
--- branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/changelog	(revision 2081)
+++ branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/changelog	(revision 2195)
@@ -1,2 +1,15 @@
+scripts-syslog-ng-config (0.4) stable; urgency=low
+
+  * Synchronize filtered logs with Fedora copy (r2095).
+  * Avoid accidentally sending sensitive logs to a public class (r2096).
+
+ -- Geoffrey Thomas <geofft@mit.edu>  Sat, 17 Dec 2011 03:06:59 -0500
+
+scripts-syslog-ng-config (0.3) stable; urgency=low
+
+  * Depend on debathena-zephyr-config
+
+ -- Alexander Chernyakhovsky <achernya@mit.edu>  Sat, 12 Nov 2011 23:27:51 -0500
+  
 scripts-syslog-ng-config (0.2) stable; urgency=low
 
Index: branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/control
===================================================================
--- branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/control	(revision 2081)
+++ branches/fc17-dev/host/debian/scripts-syslog-ng-config/debian/control	(revision 2195)
@@ -10,5 +10,5 @@
 Architecture: all
 Depends: ${misc:Depends},
- syslog-ng,
+ syslog-ng, debathena-zephyr-config
 Description: Configures syslog-ng for zephyr logging
  Configures a machine to log messages sent to syslog-ng to zephyr.
