File: Changes

package info (click to toggle)
razor 2.670-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 524 kB
  • ctags: 187
  • sloc: perl: 4,604; ansic: 139; makefile: 63; sh: 7
file content (725 lines) | stat: -rw-r--r-- 12,836 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
# Use 'perldoc Changes' to read this file.

=head1 NAME

Changes - razor-agents

=head2 2.67 (December 03, 2004)

=over 4

=item * 

This is a patch release that fixes a bug in the Whiplash
signature scheme. The bug was in the new code added to support
canonicalization of domains. It caused the signature algorithm
to generate no signatures on valid content.

=back

=head2 2.66 (December 02, 2004) 

=over 4

=item * 

Introduced support for country domain canonicalization in the
Whiplash signature scheme. This means domains like foo.co.uk
would be extracted correctly by Whiplash. This change affords a
considerable improvement in accuracy.

=item * 

Modified the revocation logic to do signature-only
communications with the server. All versions of razor-agents
prior to this sent the entire message on razor-revoke, and even
though the backend would drop the messages after computing
signatures, this entailed a privacy risk. From this version on
razor-agents will _never_ send the contents of a revoked message
to the backend servers.

=item *

Fixed a bug in C<se> (supported engines) computation, which was
broken when the C<se> mask was larger than 8 bits. This would
sometimes disable the use of engine 4 (ehash). This fix would
also afford an increase in accuracy due to ehash being used
everytime.

=item * 

Fixed a bug in report by message. Version 2.61 would drop MIME
headers on certain spam messages which would cause the backend
to ignore these messages as malformed.

=back

=head1 2.61 (July 06, 2004)

=over 4

=item * 

Introduced the Whiplash signature scheme. Whiplash signatures
are based on canonical domain names present in URLs embedded in
spam messages. A Whiplash signature is also a function of the
length of the spam message. It's important to note that not all
whiplashes are used as classifiers. The Whiplash engine is
augmented by sophesticated logic on the Razor2 backend to select
the Whiplashes that are used to filter spam.

=item *

