dbiproxy with cipher on fedora F12

[email protected] (Vince Herried)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
I'm not much of a perl coder be gentle.

when I try the examples in the O'Reilly book and as shown on
http://docstore.mik.ua/orelly/linux/dbi/ch08_02.htm
I eventually got it to work by inserting some 'use' statements
( see my config file below )
But when I try the cipher i get the following error messages:

**************
[vince@desk perl]$ sudo dbiproxy --config proxy.cfg --debug --logfile /dev/tty
[sudo] password for vince: 
Error while processing config file proxy.cfg: Can't locate auto/Crypt/IDEA/new.al in @INC (@INC contains: /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at proxy.cfg line 6
 at /usr/lib/perl5/vendor_perl/5.10.0/Net/Daemon.pm line 188. at /usr/lib/perl5/vendor_perl/5.10.0/Net/Daemon/Log.pm line 136.
[vince@desk perl]$ 
********



if I comment out the cipher statement below it works????
Yes I have IDEA installed.



Here is my config file
[vince@desk perl]$ cat proxy.cfg
#use DBD::Proxy;
use Thread;
use Crypt::IDEA;

{
    facility  => 'daemon',
    pidfile   => '/var/dbiproxy/dbiproxy.pid',
    user      => 'vince',
    group     => 'vince',
    localport => '3333',
    mode      => 'fork',

    # access control
    clients => [

        # accept local lan ( 192.168.1.* )
        {
            mask   => '^192\.168\.1\.\d+$',
            accept => 1
        },

        # accept off site machines but with a cypher
        {
            mask   => '^192\.168\.2\.\d+$',
            accept => 1, 
            cipher => Crypt::IDEA->new( 'be39893df23f98a2' )
        },

        # Deny everything else
        {
            mask   => '.*',
            accept => 0
        }
    ]
}

[vince@desk perl]$ 







-- 
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.