X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Fbice.pl;h=4f3073ac23c6f9447c5f189dc7bbb26acd43d0bc;hb=aeec7766609a06f91118add42ccf7a32ef46fb01;hp=f1a6358139a79ef832b526df0f82c4e989176da6;hpb=020a4a5ea2be725b155cae3a2cadc9aba3911b9b;p=clearscm.git diff --git a/bin/bice.pl b/bin/bice.pl index f1a6358..4f3073a 100755 --- a/bin/bice.pl +++ b/bin/bice.pl @@ -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 =begin html
-<Display
-Mail
-a href="http://clearscm.com/php/cvs_man.php?file=lib/Utils.pm">Utils
+<Display
+Mail
+a href="http://clearscm.com/php/scm_man.php?file=lib/Utils.pm">Utils
=end html