/[pkg-mixmaster]/trunk/Mix/Src/rem.c
ViewVC logotype

Diff of /trunk/Mix/Src/rem.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 55 by rabbi, Mon Dec 17 00:32:42 2001 UTC revision 56 by rabbi, Mon Dec 17 01:46:35 2001 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Process remailer messages     Process remailer messages
9     $Id: rem.c,v 1.9 2001/12/17 00:32:42 rabbi Exp $ */     $Id: rem.c,v 1.10 2001/12/17 01:46:35 rabbi Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 419  int blockrequest(BUFFER *message) Line 419  int blockrequest(BUFFER *message)
419          errlog(LOG, "Ignoring blocking request for %b from %b.\n", addr, from);          errlog(LOG, "Ignoring blocking request for %b from %b.\n", addr, from);
420          return (2);          return (2);
421        }        }
422          if (bufleft(addr, "@")) {
423            errlog(LOG, "Ignoring blocking request: %b from %b: "
424              "We do not block entire domains.\n",
425              addr, from);
426            return (2);
427          }
428        if (bufleft(addr, "/")) {        if (bufleft(addr, "/")) {
429          errlog(LOG, "Ignoring blocking request: %b from %b is a regex.\n",          errlog(LOG, "Ignoring blocking request: %b from %b is a regex.\n",
430            addr, from);            addr, from);

Legend:
Removed from v.55  
changed lines
  Added in v.56

  ViewVC Help
Powered by ViewVC 1.1.5