🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Pierre Belanger Tue, 29 Sep 1998 00:00
ANNOUNCE: multifilter-1.0
#31815
Author: Pierre Belanger
Date: Tue, 29 Sep 1998 00:00
42 lines
2215 bytes
ANNOUNCE: multifilter-1.0, a simple tool to "help" us fight Usenet SPAM!

========================================================================

multifilter is a simple program written in C that allows you to run
multiple external spam-filtering programs using Highwind Software's
(http://www.highwind.com/) spam-filtering interface.

multifilter's main goals:

        - By giving away the source code of multifilter, people
          can contribute and addin some more complex rules.
          I also hope people will help me modify multifilter
          to work with "all" Usenet servers.
        - Help us fight Usenet SPAM by running multiple external
          programs.
 - Be able to change the configuration file, reload it
          and restart the external programs without the need to
          restart the whole server.  You can even run multifilter
          with "zero" spam-filtering program and when you are ready
          to add in a filtering program, just modify your configuration
          file.  On a "reload", the program will start running.
 - Easy to configure and install.


Source code are available now at the following site:

        http://www.zephyrus.org/multifilter/

and should be available here soon:

        http://contrib.highwind.com/pub/


If you have any good ideas to incorporate in multifilter, let me know!
You can check the "TODO" file in the distribution too ;-)

Enjoy,
Pierre Belanger - RISQ


Re: ANNOUNCE: multifilter-1.0
#31806
Author: Pierre Belanger
Date: Tue, 29 Sep 1998 00:00
25 lines
1545 bytes
Pierre Belanger wrote:
> 
> Pierre Belanger wrote:
> >
> > ANNOUNCE: multifilter-1.0, a simple tool to "help" us fight Usenet SPAM!
> >
> >
> Someone on IRIX using cc reported me the error below.
> 
> I don't have access to a cc compiler :(  The first user on the net
> who gives me the solution will get the next copy free ;-)
> 
> Following modification to the parse.c file can be done so
> compilers don't give a warning.  On line # 137:
> 
>   Change from: (Length>=0) && isspace(Strip[Length]);
>   Change to  : (Length>=0) && (1 == isspace(Strip[Length]));
>
My error, change to: (Length>=0) && (0 != isspace(Strip[Length]));

This is what happen when we work on 10 things @ a time!

Pierre Belanger - RISQ

Re: ANNOUNCE: multifilter-1.0
#31816
Author: Pierre Belanger
Date: Tue, 29 Sep 1998 00:00
48 lines
2401 bytes
Pierre Belanger wrote:
> 
> Pierre Belanger wrote:
> >
> > ANNOUNCE: multifilter-1.0, a simple tool to "help" us fight Usenet SPAM!
> >
> >
> Someone on IRIX using cc reported me the error below.
> 
> I don't have access to a cc compiler :(  The first user on the net
> who gives me the solution will get the next copy free ;-)
> 
> Following modification to the parse.c file can be done so
> compilers don't give a warning.  On line # 137:
> 
>   Change from: (Length>=0) && isspace(Strip[Length]);
>   Change to  : (Length>=0) && (1 == isspace(Strip[Length]));
> 
As I said in my last message, you should read:

	Change to  : (Length>=0) && (0 != isspace(Strip[Length]));
 
> EOA and EOAL are defined like this:
> 
> #define EOA     "\r\n.\r\n"    // End of Article
> #define EOAL    5              // EOA Length
> 
> Could it be those "//" not making "cc" happy?
>
The user is telling me that by changing the "//" to "/* .... */"
makes IRIX cc compiler happy.  That was my mistake, I forgot to
change all "//" in the header files.  I'll make sure all comments
are within "/* ... */".

I am setting up version 1.0.1 now which fixes another problem
in some code I modified not too long before the release.  It
could result in weird results.  Release 1.0.1 should be a _very_
stable release.

