Always disconnect from discovery server after performing discovery.
This fixes a long standing bug wherein razor-report and razor-check would attempt to report to or check against the discovery servers.
razor-client no longer creates symlinks to itself upon installation; four new scripts have been added to the distribution to replace this functionality (razor-admin,
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.
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.
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.
Fixed a bug in se (supported engines) computation,
which was broken when the 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.
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.
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.
Fixed a bug in MIME parser whereby some broken MIME mails were invisible to the system.
We override the use_engines parameter in the config file because this version supports different engines but leaves the config file untouched.
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.
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!
We don't do server sorting by distance anymore.
Most servers are closeby,
so we use the order the discovery server gives us.
Introduced SOCKS support.
Net::SOCKS is required in order to use SOCKS.
Specify socks_server in the config file.
Fixed a bug in String::split_mime(); the MIME boundry was being spuriously set in certain cases.
[SF bug #707850 by Jams H Thompson].
Razor agents use getpwuid() instead of getlogin() to determine the user's home directory.
[SF bug #650410 by Jochen Erwied].
A bug in the selection of zone prefixes in bootstrap discovery was fixed.
[SF bug #604679 by Bill Sobel] [vipul]
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.
Rewrote many error messages to be descriptive and helpful.
auth=ai provides client name and version.
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.
reportit() in background mode will return faster.
etc take an ARRAY hash as an argument when provided against the `aref' key.
Added a deNewline preprocessor that removes trailing \ns. Reflected the change in the server code as well. The reason for this is that MUAs (like mutt) strip trailing \n's so there's no way to get to the original message. This change necessitates upgrade from old 2.x agents. [vipul]
Fixed a bug in Config.pm to use EUID instead of UID to discover user's Razor config directory. Thanks to Theo Van Dinter <email@example.com> for the patch. [vipul]