Fixed a bug in MIME parser whereby some broken MIME mails were
invisible to the system. [Bug #788723]

=item *

We override the C<use_engines> parameter in the config file
because this version supports different engines but leaves the
config file untouched. [Bug #984374]

=item * 

Engine 1 support completely removed. Engine 1 was a signature
scheme compatible with the old razor v1 signatures, which is no
longer supported on the backend. [Bug #975490]

=back

=head1 2.40 (Dec 07, 2003) 

=over 4 

=item * 

Applied patch from Michael (lemkemch) to make Razor Agents work on VMS. 
(SF patch #797003).

=item * 

Applied another Makefile.PL patch from Michael Schwern to correctly
install manpages in part 5 of the manual set in various versions of perl.

=item * 

Applied patch from Mark Martinec and Vivek Khera of Amavid to untaint
various file targets obtained from user input. This is the same patch pointed
to by the SpamAssassin FAQ
[http://www.spamassassin.org/released/Razor2.patch]

=item * 

Support for HTTP 1.1 tunneling [SF patch #821324] by Jon Schewe.

=item *

Applied Anne Bennett's patch to Logger.pm to introduce a new log
target, "syslog-sys", that talks to Syslog over a Unix socket rather
than a TCP socket.

=item * 

Applied Anne Bennett's patch to deHTML.xs to get rid of the type
mismatch warning.

=item *

Removed computation of signatures that are no longer supported by the
backend -- engines 1, 2 and 3. Digest::Nilsimsa no longer required by
Razor Agents.

=back

=head1 2.36 (Aug 05, 2003)

=over 4

=item *

Removed some experimental code.

=back

=head1 2.35 (Aug 05, 2003)

=over 4

=item *

Applied a patch to Makefile.PL by Michael Schwern. This patch makes
Makefile.PL compatible with new MakeMaker and behave better in general.

=item *

C++ style comments in deHTML code replaced with C comments so the code
compiles with C compilers other than GCC.

=item *

Applied patch [SF patch #766292] by Suren A. Chilingaryan to detect and
skip body parts that only contain MIME headers.

=back

=head1 2.34 (May 16, 2003)

=over 4

=item *

Fixed a bug where razor-check would terminate prematurely on messages for
which it could not compute a signature. Thanks to Bela Lubkin for tracking
this and several other bugs down! [vipul]

=item * 

We don't do server sorting by distance anymore. Most servers are closeby,
so we use the order the discovery server gives us. [vipul]

=item * 

Introduced SOCKS support. Net::SOCKS is required in order to use SOCKS.
Specify socks_server in the config file. [vipul]

=item *

Fixed a bug in String::split_mime(); the MIME boundry was being spuriously
set in certain cases. [SF bug #707850 by Jams H Thompson]. [vipul]

=item * 

Razor agents use getpwuid() instead of getlogin() to determine the user's
home directory. [SF bug #650410 by Jochen Erwied]. [vipul]

=item * 

A bug in the selection of zone prefixes in bootstrap discovery was fixed.
[SF bug #604679 by Bill Sobel] [vipul]

=item * 

Razorhome is gleaned from the config file passed to razor-agents, if all
else fails. "razor-report -conf=/etc/razor/razor.conf spam" will use
/etc/razor as its home if no other home is found (eg in $HOME/.razor).
To force a particular Razorhome value, use the -home=path option. [vipul]

=item *

Rewrote many error messages to be descriptive and helpful. [vipul]

=item * 

auth=ai provides client name and version. [vipul]

=item * 

discover() will force bootstrap discovery when all discovery servers are
unavailable. This fixes a bug where by razor-agents would try to connect 
to the old Razor2 discovery server found in servers.discovery.lst. [vipul]

=item * 

reportit() in background mode will return faster. [vipul]

=item *

checkit(), reportit(), parse_mbox(), etc take an ARRAY hash as an argument
when provided against the `aref' key. [vipul]

=back

=head1 2.22 (Nov 21 2002)

=over 4

=item * 

Turned off verbose logging in ehash that was left on by mistake. [vipul]

=item * 

Some user contributed additions to the FAQ.

=back



=head1 2.21 (Nov 19 2002) 

=over 4

=item *

Ephemeral Hash reverts to the entire content when both sections are
composed of whitespace. This makes a certain type of false positives go
away. [vipul]

=item *

Razor2::Client::Core skips whitespace only message parts. [vipul]

=item *

DebugLevel 15 prints out the content after preprocessing, just before the
signatures are computed. [vipul]

=back



=head1 2.20 (Oct 15, 2002) (First Stable Version)

=over 4

=item * 

If log file isn't writable for whatever reason, we write logs to
/dev/null. [vipul]

=item * 

We look for stray C<\r>'s in the split_mime function. Thanks to 
Jim <jim@ironchicken.org> for pointing this out. [vipul]

=item * 

Added a significantly faster XS version of deHTML code. [vipul]

=item * 

Made ::Agent taint friendly. [vipul]

=item * 

Added support for passing an already open filehandle to C<::Agent::checkit()>
and C<::Agent::parse_mbox()> [vipul]

=item * 

Made logic_method 4 the default. [vipul]

=item * 

Added Razor2::Syslog to the package. [vipul]

=back

=head1 2.14 (July 24, 2002)

=over 4

=item * 

General release of 2.126 [chad]

=back

=head1 2.126 (July 24, 2002)

=over 4

=item * 

Improved logic again for detecting spam.
[chad, vipul]

=item * 

Run-time warnings are disabled unless in debug mode.
[chad]

=back

=head1 2.125 (July 18, 2002)

=over 4

=item * 

Improved logic for detecting spam, now we only 
look at visible and/or significant mime parts.
[chad, vipul]

=item * 

Mime parts cleaned to only whitespace are now ignored on 
the client side,
that is, they are not checked against server
[chad]

=item * 

Fixed bug in report (err 202)
[chad]

=item * 

Quieted more warnings
[chad]





=back

=head1 2.123 (July 17, 2002)

=over 4

=item * 

Fixed bug in revoke/report
[chad]

=item * 

Whitelist now looks at all 'Received:' headers for matching
[chad]


=item * 

Added debuglevel, whitelist cmd-line options
[chad]

=item * 

Quieted more warnings
[chad]





=back

=head1 2.122 (July 15, 2002)

=over 4

=item * 

Renamed razor-register razor-admin. To register, you must
'razor-admin -register'
[chad]

=item * 

Cleanded up how we store mail parts.  Each mail object now
has a part object that stores info relevant to that part.
[chad]

=item * 

Fixed parse_mbox (reading mbox and rfc822 mails)
[chad]

=item * 

Backup any existing identity files before writing over them (with new identity)
[chad]

=item * 

Added lock file support, so only one process writes to servers.*.lst at a time
[chad]

=item * 

Added rediscover_wait_dns
[chad]

=item * 

Fixed a bug when we rediscover, we save info to list correctly but
when using it we skip the first server
[chad]

=item * 

Fixed whitelist so rule 'from xx' only matches 'From: .*xx' not 'From .*xx'
(Note the ':')
[chad]

=item * 

Made exit codes cleaner
[chad]
 0 or 1       => no error
 2 or greater => error

=item * 

Fixed error msg/exit code after disconnect
[chad]

=item * 

Added -w to razor binaries
[chad]

=item * 

If authen fails 'cuz unknown user (213), attempt re-register
[chad]

=item * 

Quieted a bunch of warnings
[chad]






=back

=head1 2.12 (June 28, 2002)

=over 4

=item * 

Man pages install correctly.
[chad]

=item * 

Updated 'razor-register -create' so it creates home, conf,
and forces discovery creating all .lst files.
[chad]

=item * 

added -discover switch to force discovery
[chad]

=item * 

Everytime server bumps srl, force discovery.
[chad]

=item * 

Fixed bug in preprocessor for engine 1, might
have caused false postivies.
[chad]

=item * 

Whitelist fixed.
[chad]

=item * 

Default logging is much more quiet,
debuglevel changed from 5 to 3.
[chad]

=item * 

Debug mode (-d) default debuglevel changed from 5 to 9
[chad]

=item * 

Fixed lots of logging foo.
[chad]

=back



=head1 2.10 (June 22, 2002)

=over 4

=item * 

Significantly improved runtime by not loading all packages
until they are needed.
These include: Time::HiRes Net::Ping Net::DNS.
[chad]

=item * 

Non-mbox support added, thanx to Aaron Hopkins <aaron@die.net>.
Now you can do:

 razor-check mail1 mbox mail2 ...

=item * 

-M mbox option has been removed, Razor Agents will figure out
if file is mbox or not.
[chad]

=item * 

Fixed a couple bugs relating to incorrect logs.
[chad]

=item * 

Fixed a bug relating to first-time caching of a new server.
[chad]

=item * 

Added ep4 to default server cache.
[chad]

=back



=head1 2.09 (June 20, 2002)

=over 4

=item * 

Added a BUGS file to distribution
[chad]

=item * 

Added an overview manpage, razor-agents(1), updated the rest.
[chad]

=item * 

Overhauled how razorhome, config files, identity files,
and -create work.  
Support the case where there is not and never will be a razor home dir.
New options:

 -home=razorhome  (all Razor Agents)
 -ident=identity  (report, revoke, and register)


=item * 

Should not check/report if length of cleaned body part is 0.
[chad]

=item * 

razor-register -sys switch removed
[chad]

=item * 

Fixed various bugs relating to engine 1 and razor 1 compatibility
[chad]

=item * 

Fixed bugs relating to sending/receiving queries to/from server.
[chad]

=back

=head1 2.08 (June 16, 2002)

=over 4

=item * 

Removed the debug statements from Razor2::Signature::Ephemeral. [vipul]

=back

=head1 2.07 (June 15, 2002)

=over 4

=item * 

Added deNewline.pm to the tarball.  It was missing from 2.06. [vipul]

=back

=head1 2.06 (June 15, 2002)

=over 4

=item * 

Added a deNewline preprocessor that removes trailing C<\n>s. Reflected the
change in the server code as well. The reason for this is that MUAs (like
mutt) strip trailing C<\n>'s so there's no way to get to the original
message. This change necessitates upgrade from old 2.x agents. [vipul]

=item * 

Fixed a bug in Config.pm to use EUID instead of UID to discover user's
Razor config directory. Thanks to Theo Van Dinter <felicity@kluge.net> for
the patch. [vipul]

=item *

Fixed a bug in sort in Razor2::String. [vipul]

=back

=head1 2.05 (June 15, 2002)

=over 4

=item * 

Fixed port bug with bootstrap_discovery (initial register fails) -chad

=back

=head1 2.04 (June 13, 2002)

=over 4

=item * 

Added 'use_engines' to razor-agent.conf(5) [chad]

=item * 

Fixed a bug in reading port from server:port. Thanks to Theo Van Dinter <felicity@kluge.net>. [chad]

=item * 

Client behaves properly by sending a=q when done with server. [chad]

=item * 

Client now turns off VR2 by default. [chad]

=item * 

Logs to stdout if -d (debuggin) cmd-line option is used. [chad]

=item * 

Register string now Razor-Agents v2.xx. [chad]

=back

=head1 2.03 (June 13, 2002)

=over 4

=item * 

Fixed a bug in deHTML that was causing razor-check to hang on certain type
of content.

=item * 

Fixed a bug in regexes in the MIME decoding function.

=back