I am already thinking to add some more directives but I will
wait a few days to see is there are any other good suggestions.

Sorry for all this confusion, we have a Sun that doesn't reboot.
I think it is a hardware PROMP bug...

Pierre Belanger - RISQ

Re: ANNOUNCE: multifilter-1.0
#31824
Author: Pierre Belanger
Date: Tue, 29 Sep 1998 00:00
56 lines
2634 bytes
Pierre Belanger wrote:
> 
> ANNOUNCE: multifilter-1.0, a simple tool to "help" us fight Usenet SPAM!
> 
>
Someone on IRIX using cc reported me the error below.

I don't have access to a cc compiler :(  The first user on the net
who gives me the solution will get the next copy free ;-)

Following modification to the parse.c file can be done so
compilers don't give a warning.  On line # 137:

  Change from: (Length>=0) && isspace(Strip[Length]);
  Change to  : (Length>=0) && (1 == isspace(Strip[Length]));


Here's the error from cc under IRIX 6.5:


        cc -O2 -c -DHIGHWIND article-read.c -o article-read.o
"article-read.c", line 103: error(1029): expected an expression
      if ((PositionEnd >= EOAL) &&
                          ^

"article-read.c", line 104: error(1029): expected an expression
          (0 == strncmp(&Buffer[PositionEnd - EOAL], EOA, EOAL))) {
                                              ^

"article-read.c", line 104: error(1029): expected an expression
          (0 == strncmp(&Buffer[PositionEnd - EOAL], EOA, EOAL))) {
                                                     ^

"article-read.c", line 104: error(1032): expression must have arithmetic
type
          (0 == strncmp(&Buffer[PositionEnd - EOAL], EOA, EOAL))) {
                                                     ^

"article-read.c", line 104: error(1029): expected an expression
          (0 == strncmp(&Buffer[PositionEnd - EOAL], EOA, EOAL))) {
                                                          ^

5 errors detected in the compilation of "article-read.c".
*** Error code 2 (bu21)

EOA and EOAL are defined like this:

#define EOA     "\r\n.\r\n"    // End of Article
#define EOAL    5              // EOA Length

Could it be those "//" not making "cc" happy?

Regards,
Pierre Belanger - RISQ

ANNOUNCE: multifilter-1.0.1
#31871
Author: Pierre Belanger
Date: Wed, 30 Sep 1998 00:00
58 lines
2715 bytes
Hello,

Just like every 1.0 releases, the next version is always coming
out sooner than we expect ;-)

I just released multifilter-1.0.1 correcting some minor and a little
bit more serious errors.  1.0.1 should be _very_ stable.

The next release of multifilter should support some of the following
new directives for each filter objects:

	maxlength
	maxlines
	subscription
	control true/false

Any more suggestions?


ANNOUNCE: multifilter-1.0.1, a simple tool to "help" us fight Usenet
SPAM!
========================================================================

multifilter is a simple program written in C that allows you to run
multiple external spam-filtering programs using Highwind Software's
(http://www.highwind.com/) spam-filtering interface.

multifilter's main goals:

        - By giving away the source code of multifilter, people
          can contribute and addin some more complex rules.
          I also hope people will help me modify multifilter
          to work with "all" Usenet servers.
        - Help us fight Usenet SPAM by running multiple external
          programs.
        - Be able to change the configuration file, reload it
          and restart the external programs without the need to
          restart the whole server.  You can even run multifilter
          with "zero" spam-filtering program and when you are ready
          to add in a filtering program, just modify your configuration
          file.  On a "reload", the program will start running.
        - Easy to configure and install.
 
Source code are available now at the following site:
 
        http://www.zephyrus.org/multifilter/
 
and should be available here soon:
 
        http://contrib.highwind.com/pub/
 
If you have any good ideas to incorporate in multifilter, let me know! 
You can check the "TODO" file in the distribution too ;-)

Enjoy,
Pierre Belanger - RISQ

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads