Razor2-Client-Agent
view release on metacpan or search on metacpan
- 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]
- We don't do server sorting by distance anymore. Most servers are closeby,
so we use the order the discovery server gives us. [vipul]
- Introduced SOCKS support. Net::SOCKS is required in order to use SOCKS.
Specify socks_server in the config file. [vipul]
- Fixed a bug in String::split_mime(); the MIME boundary was being spuriously
set in certain cases. [SF bug #707850 by Jams H Thompson]. [vipul]
- Razor agents use getpwuid() instead of getlogin() to determine the user's
home directory. [SF bug #650410 by Jochen Erwied]. [vipul]
- 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. [vipul]
- Rewrote many error messages to be descriptive and helpful. [vipul]
- auth=ai provides client name and version. [vipul]
- discover() will force bootstrap discovery when all discovery servers are
lib/Razor2/Client/Config.pm view on Meta::CPAN
#
EOFCLIENT
return $self->write_file( $self->{razorconf}, $hash, 0, $clientheader );
}
sub find_user {
my $self = shift;
return 1 if $self->{user};
$self->{user} = getpwuid($>) || do {
$self->log( 1, "Can't figure out who the effective user is: $!" );
return undef;
};
return 1;
}
# compute razorhome. like so:
#
# -home=/tmp/razor/ used if readable, else
# 'razorhome' from config file used if readable, else
( run in 5.188 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )