Debian Codegraph @

Changes

raw
1 # Use 'perldoc Changes' to read this file.
2
3 =head1 NAME
4
5 Changes - razor-agents
6
7 =head2 2.85 (July 21, 2008)
8
9 =over 4
10
11 =item *
12
13 Relicense under Artistic License 2.0. See LICENSE for details.
14
15 =back
16
17 =head2 2.84 (May 10, 2007)
18
19 =over 4
20
21 =item *
22
23 Update discovery hostname.
24
25 =back
26
27 =head2 2.83 (May 8, 2007)
28
29 =over 4
30
31 =item *
32
33 Remove all uses of C<$'> from code. This removes a global regex
34 engine slowdown. [issues.apache.org #5312]
35
36 =back
37
38 =over 4
39
40 =item *
41
42 Comment out or replace shell commands with Perl equivalents.
43 This removes the prerequisites of uname(1) and GNU mkdir(1).
44
45 =back
46
47 =head2 2.82 (May 26, 2006)
48
49 =over 4
50
51 =item *
52
53 Always disconnect from discovery server after performing
54 discovery. This fixes a long standing bug wherein razor-report
55 and razor-check would attempt to report to or check against the
56 discovery servers.
57
58 =back
59
60 =head2 2.81 (Mar 16, 2006)
61
62 =over 4
63
64 =item *
65
66 Update service policy.
67
68 =back
69
70 =head2 2.80 (Feb 27, 2006)
71
72 =over 4
73
74 =item *
75
76 Untaint filenames loaded from the config file. [Bug #1395719]
77
78 =back
79
80 =head2 2.79 (Feb 16, 2006)
81
82 =over 4
83
84 =item *
85
86 Change C++ comments to C comments. [Patch #1431589]
87
88 =back
89
90 =head2 2.78 (Oct 01, 2005)
91
92 =over 4
93
94 =item *
95
96 When registering with a username and password, accept existing credentials
97 if they authenticate successfully.
98
99 =item *
100
101 When autoregistering, attempt to write a test identity before attempting
102 to register credentials.
103
104 =item *
105
106 Always remove the existing identity symlink before overwriting, as -e $fn
107 can return false for a symlink that still exists.
108
109 =item *
110
111 Added several error checks to the register process.
112
113 =item *
114
115 Disconnect from the register server before returning when errors occur.
116
117 =item *
118
119 Ensure that checks and reports are sent to the appropriate servers. [Bug
120 #1267559]
121
122 =back
123
124 =head2 2.77 (Aug 17, 2005)
125
126 =over 4
127
128 =item *
129
130 Fixed corrupted distribution.
131
132 =back
133
134 =head2 2.76 (Aug 15, 2005)
135
136 =over 4
137
138 =item *
139
140 When no reporter identity is found, attempt to register automatically.
141
142 =item *
143
144 When -home is specified on the command line, default C<global_razorhome> to
145 the provided value. [Gentoo #101070]
146
147 =back
148
149 =head2 2.75 (July 6, 2005)
150
151 =over 4
152
153 =item *
154
155 Removed two debugging statements accidentally checked into 2.74.
156
157 =item *
158
159 Applied syslog patch from Debian bug #295727 to reintroduce support for
160 'sys-syslog' and 'syslog' log targets. [Feature #1229433]
161
162 =item *
163
164 Modified Makefile.PL to honor DESTDIR when installing section 5 man
165 pages. [Bug #1227167]
166
167 =item *
168
169 Fixed failure for razor-agents to exit with error when unknown
170 parameters were specified. [Bug #1229450]
171
172 =item *
173
174 Fixed bug for when razor-agents was invoked without ``-f'' but reading
175 from STDIN, causing the shell to be unusable until the forked
176 background process was killed off. [Bug #1229887]
177
178
179 =back
180
181 =head2 2.74 (June 28, 2005)
182
183 =over 4
184
185 =item *
186
187 Fixed handling of configuration options; under certain circumstances,
188 neither the defaults nor the configuration file would set necessary
189 variables such as C<listfile_discovery>.
190
191 =item *
192
193 Fixed handling of -home option; when provided, it will be accepted
194 without further checks.
195
196 =item *
197
198 Fixed installation of man(5) pages by non-root users to local man
199 directories. [Patch #1227162]
200
201 =item *
202
203 Reverted a patch that was intended to add support for overriding
204 razorhome under certain circumstances. The patch introduced new
205 issues with external program integration (eg. Amavis).
206 [Bug #1074391]
207
208 =item *
209
210 Corrected a spelling error in a debug message.
211
212 =item *
213
214 Added several defined checks to avoid unnecessary warnings when
215 manipulating server lists.
216
217 =item *
218
219 Corrected the preprocessing fix shipped with 2.70 and updated the
220 test suite to match. [Bug #1001417]
221
222 =item *
223
224 Updated preproc implementation (deHTMLxs) to match other clients.
225
226 =back
227
228 =head2 2.72 (June 16, 2005)
229
230 =over 4
231
232 =item *
233
234 C<razor-client> no longer creates symlinks to itself upon installation;
235 four new scripts have been added to the distribution to replace this
236 functionality (C<razor-admin>, C<razor-check>, C<razor-report>, C<razor-revoke>).
237
238 =back
239
240 =head2 2.71 (June 15, 2005)
241
242 =over 4
243
244 =item *
245
246 A fix to Makefile.PL script to correctly invoke C<razor-client>
247 after installation. Thanks to Liam Quinn for the patch.
248
249 =back
250
251 =head2 2.70 (June 10, 2005)
252
253 =over 4
254
255 =item *
256
257 Fixed preprocessing of unusual HTML messages. This resolves the
258 segfault issue in razor-agents. [Bug #1001417]
259
260 =item *
261
262 Fixed handling of certain malformed headers.
263
264 =item *
265
266 Explicitly specify the record separator as C<\n> when reading files, to
267 ensure that someone else hasn't set it to undef. [Patch #537813]
268
269 =item *
270
271 C<razorzone> is no longer supported and has been removed from the
272 documentation.
273
274 =item *
275
276 Allow the config file to set razorhome. [Bug #1074391]
277
278 =item *
279
280 Razor Agents no longer go into an infinite loop when discovery
281 fails. [Bug #1016039]
282
283 =item *
284
285 Properly creates C<razor-*> symlinks after installation. [Bug #874468]
286
287 =item *
288
289 Default to PERLPREFIX instead of PREFIX when installing man5 pages.
290 [Bug #1001320]
291
292 =item *
293
294 Removed a call to $sha1->reset() which was breaking SHA1 calculation.
295 [Bug #1004858]
296
297 =item *
298
299 C<use_engines> is no longer supported and has been removed from
300 the documentation. [Bug #1120311]
301
302 =item *
303
304 Shuffle the discovery, catalogue, and nomination server lists
305 after loading them from disk; this prevents razor-agents from
306 always starting with the same catalogue server.
307
308 =item *
309
310 Replace the complex DNS lookup logic for discovery servers with
311 a single DNS round robin. [Bug #604679]
312
313 =item *
314
315 Remove the ICMP ping logic for finding the "fastest" catalogue
316 server; the configuration option for this logic is now ignored.
317 [Support #739464]
318
319 =item *
320
321 Removed stale engine code for various signature types that are no
322 longer used.
323
324 =back
325
326 =head2 2.67 (December 03, 2004)
327
328 =over 4
329
330 =item *
331
332 This is a patch release that fixes a bug in the Whiplash
333 signature scheme. The bug was in the new code added to support
334 canonicalization of domains. It caused the signature algorithm
335 to generate no signatures on valid content.
336
337 =back
338
339 =head2 2.66 (December 02, 2004)
340
341 =over 4
342
343 =item *
344
345 Introduced support for country domain canonicalization in the
346 Whiplash signature scheme. This means domains like foo.co.uk
347 would be extracted correctly by Whiplash. This change affords a
348 considerable improvement in accuracy.
349
350 =item *
351
352 Modified the revocation logic to do signature-only
353 communications with the server. All versions of razor-agents
354 prior to this sent the entire message on razor-revoke, and even
355 though the backend would drop the messages after computing
356 signatures, this entailed a privacy risk. From this version on
357 razor-agents will _never_ send the contents of a revoked message
358 to the backend servers.
359
360 =item *
361
362 Fixed a bug in C<se> (supported engines) computation, which was
363 broken when the C<se> mask was larger than 8 bits. This would
364 sometimes disable the use of engine 4 (ehash). This fix would
365 also afford an increase in accuracy due to ehash being used
366 everytime.
367
368 =item *
369
370 Fixed a bug in report by message. Version 2.61 would drop MIME
371 headers on certain spam messages which would cause the backend
372 to ignore these messages as malformed.
373
374 =back
375
376 =head1 2.61 (July 06, 2004)
377
378 =over 4
379
380 =item *
381
382 Introduced the Whiplash signature scheme. Whiplash signatures
383 are based on canonical domain names present in URLs embedded in
384 spam messages. A Whiplash signature is also a function of the
385 length of the spam message. It's important to note that not all
386 whiplashes are used as classifiers. The Whiplash engine is
387 augmented by sophesticated logic on the Razor2 backend to select
388 the Whiplashes that are used to filter spam.
389
390 =item *
391
392 Fixed a bug in MIME parser whereby some broken MIME mails were
393 invisible to the system. [Bug #788723]
394
395 =item *
396
397 We override the C<use_engines> parameter in the config file
398 because this version supports different engines but leaves the
399 config file untouched. [Bug #984374]
400
401 =item *
402
403 Engine 1 support completely removed. Engine 1 was a signature
404 scheme compatible with the old razor v1 signatures, which is no
405 longer supported on the backend. [Bug #975490]
406
407 =back
408
409 =head1 2.40 (Dec 07, 2003)
410
411 =over 4
412
413 =item *
414
415 Applied patch from Michael (lemkemch) to make Razor Agents work on VMS.
416 (SF patch #797003).
417
418 =item *
419
420 Applied another Makefile.PL patch from Michael Schwern to correctly
421 install manpages in part 5 of the manual set in various versions of perl.
422
423 =item *
424
425 Applied patch from Mark Martinec and Vivek Khera of Amavid to untaint
426 various file targets obtained from user input. This is the same patch pointed
427 to by the SpamAssassin FAQ
428 [http://www.spamassassin.org/released/Razor2.patch]
429
430 =item *
431
432 Support for HTTP 1.1 tunneling [SF patch #821324] by Jon Schewe.
433
434 =item *
435
436 Applied Anne Bennett's patch to Logger.pm to introduce a new log
437 target, "syslog-sys", that talks to Syslog over a Unix socket rather
438 than a TCP socket.
439
440 =item *
441
442 Applied Anne Bennett's patch to deHTML.xs to get rid of the type
443 mismatch warning.
444
445 =item *
446
447 Removed computation of signatures that are no longer supported by the
448 backend -- engines 1, 2 and 3. Digest::Nilsimsa no longer required by
449 Razor Agents.
450
451 =back
452
453 =head1 2.36 (Aug 05, 2003)
454
455 =over 4
456
457 =item *
458
459 Removed some experimental code.
460
461 =back
462
463 =head1 2.35 (Aug 05, 2003)
464
465 =over 4
466
467 =item *
468
469 Applied a patch to Makefile.PL by Michael Schwern. This patch makes
470 Makefile.PL compatible with new MakeMaker and behave better in general.
471
472 =item *
473
474 C++ style comments in deHTML code replaced with C comments so the code
475 compiles with C compilers other than GCC.
476
477 =item *
478
479 Applied patch [SF patch #766292] by Suren A. Chilingaryan to detect and
480 skip body parts that only contain MIME headers.
481
482 =back
483
484 =head1 2.34 (May 16, 2003)
485
486 =over 4
487
488 =item *
489
490 Fixed a bug where razor-check would terminate prematurely on messages for
491 which it could not compute a signature. Thanks to Bela Lubkin for tracking
492 this and several other bugs down! [vipul]
493
494 =item *
495
496 We don't do server sorting by distance anymore. Most servers are closeby,
497 so we use the order the discovery server gives us. [vipul]
498
499 =item *
500
501 Introduced SOCKS support. Net::SOCKS is required in order to use SOCKS.
502 Specify socks_server in the config file. [vipul]
503
504 =item *
505
506 Fixed a bug in String::split_mime(); the MIME boundry was being spuriously
507 set in certain cases. [SF bug #707850 by Jams H Thompson]. [vipul]
508
509 =item *
510
511 Razor agents use getpwuid() instead of getlogin() to determine the user's
512 home directory. [SF bug #650410 by Jochen Erwied]. [vipul]
513
514 =item *
515
516 A bug in the selection of zone prefixes in bootstrap discovery was fixed.
517 [SF bug #604679 by Bill Sobel] [vipul]
518
519 =item *
520
521 Razorhome is gleaned from the config file passed to razor-agents, if all
522 else fails. "razor-report -conf=/etc/razor/razor.conf spam" will use
523 /etc/razor as its home if no other home is found (eg in $HOME/.razor).
524 To force a particular Razorhome value, use the -home=path option. [vipul]
525
526 =item *
527
528 Rewrote many error messages to be descriptive and helpful. [vipul]
529
530 =item *
531
532 auth=ai provides client name and version. [vipul]
533
534 =item *
535
536 discover() will force bootstrap discovery when all discovery servers are
537 unavailable. This fixes a bug where by razor-agents would try to connect
538 to the old Razor2 discovery server found in servers.discovery.lst. [vipul]
539
540 =item *
541
542 reportit() in background mode will return faster. [vipul]
543
544 =item *
545
546 checkit(), reportit(), parse_mbox(), etc take an ARRAY hash as an argument
547 when provided against the `aref' key. [vipul]
548
549 =back
550
551 =head1 2.22 (Nov 21 2002)
552
553 =over 4
554
555 =item *
556
557 Turned off verbose logging in ehash that was left on by mistake. [vipul]
558
559 =item *
560
561 Some user contributed additions to the FAQ.
562
563 =back
564
565
566
567 =head1 2.21 (Nov 19 2002)
568
569 =over 4
570
571 =item *
572
573 Ephemeral Hash reverts to the entire content when both sections are
574 composed of whitespace. This makes a certain type of false positives go
575 away. [vipul]
576
577 =item *
578
579 Razor2::Client::Core skips whitespace only message parts. [vipul]
580
581 =item *
582
583 DebugLevel 15 prints out the content after preprocessing, just before the
584 signatures are computed. [vipul]
585
586 =back
587
588
589
590 =head1 2.20 (Oct 15, 2002) (First Stable Version)
591
592 =over 4
593
594 =item *
595
596 If log file isn't writable for whatever reason, we write logs to
597 /dev/null. [vipul]
598
599 =item *
600
601 We look for stray C<\r>'s in the split_mime function. Thanks to
602 Jim <[email protected]> for pointing this out. [vipul]
603
604 =item *
605
606 Added a significantly faster XS version of deHTML code. [vipul]
607
608 =item *
609
610 Made ::Agent taint friendly. [vipul]
611
612 =item *
613
614 Added support for passing an already open filehandle to C<::Agent::checkit()>
615 and C<::Agent::parse_mbox()> [vipul]
616
617 =item *
618
619 Made logic_method 4 the default. [vipul]
620
621 =item *
622
623 Added Razor2::Syslog to the package. [vipul]
624
625 =back
626
627 =head1 2.14 (July 24, 2002)
628
629 =over 4
630
631 =item *
632
633 General release of 2.126 [chad]
634
635 =back
636
637 =head1 2.126 (July 24, 2002)
638
639 =over 4
640
641 =item *
642
643 Improved logic again for detecting spam.
644 [chad, vipul]
645
646 =item *
647
648 Run-time warnings are disabled unless in debug mode.
649 [chad]
650
651 =back
652
653 =head1 2.125 (July 18, 2002)
654
655 =over 4
656
657 =item *
658
659 Improved logic for detecting spam, now we only
660 look at visible and/or significant mime parts.
661 [chad, vipul]
662
663 =item *
664
665 Mime parts cleaned to only whitespace are now ignored on
666 the client side,
667 that is, they are not checked against server
668 [chad]
669
670 =item *
671
672 Fixed bug in report (err 202)
673 [chad]
674
675 =item *
676
677 Quieted more warnings
678 [chad]
679
680
681
682
683
684 =back
685
686 =head1 2.123 (July 17, 2002)
687
688 =over 4
689
690 =item *
691
692 Fixed bug in revoke/report
693 [chad]
694
695 =item *
696
697 Whitelist now looks at all 'Received:' headers for matching
698 [chad]
699
700
701 =item *
702
703 Added debuglevel, whitelist cmd-line options
704 [chad]
705
706 =item *
707
708 Quieted more warnings
709 [chad]
710
711
712
713
714
715 =back
716
717 =head1 2.122 (July 15, 2002)
718
719 =over 4
720
721 =item *
722
723 Renamed razor-register razor-admin. To register, you must
724 'razor-admin -register'
725 [chad]
726
727 =item *
728
729 Cleanded up how we store mail parts. Each mail object now
730 has a part object that stores info relevant to that part.
731 [chad]
732
733 =item *
734
735 Fixed parse_mbox (reading mbox and rfc822 mails)
736 [chad]
737
738 =item *
739
740 Backup any existing identity files before writing over them (with new identity)
741 [chad]
742
743 =item *
744
745 Added lock file support, so only one process writes to servers.*.lst at a time
746 [chad]
747
748 =item *
749
750 Added rediscover_wait_dns
751 [chad]
752
753 =item *
754
755 Fixed a bug when we rediscover, we save info to list correctly but
756 when using it we skip the first server
757 [chad]
758
759 =item *
760
761 Fixed whitelist so rule 'from xx' only matches 'From: .*xx' not 'From .*xx'
762 (Note the ':')
763 [chad]
764
765 =item *
766
767 Made exit codes cleaner
768 [chad]
769 0 or 1 => no error
770 2 or greater => error
771
772 =item *
773
774 Fixed error msg/exit code after disconnect
775 [chad]
776
777 =item *
778
779 Added -w to razor binaries
780 [chad]
781
782 =item *
783
784 If authen fails 'cuz unknown user (213), attempt re-register
785 [chad]
786
787 =item *
788
789 Quieted a bunch of warnings
790 [chad]
791
792
793
794
795
796
797 =back
798
799 =head1 2.12 (June 28, 2002)
800
801 =over 4
802
803 =item *
804
805 Man pages install correctly.
806 [chad]
807
808 =item *
809
810 Updated 'razor-register -create' so it creates home, conf,
811 and forces discovery creating all .lst files.
812 [chad]
813
814 =item *
815
816 added -discover switch to force discovery
817 [chad]
818
819 =item *
820
821 Everytime server bumps srl, force discovery.
822 [chad]
823
824 =item *
825
826 Fixed bug in preprocessor for engine 1, might
827 have caused false postivies.
828 [chad]
829
830 =item *
831
832 Whitelist fixed.
833 [chad]
834
835 =item *
836
837 Default logging is much more quiet,
838 debuglevel changed from 5 to 3.
839 [chad]
840
841 =item *
842
843 Debug mode (-d) default debuglevel changed from 5 to 9
844 [chad]
845
846 =item *
847
848 Fixed lots of logging foo.
849 [chad]
850
851 =back
852
853
854
855 =head1 2.10 (June 22, 2002)
856
857 =over 4
858
859 =item *
860
861 Significantly improved runtime by not loading all packages
862 until they are needed.
863 These include: Time::HiRes Net::Ping Net::DNS.
864 [chad]
865
866 =item *
867
868 Non-mbox support added, thanx to Aaron Hopkins <[email protected]>.
869 Now you can do:
870
871 razor-check mail1 mbox mail2 ...
872
873 =item *
874
875 -M mbox option has been removed, Razor Agents will figure out
876 if file is mbox or not.
877 [chad]
878
879 =item *
880
881 Fixed a couple bugs relating to incorrect logs.
882 [chad]
883
884 =item *
885
886 Fixed a bug relating to first-time caching of a new server.
887 [chad]
888
889 =item *
890
891 Added ep4 to default server cache.
892 [chad]
893
894 =back
895
896
897
898 =head1 2.09 (June 20, 2002)
899
900 =over 4
901
902 =item *
903
904 Added a BUGS file to distribution
905 [chad]
906
907 =item *
908
909 Added an overview manpage, razor-agents(1), updated the rest.
910 [chad]
911
912 =item *
913
914 Overhauled how razorhome, config files, identity files,
915 and -create work.
916 Support the case where there is not and never will be a razor home dir.
917 New options:
918
919 -home=razorhome (all Razor Agents)
920 -ident=identity (report, revoke, and register)
921
922
923 =item *
924
925 Should not check/report if length of cleaned body part is 0.
926 [chad]
927
928 =item *
929
930 razor-register -sys switch removed
931 [chad]
932
933 =item *
934
935 Fixed various bugs relating to engine 1 and razor 1 compatibility
936 [chad]
937
938 =item *
939
940 Fixed bugs relating to sending/receiving queries to/from server.
941 [chad]
942
943 =back
944
945 =head1 2.08 (June 16, 2002)
946
947 =over 4
948
949 =item *
950
951 Removed the debug statements from Razor2::Signature::Ephemeral. [vipul]
952
953 =back
954
955 =head1 2.07 (June 15, 2002)
956
957 =over 4
958
959 =item *
960
961 Added deNewline.pm to the tarball. It was missing from 2.06. [vipul]
962
963 =back
964
965 =head1 2.06 (June 15, 2002)
966
967 =over 4
968
969 =item *
970
971 Added a deNewline preprocessor that removes trailing C<\n>s. Reflected the
972 change in the server code as well. The reason for this is that MUAs (like
973 mutt) strip trailing C<\n>'s so there's no way to get to the original
974 message. This change necessitates upgrade from old 2.x agents. [vipul]
975
976 =item *
977
978 Fixed a bug in Config.pm to use EUID instead of UID to discover user's
979 Razor config directory. Thanks to Theo Van Dinter <[email protected]> for
980 the patch. [vipul]
981
982 =item *
983
984 Fixed a bug in sort in Razor2::String. [vipul]
985
986 =back
987
988 =head1 2.05 (June 15, 2002)
989
990 =over 4
991
992 =item *
993
994 Fixed port bug with bootstrap_discovery (initial register fails) -chad
995
996 =back
997
998 =head1 2.04 (June 13, 2002)
999
1000 =over 4
1001
1002 =item *
1003
1004 Added 'use_engines' to razor-agent.conf(5) [chad]
1005
1006 =item *
1007
1008 Fixed a bug in reading port from server:port. Thanks to Theo Van Dinter <[email protected]>. [chad]
1009
1010 =item *
1011
1012 Client behaves properly by sending a=q when done with server. [chad]
1013
1014 =item *
1015
1016 Client now turns off VR2 by default. [chad]
1017
1018 =item *
1019
1020 Logs to stdout if -d (debuggin) cmd-line option is used. [chad]
1021
1022 =item *
1023
1024 Register string now Razor-Agents v2.xx. [chad]
1025
1026 =back
1027
1028 =head1 2.03 (June 13, 2002)
1029
1030 =over 4
1031
1032 =item *
1033
1034 Fixed a bug in deHTML that was causing razor-check to hang on certain type
1035 of content.
1036
1037 =item *
1038
1039 Fixed a bug in regexes in the MIME decoding function.
1040
1041 =back
1042
1043
1044