rh
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 8
RH Email Server 2.0a
RH Email Server is an email server in a box. more>>
The Email Server is designed to provide services offered by its commercial email products, such as IMAP/POP services, Web-Based Email Interface and Administration, Mail Filtering, Spam Blocking and Directory-Based Authentication and Addressbooks.
RH Email Server is fine for businesses and organizations of all sizes. Multiple commercial and educational installations are already using this project. The largest current user load that has been reported is 7,000 + users.
Interoperability between RHSD projects such as the RHSD Email Server and the RHSD Domain Controller will allow for use of Single-Sign On. RHSD also utilizes IETF Standardized projects and therefore will be compatible with any Directory system compatible with LDAP v.3.
Main features:
- Web-Based Email Client for Users
- LDAP Directory / Authentication
- Mail Filtering
- Addressbooks
- Web-Based Administration Tools
- Role-Based Tool Delegation
- Spam Blocking
<<lessRH Email Server is fine for businesses and organizations of all sizes. Multiple commercial and educational installations are already using this project. The largest current user load that has been reported is 7,000 + users.
Interoperability between RHSD projects such as the RHSD Email Server and the RHSD Domain Controller will allow for use of Single-Sign On. RHSD also utilizes IETF Standardized projects and therefore will be compatible with any Directory system compatible with LDAP v.3.
Main features:
- Web-Based Email Client for Users
- LDAP Directory / Authentication
- Mail Filtering
- Addressbooks
- Web-Based Administration Tools
- Role-Based Tool Delegation
- Spam Blocking
Download (19.44MB)
Added: 2005-04-29 License: GPL (GNU General Public License) Price:
1642 downloads
PChar 1.5
pchar is a tool to characterize the bandwidth, latency, and loss of links along an end-to-end path through the Internet. more>>
pchar is a tool to characterize the bandwidth, latency, and loss of links along an end-to-end path through the Internet. It is based on the algorithms of the pathchar utility written by Van Jacobson, formerly of Lawrence Berkeley Laboratories.
pchar is a reimplementation of the pathchar utility, written by Van Jacobson. Both programs attempt to characterize the bandwidth, latency, and loss of links along an end-to-end path through the Internet. pchar works in both IPv4 and IPv6 networks.
As of pchar-1.5, the development stops.
pchar is written in C++. During various stages of development, the gcc-2.7.2.1, gcc-2.8.1, egcs-1.1.2, gcc-2.95, and gcc-3.4.2 compilers were used for building pchar. Some testing has also taken place with the Sun SparcWorks and IRIX MIPSpro C++ compilers.
pchars IPv6 support was originally written for the KAME 19991018 snapshot for FreeBSD 3.3-RELEASE. The KAME team has since tested it with FreeBSD, NetBSD, and OpenBSD, for more recent versions of the KAME IPv6 stack and the integrated IPv6 stacks in FreeBSD, NetBSD, and OpenBSD. pchar has also been run successfully on the native IPv6 stack in Solaris 8.
Enhancements:
- Source code moved from CVS to Subversion. Although generally not user-visible, the version control strings now use Subversions format.
- Builds on recent (RH 9.0-vintage) Linux systems seem to work now.
-
- Some off-by-one errors have been fixed, based on patches submitted by Anil Madhavapeddy .
-
- pchar with SNMP enabled now has at least a chance of working correctly.
-
- pchar no longer incorrectly aborts after a hop with 100% packet loss.
-
- pchar now does a better job of linking libraries using --with-snmp on machines where libsnmp depends on libcrypto, thanks to Matt Zimmerman .
-
- Some problems using --with-pcap on RedHat 7.0/7.1 (possibly other Linux distributions as well) were found thanks to a debugging session with Fran Boon .
<<lesspchar is a reimplementation of the pathchar utility, written by Van Jacobson. Both programs attempt to characterize the bandwidth, latency, and loss of links along an end-to-end path through the Internet. pchar works in both IPv4 and IPv6 networks.
As of pchar-1.5, the development stops.
pchar is written in C++. During various stages of development, the gcc-2.7.2.1, gcc-2.8.1, egcs-1.1.2, gcc-2.95, and gcc-3.4.2 compilers were used for building pchar. Some testing has also taken place with the Sun SparcWorks and IRIX MIPSpro C++ compilers.
pchars IPv6 support was originally written for the KAME 19991018 snapshot for FreeBSD 3.3-RELEASE. The KAME team has since tested it with FreeBSD, NetBSD, and OpenBSD, for more recent versions of the KAME IPv6 stack and the integrated IPv6 stacks in FreeBSD, NetBSD, and OpenBSD. pchar has also been run successfully on the native IPv6 stack in Solaris 8.
Enhancements:
- Source code moved from CVS to Subversion. Although generally not user-visible, the version control strings now use Subversions format.
- Builds on recent (RH 9.0-vintage) Linux systems seem to work now.
-
- Some off-by-one errors have been fixed, based on patches submitted by Anil Madhavapeddy .
-
- pchar with SNMP enabled now has at least a chance of working correctly.
-
- pchar no longer incorrectly aborts after a hop with 100% packet loss.
-
- pchar now does a better job of linking libraries using --with-snmp on machines where libsnmp depends on libcrypto, thanks to Matt Zimmerman .
-
- Some problems using --with-pcap on RedHat 7.0/7.1 (possibly other Linux distributions as well) were found thanks to a debugging session with Fran Boon .
Download (0.11MB)
Added: 2006-06-29 License: BSD License Price:
1221 downloads
chkrootkit 0.45
chkrootkit is a tool to locally check for signs of a rootkit. more>>
chkrootkit is a tool to locally check for signs of a rootkit.
It contains:
- chkrootkit: shell script that checks system binaries for rootkit modification.
- ifpromisc.c: checks if the interface is in promiscuous mode.
- chklastlog.c: checks for lastlog deletions.
- chkwtmp.c: checks for wtmp deletions.
- check_wtmpx.c: checks for wtmpx deletions. (Solaris only)
- chkproc.c: checks for signs of LKM trojans.
- chkdirs.c: checks for signs of LKM trojans.
- strings.c: quick and dirty strings replacement.
- chkutmp.c: checks for utmp deletions.
The following tests are made:
aliens asp bindshell lkm rexedcs sniffer w55808 wted scalper slapper z2 chkutmp amd basename biff chfn chsh cron date du dirname echo egrep env find fingerd gpm grep hdparm su ifconfig inetd inetdconf identd init killall ldsopreload login ls lsof mail mingetty netstat named passwd pidof pop2 pop3 ps pstree rpcinfo rlogind rshd slogin sendmail sshd syslogd tar tcpd tcpdump top telnetd timed traceroute vdir w write
The following rootkits, worms and LKMs are currently detected:
01. lrk3, lrk4, lrk5, lrk6 (and variants);
02. Solaris rootkit;
03. FreeBSD rootkit;
04. t0rn (and variants);
05. Ambients Rootkit (ARK);
06. Ramen Worm;
07. rh[67]-shaper;
08. RSHA;
09. Romanian rootkit;
10. RK17;
11. Lion Worm;
12. Adore Worm;
13. LPD Worm;
14. kenny-rk;
15. Adore LKM;
16. ShitC Worm;
17. Omega Worm;
18. Wormkit Worm;
19. Maniac-RK;
20. dsc-rootkit;
21. Ducoci rootkit;
22. x.c Worm;
23. RST.b trojan;
24. duarawkz;
25. knark LKM;
26. Monkit;
27. Hidrootkit;
28. Bobkit;
29. Pizdakit;
30. t0rn v8.0;
31. Showtee;
32. Optickit;
33. T.R.K;
34. MithRas Rootkit;
35. George;
36. SucKIT;
37. Scalper;
38. Slapper A, B, C and D;
39. OpenBSD rk v1;
40. Illogic rootkit;
41. SK rootkit.
42. sebek LKM;
43. Romanian rootkit;
44. LOC rootkit;
45. shv4 rootkit;
46. Aquatica rootkit;
47. ZK rootkit;
48. 55808.A Worm;
49. TC2 Worm;
50. Volc rootkit;
51. Gold2 rootkit;
52. Anonoying rootkit;
53. Shkit rootkit;
54. AjaKit rootkit;
55. zaRwT rootkit;
56. Madalin rootkit;
57. Fu rootkit;
58. Kenga3 rootkit;
59. ESRK rootkit;
chkrootkit has been tested on: Linux 2.0.x, 2.2.x, 2.4.x and 2.6.x, FreeBSD 2.2.x, 3.x, 4.x and 5.x, OpenBSD 2.x and 3.x., NetBSD 1.6.x, Solaris 2.5.1, 2.6, 8.0 and 9.0, HP-UX 11, Tru64 and BSDI.
Enhancements:
chkutmp.c (Thanks to Jeremy Miller)
- the idea of this program is to display users that may have wiped themselves from the utmp log
chkproc.c
- fix: better support for Linux threads
chkrootkit
- new test: chkutmp
- new rootkits detected: Fu, Kenga3, ESRK
- some bug fixes
homepage redesign (Thanks to Cristine Hoepers)
- navigability improvement
- the page now validates as strict XHTML
- still lynx friendly
<<lessIt contains:
- chkrootkit: shell script that checks system binaries for rootkit modification.
- ifpromisc.c: checks if the interface is in promiscuous mode.
- chklastlog.c: checks for lastlog deletions.
- chkwtmp.c: checks for wtmp deletions.
- check_wtmpx.c: checks for wtmpx deletions. (Solaris only)
- chkproc.c: checks for signs of LKM trojans.
- chkdirs.c: checks for signs of LKM trojans.
- strings.c: quick and dirty strings replacement.
- chkutmp.c: checks for utmp deletions.
The following tests are made:
aliens asp bindshell lkm rexedcs sniffer w55808 wted scalper slapper z2 chkutmp amd basename biff chfn chsh cron date du dirname echo egrep env find fingerd gpm grep hdparm su ifconfig inetd inetdconf identd init killall ldsopreload login ls lsof mail mingetty netstat named passwd pidof pop2 pop3 ps pstree rpcinfo rlogind rshd slogin sendmail sshd syslogd tar tcpd tcpdump top telnetd timed traceroute vdir w write
The following rootkits, worms and LKMs are currently detected:
01. lrk3, lrk4, lrk5, lrk6 (and variants);
02. Solaris rootkit;
03. FreeBSD rootkit;
04. t0rn (and variants);
05. Ambients Rootkit (ARK);
06. Ramen Worm;
07. rh[67]-shaper;
08. RSHA;
09. Romanian rootkit;
10. RK17;
11. Lion Worm;
12. Adore Worm;
13. LPD Worm;
14. kenny-rk;
15. Adore LKM;
16. ShitC Worm;
17. Omega Worm;
18. Wormkit Worm;
19. Maniac-RK;
20. dsc-rootkit;
21. Ducoci rootkit;
22. x.c Worm;
23. RST.b trojan;
24. duarawkz;
25. knark LKM;
26. Monkit;
27. Hidrootkit;
28. Bobkit;
29. Pizdakit;
30. t0rn v8.0;
31. Showtee;
32. Optickit;
33. T.R.K;
34. MithRas Rootkit;
35. George;
36. SucKIT;
37. Scalper;
38. Slapper A, B, C and D;
39. OpenBSD rk v1;
40. Illogic rootkit;
41. SK rootkit.
42. sebek LKM;
43. Romanian rootkit;
44. LOC rootkit;
45. shv4 rootkit;
46. Aquatica rootkit;
47. ZK rootkit;
48. 55808.A Worm;
49. TC2 Worm;
50. Volc rootkit;
51. Gold2 rootkit;
52. Anonoying rootkit;
53. Shkit rootkit;
54. AjaKit rootkit;
55. zaRwT rootkit;
56. Madalin rootkit;
57. Fu rootkit;
58. Kenga3 rootkit;
59. ESRK rootkit;
chkrootkit has been tested on: Linux 2.0.x, 2.2.x, 2.4.x and 2.6.x, FreeBSD 2.2.x, 3.x, 4.x and 5.x, OpenBSD 2.x and 3.x., NetBSD 1.6.x, Solaris 2.5.1, 2.6, 8.0 and 9.0, HP-UX 11, Tru64 and BSDI.
Enhancements:
chkutmp.c (Thanks to Jeremy Miller)
- the idea of this program is to display users that may have wiped themselves from the utmp log
chkproc.c
- fix: better support for Linux threads
chkrootkit
- new test: chkutmp
- new rootkits detected: Fu, Kenga3, ESRK
- some bug fixes
homepage redesign (Thanks to Cristine Hoepers)
- navigability improvement
- the page now validates as strict XHTML
- still lynx friendly
Download (0.036MB)
Added: 2005-09-01 License: GPL (GNU General Public License) Price:
1522 downloads
Lemonldap::NG::Handler 0.06
Lemonldap::NG::Handler is a Perl extension for building a Lemonldap compatible handler. more>>
Lemonldap::NG::Handler is a Perl extension for building a Lemonldap compatible handler.
SYNOPSIS
Create your own package:
package My::Package;
use Lemonldap::NG::Handler;
our @ISA = qw(Lemonldap::NG::Handler);
__PACKAGE__->init ({locationRules => { default => $ou =~ /brh/},
globalStorage => Apache::Session::MySQL,
globalStorageOptions => {
DataSource => dbi:mysql:database=dbname;host=127.0.0.1,
UserName => db_user,
Password => db_password,
TableName => sessions,
LockDataSource => dbi:mysql:database=dbname;host=127.0.0.1,
LockUserName => db_user,
LockPassword => db_password,
},
localStorage => Cache::DBFile,
localStorageOptions => {},
portal => https://portal/,
});
More complete example
package My::Package;
use Lemonldap::NG::Handler;
our @ISA = qw(Lemonldap::NG::Handler);
__PACKAGE__->init ( { locationRules => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept, # means that all authenticated users are greanted
},
globalStorage => Apache::Session::MySQL,
globalStorageOptions => {
DataSource => dbi:mysql:database=dbname;host=127.0.0.1,
UserName => db_user,
Password => db_password,
TableName => sessions,
LockDataSource => dbi:mysql:database=dbname;host=127.0.0.1,
LockUserName => db_user,
LockPassword => db_password,
},
localStorage => Cache::DBFile,
localStorageOptions => {},
cookieName => lemon,
portal => https://portal/,
whatToTrace => $uid,
exportedHeaders => {
Auth-User => $uid,
Unit => $ou,
https => 1,
}
);
Call your package in < apache-directory>/conf/httpd.conf
PerlRequire MyFile
# TOTAL PROTECTION
PerlInitHandler My::Package
# OR SELECTED AREA
< Location /protected-area >
PerlInitHandler My::Package
< /Location >
<<lessSYNOPSIS
Create your own package:
package My::Package;
use Lemonldap::NG::Handler;
our @ISA = qw(Lemonldap::NG::Handler);
__PACKAGE__->init ({locationRules => { default => $ou =~ /brh/},
globalStorage => Apache::Session::MySQL,
globalStorageOptions => {
DataSource => dbi:mysql:database=dbname;host=127.0.0.1,
UserName => db_user,
Password => db_password,
TableName => sessions,
LockDataSource => dbi:mysql:database=dbname;host=127.0.0.1,
LockUserName => db_user,
LockPassword => db_password,
},
localStorage => Cache::DBFile,
localStorageOptions => {},
portal => https://portal/,
});
More complete example
package My::Package;
use Lemonldap::NG::Handler;
our @ISA = qw(Lemonldap::NG::Handler);
__PACKAGE__->init ( { locationRules => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept, # means that all authenticated users are greanted
},
globalStorage => Apache::Session::MySQL,
globalStorageOptions => {
DataSource => dbi:mysql:database=dbname;host=127.0.0.1,
UserName => db_user,
Password => db_password,
TableName => sessions,
LockDataSource => dbi:mysql:database=dbname;host=127.0.0.1,
LockUserName => db_user,
LockPassword => db_password,
},
localStorage => Cache::DBFile,
localStorageOptions => {},
cookieName => lemon,
portal => https://portal/,
whatToTrace => $uid,
exportedHeaders => {
Auth-User => $uid,
Unit => $ou,
https => 1,
}
);
Call your package in < apache-directory>/conf/httpd.conf
PerlRequire MyFile
# TOTAL PROTECTION
PerlInitHandler My::Package
# OR SELECTED AREA
< Location /protected-area >
PerlInitHandler My::Package
< /Location >
Download (0.011MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1145 downloads
Lemonldap::NG::Handler::Vhost 0.06
Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual host more>>
Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual hosts.
SYNOPSIS
Create your own package:
package My::Package;
use Lemonldap::NG::Handler::Vhost;
# IMPORTANT ORDER
our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler);
__PACKAGE__->init ( { locationRules => {
vhost1.dc.com => {
default => $ou =~ /brh/
},
vhost2.dc.com => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept,
},
# Put here others Lemonldap::NG::Handler options
}
);
Other example, using Lemonldap::NG::Handler::SharedConf
package My::Package;
use Lemonldap::NG::Handler::SharedConf;
use Lemonldap::NG::Handler::Vhost;
# IMPORTANT ORDER
# our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler::SharedConf);
__PACKAGE__->init ... # as using Lemonldap::NG::Handler::SharedConf alone
Change configuration
__PACKAGE__->setConf ( {
locationRules => {
vhost1.dc.com => {
default => $ou =~ /brh/
},
vhost2.dc.com => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept,
},
},
exportedHeaders => {
vhost1.dc.com => {
Authorization=>"Basic ".MIME::Base64::encode_base64($uid),
User-Auth => $uid,
},
vhost2.dc.com => {
User-Auth => $uid,
},
}
# Put here others Lemonldap::NG::Handler::SharedConf options
}
);
Call your package in /conf/httpd.conf
PerlRequire MyFile
PerlInitHandler My::Package
Lemonldap is a simple Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application (they just
This library provides a way to protect Apache virtual hosts with Lemonldap.
<<lessSYNOPSIS
Create your own package:
package My::Package;
use Lemonldap::NG::Handler::Vhost;
# IMPORTANT ORDER
our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler);
__PACKAGE__->init ( { locationRules => {
vhost1.dc.com => {
default => $ou =~ /brh/
},
vhost2.dc.com => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept,
},
# Put here others Lemonldap::NG::Handler options
}
);
Other example, using Lemonldap::NG::Handler::SharedConf
package My::Package;
use Lemonldap::NG::Handler::SharedConf;
use Lemonldap::NG::Handler::Vhost;
# IMPORTANT ORDER
# our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler::SharedConf);
__PACKAGE__->init ... # as using Lemonldap::NG::Handler::SharedConf alone
Change configuration
__PACKAGE__->setConf ( {
locationRules => {
vhost1.dc.com => {
default => $ou =~ /brh/
},
vhost2.dc.com => {
^/pj/.*$ => q($qualif="opj"),
^/rh/.*$ => q($ou=~/brh/),
^/rh_or_opj.*$ => q($qualif="opj or $ou=~/brh/),
default => accept,
},
},
exportedHeaders => {
vhost1.dc.com => {
Authorization=>"Basic ".MIME::Base64::encode_base64($uid),
User-Auth => $uid,
},
vhost2.dc.com => {
User-Auth => $uid,
},
}
# Put here others Lemonldap::NG::Handler::SharedConf options
}
);
Call your package in /conf/httpd.conf
PerlRequire MyFile
PerlInitHandler My::Package
Lemonldap is a simple Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application (they just
This library provides a way to protect Apache virtual hosts with Lemonldap.
Download (0.011MB)
Added: 2006-09-05 License: Perl Artistic License Price:
1150 downloads
Libsocketcpp 1.0.7
Libsocketcpp provides a easy-to-use C++ socket library for TCP and UDP functionality. more>>
Libsocketcpp provides a easy-to-use C++ socket library class.
Dispite the name, the TCPSocket class can handle both UDP and TCP connections.
Unfortunatly right now, the class is simple. It does not do anything really fancy like non-blocking sockets, select which interfaces you want to use, etc...
What it does allow you to do is to set up a TCP or UDP server/client and send and receive blocks of data. Plain and simple
Enhancements:
- Fixed missing include inside tcpservertest test program.
- Should be able to compile on RH 7.0 now.
<<lessDispite the name, the TCPSocket class can handle both UDP and TCP connections.
Unfortunatly right now, the class is simple. It does not do anything really fancy like non-blocking sockets, select which interfaces you want to use, etc...
What it does allow you to do is to set up a TCP or UDP server/client and send and receive blocks of data. Plain and simple
Enhancements:
- Fixed missing include inside tcpservertest test program.
- Should be able to compile on RH 7.0 now.
Download (0.14MB)
Added: 2006-09-08 License: GPL (GNU General Public License) Price:
1142 downloads
EasySession 2.0.0
EasySession is a Perl session interface. more>>
EasySession is a Perl session interface.
SYNOPSIS
use EasySession;
if(defined(&EasySession::foo)){
print "lib is included";
}else{
print "lib is not included";
}
#{"_sid" => "B43b648fd431aac32", "a" => 1, "b" => 2}
print EasyTool::dump(create($dba,{a=>1,b=>2,c=>undef},{expire=>300}));
$dba->execute(START TRANSACTION);
my $st=CORE::time();
for(1..10000){
create($dba,{a=>1,b=>2,c=>undef},{});
}
print CORE::time()-$st;
$dba->execute(COMMIT);
print EasyTool::dump(&delete($dba,{"_sid" => "43ba09e0abd5cf13", "a" => 1, "b" => 2}));
print EasyTool::dump(&delete($dba,"43ba08a74fbe7afa"));
print EasyTool::dump(&save($dba,{"_sid" => "43ba08a74fbe7afa", "a" => 1, "b" => 2,"c"=>3}));
Basic Variables and Functions
Variables
$dba: instance of EasyDBAccess
$rh : the hash_ref to store to database
$session: $rh with key _sid
$sid: session id ([0-9a-fA-F]{8})([0-9a-fA-F]{8})
$rc : affected rows 0 or 1
$rh_option:
now => unix timestamp of now
expire => expire time after last modify
ip => ip address (int)
Functions
$session=create($dba,$rh,$rh_option);
$session=load($dba,$sid,$rh_option);
$rc =save($dba,$session,$rh_option);
#if succ return 1,if fail(no row update) return 0
#if record exist, then update, else do nothing
$rc =delete($dba , $sid|$session [,$rh_option]);
#if succ return 1,if fail(no row delete) return 0
#if record exist, then delete, else do nothing
<<lessSYNOPSIS
use EasySession;
if(defined(&EasySession::foo)){
print "lib is included";
}else{
print "lib is not included";
}
#{"_sid" => "B43b648fd431aac32", "a" => 1, "b" => 2}
print EasyTool::dump(create($dba,{a=>1,b=>2,c=>undef},{expire=>300}));
$dba->execute(START TRANSACTION);
my $st=CORE::time();
for(1..10000){
create($dba,{a=>1,b=>2,c=>undef},{});
}
print CORE::time()-$st;
$dba->execute(COMMIT);
print EasyTool::dump(&delete($dba,{"_sid" => "43ba09e0abd5cf13", "a" => 1, "b" => 2}));
print EasyTool::dump(&delete($dba,"43ba08a74fbe7afa"));
print EasyTool::dump(&save($dba,{"_sid" => "43ba08a74fbe7afa", "a" => 1, "b" => 2,"c"=>3}));
Basic Variables and Functions
Variables
$dba: instance of EasyDBAccess
$rh : the hash_ref to store to database
$session: $rh with key _sid
$sid: session id ([0-9a-fA-F]{8})([0-9a-fA-F]{8})
$rc : affected rows 0 or 1
$rh_option:
now => unix timestamp of now
expire => expire time after last modify
ip => ip address (int)
Functions
$session=create($dba,$rh,$rh_option);
$session=load($dba,$sid,$rh_option);
$rc =save($dba,$session,$rh_option);
#if succ return 1,if fail(no row update) return 0
#if record exist, then update, else do nothing
$rc =delete($dba , $sid|$session [,$rh_option]);
#if succ return 1,if fail(no row delete) return 0
#if record exist, then delete, else do nothing
Download (0.014MB)
Added: 2007-07-25 License: Perl Artistic License Price:
821 downloads
Config::YUM 1.8
Config::YUM is a Perl extension for parsing yum.conf. more>>
Config::YUM is a Perl extension for parsing yum.conf.
SYNOPSIS
use Config::YUM;
my $yp = new Config::YUM;
my $yum_conf = $yp->parse();
foreach(keys %{$yum_conf}) {
print "Section: $_ is called " . $yum_conf->{$_}->{name} . "n";
}
$yum_conf will be a a hash, all INI sections are the primary hash keys.
include= will be automatically downloaded merged with the local yum.conf
mirrorlists will also be downloaded and saved as an array in $yum_conf->{somerepo}->{baseurls}
the first url in mirrorlists will be safed as $yum_conf->{somerepo}->{baseurl}.
exclude statements will be splited and safed to $yum_conf->{somerepo}->{exclude_hash}. Note that we
safe a perl regex string as keys here.
To say it with one sentence. Config::YUM automatically parses a yum.conf does the downloading and provides you
with a ready to use perl hash. :-)
You can define a few things @ new:
- use_cache: 0/1 (1 will enable, default: 0; Uses Cache::File)
- yum_conf: path to your yum.conf (default: /etc/yum.conf)
- yum_repos_d: path to your yum.repos.d (default: /etc/yum.repos.d)
- agent: You LWP::UserAgent agent string (default: Config::YUM/$VERSION)
- releasever: Define your RH/FC release version (rpm -qf --queryformat %{VERSION} /etc/redhat-release; Default: automatically queried)
- basearch: Define your basearch (uname -i; Default: automatically discovered)
- download_primary: Define if we should download/parse the primary.xml.gz
These arguments can be specified this way (dont forget the {!)
my $yp = new Config::YUM({
use_cache => 1,
yum_conf => /etc/yum.conf,
yum_repos_d => /etc/yum.repos.d,
agent => MyProgram/$VERSION,
relasever => 4,
basearch => i386,
download_primary => 1
});
This module provides you with a few functions,
parse() will return a hash containing the allready parsed local/remote yum.conf.
yumconf_local() will return a hash containing the allready parsed local yum.conf (Will run parse(), if you didnt yet)
yumconf_remote() will return a hash containing the allready parsed remote yum.conf (Will run parse(), if you didnt yet)
<<lessSYNOPSIS
use Config::YUM;
my $yp = new Config::YUM;
my $yum_conf = $yp->parse();
foreach(keys %{$yum_conf}) {
print "Section: $_ is called " . $yum_conf->{$_}->{name} . "n";
}
$yum_conf will be a a hash, all INI sections are the primary hash keys.
include= will be automatically downloaded merged with the local yum.conf
mirrorlists will also be downloaded and saved as an array in $yum_conf->{somerepo}->{baseurls}
the first url in mirrorlists will be safed as $yum_conf->{somerepo}->{baseurl}.
exclude statements will be splited and safed to $yum_conf->{somerepo}->{exclude_hash}. Note that we
safe a perl regex string as keys here.
To say it with one sentence. Config::YUM automatically parses a yum.conf does the downloading and provides you
with a ready to use perl hash. :-)
You can define a few things @ new:
- use_cache: 0/1 (1 will enable, default: 0; Uses Cache::File)
- yum_conf: path to your yum.conf (default: /etc/yum.conf)
- yum_repos_d: path to your yum.repos.d (default: /etc/yum.repos.d)
- agent: You LWP::UserAgent agent string (default: Config::YUM/$VERSION)
- releasever: Define your RH/FC release version (rpm -qf --queryformat %{VERSION} /etc/redhat-release; Default: automatically queried)
- basearch: Define your basearch (uname -i; Default: automatically discovered)
- download_primary: Define if we should download/parse the primary.xml.gz
These arguments can be specified this way (dont forget the {!)
my $yp = new Config::YUM({
use_cache => 1,
yum_conf => /etc/yum.conf,
yum_repos_d => /etc/yum.repos.d,
agent => MyProgram/$VERSION,
relasever => 4,
basearch => i386,
download_primary => 1
});
This module provides you with a few functions,
parse() will return a hash containing the allready parsed local/remote yum.conf.
yumconf_local() will return a hash containing the allready parsed local yum.conf (Will run parse(), if you didnt yet)
yumconf_remote() will return a hash containing the allready parsed remote yum.conf (Will run parse(), if you didnt yet)
Download (0.007MB)
Added: 2007-04-12 License: Perl Artistic License Price:
926 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above rh search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed