Misc changes.
[clearscm.git] / bin / bice.pl
index f1a6358..4f3073a 100755 (executable)
@@ -66,7 +66,7 @@ my $security_logfile = '/var/log/auth.log';
 # Customize these variables
 my $domain   = 'DeFaria.com';
 my $contact  = 'Andrew@DeFaria.com';
-my $location = 'San Diego, California, USA';
+my $location = 'Santa Clara, California, USA';
 my $UTC             = 'UTC-8';
 my $mailhost = $domain;
 # End customize these variables
@@ -117,7 +117,7 @@ sub AddToIPTables (@) {
   `/sbin/iptables -N BICE`;
   
   # Add all new @ips to iptables
-  `/sbin/iptables -A BICE -s $_ -p tcp --destination-port 22 -j DROP` foreach (sort keys %ips);
+  `/sbin/iptables -A BICE -s $_ -p tcp -j DROP` foreach (sort keys %ips);
   
   return;
 } # AddToIPTables
@@ -178,7 +178,7 @@ sub SendEmail ($$$$$) {
   mail (
     from       => "BICE\@$domain",
     to         => $to,
-    cc         => $contact,
+    #cc                => $contact,
     subject    => $subject,
     mode       => 'html',
     data       => $message,
@@ -378,9 +378,9 @@ L<Fcntl>
 =begin html
 
 <blockquote>
-<<a href="http://clearscm.com/php/cvs_man.php?file=lib/Display.pm">Display</a><br>
-<a href="http://clearscm.com/php/cvs_man.php?file=lib/Mail.pm">Mail</a><br>
-a href="http://clearscm.com/php/cvs_man.php?file=lib/Utils.pm">Utils</a><br>
+<<a href="http://clearscm.com/php/scm_man.php?file=lib/Display.pm">Display</a><br>
+<a href="http://clearscm.com/php/scm_man.php?file=lib/Mail.pm">Mail</a><br>
+a href="http://clearscm.com/php/scm_man.php?file=lib/Utils.pm">Utils</a><br>
 </blockquote>
 
 =end html