NAME
Net::Shadowsocks::Client - Shadowsocks protocol client module.
VERSION
version 0.7.0
SYNOPSIS
Shadowsocks protocol client module.
The following encryption methods are supported:
rc4-md5 rc4-sha aes-128-cbc aes-128-cfb aes-128-ofb aes-256-cbc aes-256-cfb aes-256-ofb
Experimental support of RC6 is also provided.
Please also note that both the stock libmcrypt and stock Mcrypt module do not export CTR mode, So the aes-128-ctr and aes-256-ctr method will not work out of box. You have to use this patched version of libmcrypt and Libmcrypt module from https://osdn.net/projects/mcrypt/ to get it to work.
Net::Shadowsocks::Client
VERSION
Version 0.7.0
METHODS
new
The C<new> constructor lets you create a new B<Net::Shadowsocks::Client> object.
So no big surprises there...
Returns a new B<Net::Shadowsocks::Client> or dies on error.
example use:
use Net::Shadowsocks::Client;
my $foo = Net::Shadowsocks::Client->new(
local_address => 'localhost',
local_port => 1491,
password => '49923641',
server => 'jp.ssip.club',
server_port => 23333,
method => 'rc6',
);
This is all you need to do. Take a look at client.pl under eg directory for a compelete example on how to
use the client module.
AUTHOR
Li ZHOU <lzh@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Li ZHOU.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.