for more
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1323
Script for NAT and more 02/02/01
Script for NAT and more is an iptables firewall script. more>>
Script for NAT and more is an iptables firewall script.
Sample:
# Location of IPTables
FW="`whereis -b iptables | cut -d " " -f 2`"
# Interface Configuration
IF0="eth0"
IP0="`ifconfig $IF0 | grep inet | cut -d : -f 2 | cut -d -f 1`"
MASK0="`ifconfig $IF0 | grep Mask | cut -d : -f 4`"
LOCALNET="$IP0"
echo "IP: $LOCALNET/$MASK0"
# Inside Interface (Can be either eth1 or none)
IF1="eth1"
IP1="`ifconfig $IF1 | grep inet | cut -d : -f 2 | cut -d -f 1`"
MASK1="`ifconfig $IF1 | grep Mask | cut -d : -f 4`"
GWIP="$IP1"
echo "LAN Gateway: $GWIP/$MASK1"
if [ $IF1 != none ]; then
LAN="10.0.1.0/24"
HOST0="10.0.1.2"
HOST1="10.0.1.3"
fi
# Everyone
WORLD="0/0"
# Options
TOS=no
ICMP=yes
# Flush
$FW -F INPUT
$FW -F OUTPUT
$FW -F FORWARD
$FW -F -t nat
$FW -F -t mangle
$FW -F LOGDROP
# Policy
$FW -P INPUT DROP
$FW -P OUTPUT ACCEPT
$FW -P FORWARD ACCEPT
# Create Event Logging
if [ -z "`iptables -L | grep LOGDROP`" ]; then
$FW -N LOGDROP 2>/dev/null
fi
$FW -A LOGDROP -p TCP -j LOG --log-level info --log-prefix "TCP Drop "
$FW -A LOGDROP -p UDP -j LOG --log-level info --log-prefix "UDP Drop "
$FW -A LOGDROP -p ICMP -j LOG --log-level info --log-prefix "ICMP Drop "
$FW -A LOGDROP -f -j LOG --log-level emerg --log-prefix "FRAG Drop "
$FW -A LOGDROP -j DROP
echo "Event logging added"
# $FW -A INPUT -i eth0 -j LOG
# Avoid these from being logged (gets annoying)
# $FW -A INPUT -s $WORLD -p TCP --sport 6666:7000 -d $LOCALNET -j ACCEPT
# $FW -A INPUT -s 24.0.0.0/8 -p ALL -d $LOCALNET -j DROP
# LAN Configuration
# Dynamic IP
$FW -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# Static IP
# $FW -t nat -A POSTROUTING -o $IF0 -s $LAN -j SNAT --to $LOCALNET
$FW -A FORWARD -o eth0 -j ACCEPT
$FW -A FORWARD -i eth0 -m state --state ESTABLISHED -j ACCEPT
$FW -A FORWARD -p TCP -s $WORLD --dport 137:139 -j DROP
$FW -A FORWARD -p UDP -s $WORLD --sport 137:139 -j DROP
# $FW -A FORWARD -p TCP --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 1
$FW -A INPUT -m state --state ESTABLISHED -j ACCEPT
# $FW -A OUTPUT -p TCP -s $LAN --syn -j ACCEPT
$FW -A INPUT -p TCP --tcp-flags ALL SYN,ACK -j ACCEPT
$FW -P FORWARD DROP
# Port Forwarding
##### Traffic via LAN
# $FW -t nat -A POSTROUTING -p TCP -o eth0 -s $LAN --sport 6667:7000 -j SNAT
# --to $LOCALNET:6666-7000
# FTP
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 20 -j DNAT
--to $HOST0:20
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 21 -j DNAT
--to $HOST0:21
# SSH
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 22 -j DNAT
--to $HOST0:22
# Telnet (seperate system)
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 23 -j DNAT
--to $HOST1:23
# WWW
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 80 -j DNAT
--to $HOST0:80
# Type Of Services (iptables -m tos -h for information)
if [ $TOS = yes ]; then
$FW -t mangle -A OUTPUT -p TCP --dport 20 -j TOS --set-tos 8
$FW -t mangle -A OUTPUT -p TCP --dport 21 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 22 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 23 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 25 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 80 -j TOS --set-tos 8
##
$FW -t mangle -A PREROUTING -p TCP --dport 20 -j TOS --set-tos 8
$FW -t mangle -A PREROUTING -p TCP --dport 21 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 22 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 23 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 25 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 80 -j TOS --set-tos 8
fi
# Permit full access from LAN
$FW -A INPUT -s $LAN -p TCP -d $LOCALNET --dport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p UDP -d $LOCALNET --sport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p TCP -d $GWIP --dport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p UDP -d $GWIP --sport 20: -j ACCEPT
##### Traffic via local system
# Permit Identd (Local machine)
$FW -A INPUT -s $WORLD -d $LOCALNET -p TCP --dport 113 -j ACCEPT
# Permit ICMP response
if [ $ICMP = yes ]; then
$FW -A OUTPUT -s $LOCALNET -d $WORLD -o $IF0 -p ICMP -j ACCEPT
$FW -A INPUT -s $WORLD -d $LOCALNET -i $IF0 -p ICMP -j ACCEPT
fi
<<lessSample:
# Location of IPTables
FW="`whereis -b iptables | cut -d " " -f 2`"
# Interface Configuration
IF0="eth0"
IP0="`ifconfig $IF0 | grep inet | cut -d : -f 2 | cut -d -f 1`"
MASK0="`ifconfig $IF0 | grep Mask | cut -d : -f 4`"
LOCALNET="$IP0"
echo "IP: $LOCALNET/$MASK0"
# Inside Interface (Can be either eth1 or none)
IF1="eth1"
IP1="`ifconfig $IF1 | grep inet | cut -d : -f 2 | cut -d -f 1`"
MASK1="`ifconfig $IF1 | grep Mask | cut -d : -f 4`"
GWIP="$IP1"
echo "LAN Gateway: $GWIP/$MASK1"
if [ $IF1 != none ]; then
LAN="10.0.1.0/24"
HOST0="10.0.1.2"
HOST1="10.0.1.3"
fi
# Everyone
WORLD="0/0"
# Options
TOS=no
ICMP=yes
# Flush
$FW -F INPUT
$FW -F OUTPUT
$FW -F FORWARD
$FW -F -t nat
$FW -F -t mangle
$FW -F LOGDROP
# Policy
$FW -P INPUT DROP
$FW -P OUTPUT ACCEPT
$FW -P FORWARD ACCEPT
# Create Event Logging
if [ -z "`iptables -L | grep LOGDROP`" ]; then
$FW -N LOGDROP 2>/dev/null
fi
$FW -A LOGDROP -p TCP -j LOG --log-level info --log-prefix "TCP Drop "
$FW -A LOGDROP -p UDP -j LOG --log-level info --log-prefix "UDP Drop "
$FW -A LOGDROP -p ICMP -j LOG --log-level info --log-prefix "ICMP Drop "
$FW -A LOGDROP -f -j LOG --log-level emerg --log-prefix "FRAG Drop "
$FW -A LOGDROP -j DROP
echo "Event logging added"
# $FW -A INPUT -i eth0 -j LOG
# Avoid these from being logged (gets annoying)
# $FW -A INPUT -s $WORLD -p TCP --sport 6666:7000 -d $LOCALNET -j ACCEPT
# $FW -A INPUT -s 24.0.0.0/8 -p ALL -d $LOCALNET -j DROP
# LAN Configuration
# Dynamic IP
$FW -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# Static IP
# $FW -t nat -A POSTROUTING -o $IF0 -s $LAN -j SNAT --to $LOCALNET
$FW -A FORWARD -o eth0 -j ACCEPT
$FW -A FORWARD -i eth0 -m state --state ESTABLISHED -j ACCEPT
$FW -A FORWARD -p TCP -s $WORLD --dport 137:139 -j DROP
$FW -A FORWARD -p UDP -s $WORLD --sport 137:139 -j DROP
# $FW -A FORWARD -p TCP --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 1
$FW -A INPUT -m state --state ESTABLISHED -j ACCEPT
# $FW -A OUTPUT -p TCP -s $LAN --syn -j ACCEPT
$FW -A INPUT -p TCP --tcp-flags ALL SYN,ACK -j ACCEPT
$FW -P FORWARD DROP
# Port Forwarding
##### Traffic via LAN
# $FW -t nat -A POSTROUTING -p TCP -o eth0 -s $LAN --sport 6667:7000 -j SNAT
# --to $LOCALNET:6666-7000
# FTP
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 20 -j DNAT
--to $HOST0:20
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 21 -j DNAT
--to $HOST0:21
# SSH
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 22 -j DNAT
--to $HOST0:22
# Telnet (seperate system)
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 23 -j DNAT
--to $HOST1:23
# WWW
$FW -t nat -A PREROUTING -d $LOCALNET -p TCP --dport 80 -j DNAT
--to $HOST0:80
# Type Of Services (iptables -m tos -h for information)
if [ $TOS = yes ]; then
$FW -t mangle -A OUTPUT -p TCP --dport 20 -j TOS --set-tos 8
$FW -t mangle -A OUTPUT -p TCP --dport 21 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 22 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 23 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 25 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A OUTPUT -p TCP --dport 80 -j TOS --set-tos 8
##
$FW -t mangle -A PREROUTING -p TCP --dport 20 -j TOS --set-tos 8
$FW -t mangle -A PREROUTING -p TCP --dport 21 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 22 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 23 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 25 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p UDP --dport 53 -j TOS --set-tos 16
$FW -t mangle -A PREROUTING -p TCP --dport 80 -j TOS --set-tos 8
fi
# Permit full access from LAN
$FW -A INPUT -s $LAN -p TCP -d $LOCALNET --dport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p UDP -d $LOCALNET --sport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p TCP -d $GWIP --dport 20: -j ACCEPT
$FW -A INPUT -s $LAN -p UDP -d $GWIP --sport 20: -j ACCEPT
##### Traffic via local system
# Permit Identd (Local machine)
$FW -A INPUT -s $WORLD -d $LOCALNET -p TCP --dport 113 -j ACCEPT
# Permit ICMP response
if [ $ICMP = yes ]; then
$FW -A OUTPUT -s $LOCALNET -d $WORLD -o $IF0 -p ICMP -j ACCEPT
$FW -A INPUT -s $WORLD -d $LOCALNET -i $IF0 -p ICMP -j ACCEPT
fi
Download (MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
982 downloads
B::More 1.01
B::More Perl module contains additional introspection methods and functions. more>>
B::More Perl module contains additional introspection methods and functions.
Adds stuff I needed in B and wasnt there.
Feel free to email me with suggestions for other methods I can add.
B::SV METHODS
svref
Inverse of B::svref_2object.
B::PVMG METHODS
magic
Returns a string containing the types of all MAGIC.
magic TYPE
Returns the B::MAGIC object for the magic with specified type, or undef if no magic with that type was found.
FUNCTIONS
defstash
Returns the default stash (main::) as B::HV object.
curstash
Returns the current stash (package) as B::HV object. Note that this only makes sense at compile time (in a BEGIN-block or in eval-string).
<<lessAdds stuff I needed in B and wasnt there.
Feel free to email me with suggestions for other methods I can add.
B::SV METHODS
svref
Inverse of B::svref_2object.
B::PVMG METHODS
magic
Returns a string containing the types of all MAGIC.
magic TYPE
Returns the B::MAGIC object for the magic with specified type, or undef if no magic with that type was found.
FUNCTIONS
defstash
Returns the default stash (main::) as B::HV object.
curstash
Returns the current stash (package) as B::HV object. Note that this only makes sense at compile time (in a BEGIN-block or in eval-string).
Download (0.003MB)
Added: 2007-06-25 License: Perl Artistic License Price:
851 downloads

jEdit for Unix 4.3pre12
a programmers text editor written in Java more>> jEdit is a mature programmers text editor with hundreds (counting the time developing plugins) of person-years of development behind it. To download, install, and set up jEdit as quickly and painlessly as possible, go to the Quick Start page.
While jEdit beats many expensive development tools for features and ease of use, it is released as free software with full source code, provided under the terms of the GPL 2.0.
The core of jEdit was originally by Slava Pestov. Now the jEdit core, together with a large collection of plugins is maintained by a world-wide developer team.
Some of jEdits features include:
Written in Java, so it runs on Mac OS X, OS/2, Unix, VMS and Windows.
Built-in macro language; extensible plugin architecture. Dozens of macros and plugins available.
Plugins can be downloaded and installed from within jEdit using the plugin manager feature.
Auto indent, and syntax highlighting for more than 130 languages.
Supports a large number of character encodings including UTF8 and Unicode.
Folding for selectively hiding regions of text.
Word wrap.
Highly configurable and customizable.
Every other feature, both basic and advanced, you would expect to find in a text editor.<<less
Download (2.41MB)
Added: 2009-04-17 License: Freeware Price: Free
194 downloads
Clone::More 0.90.2
Clone::More is a Perl module that can copy Perl data structures. more>>
Clone::More is a Perl module that can copy Perl data structures.
SYNOPSIS
use Clone::More qw( clone );
my $structure = [
{ key => value }
];
for my $set ( @$structure ) {
my $clone = clone( $set );
for ( keys %$clone ) {
print "Everything matches" if ( exists( $set->{$_} ) && $set->{$_} eq $clone->{$_} );
}
}
This is intended to act as a utility in order to natively clone data structures via a simple Perl interface. Will ensure that all references will be separated from the parent data strure, yet kept relative to the new structure (if need be).
Please take a look at the WARNINGS, GOTCHAS and FUTURE DEVELOPMENT sections, as resources to see if this module is fully capable of doing everything that you want it to do (and it will do most everything).
<<lessSYNOPSIS
use Clone::More qw( clone );
my $structure = [
{ key => value }
];
for my $set ( @$structure ) {
my $clone = clone( $set );
for ( keys %$clone ) {
print "Everything matches" if ( exists( $set->{$_} ) && $set->{$_} eq $clone->{$_} );
}
}
This is intended to act as a utility in order to natively clone data structures via a simple Perl interface. Will ensure that all references will be separated from the parent data strure, yet kept relative to the new structure (if need be).
Please take a look at the WARNINGS, GOTCHAS and FUTURE DEVELOPMENT sections, as resources to see if this module is fully capable of doing everything that you want it to do (and it will do most everything).
Download (0.027MB)
Added: 2007-05-16 License: Perl Artistic License Price:
891 downloads
Operator 0.7 for Firefox
Operator is a Firefox extension that lets you combine information on Web sites with applications in ways that are useful. more>>
Operator is a Firefox extension that lets you combine information on Web sites with applications in ways that are useful.
For instance, Flickr + Google Maps, Upcoming.org + Google Calendar, Yahoo! Local + your address book, and many more possibilities and permutations.
All of these scenarios are possible due to Microformats, an emerging standard for injecting semantics into HTML.
You can use Operator to debug your microformats. Holding down the Ctrl key when you select a microformat action will show you the HTML that corresponds to that microformat. In addition, holding down the Shift key when you select a microformat action will display our internal representation of the microformat data.
If a microformat doesnt show up, but you believe there is one, it might be because the microformat is invalid. You can turn on debug mode in options to see invalid microformats.
Also, Operator was designed to be extensible. You can add more microformats and more handlers for existing microformats. For more information, check out handler-example.js and microformat-example.js in the Operator extension directory after you have installed Operator. New microformats and handlers should be placed in a directory called "microformats" in your profile directory.
I understand that I used a different way to do the translation for this version of the extension (JS file). For the next version, I will move the translation into a properties file.
<<lessFor instance, Flickr + Google Maps, Upcoming.org + Google Calendar, Yahoo! Local + your address book, and many more possibilities and permutations.
All of these scenarios are possible due to Microformats, an emerging standard for injecting semantics into HTML.
You can use Operator to debug your microformats. Holding down the Ctrl key when you select a microformat action will show you the HTML that corresponds to that microformat. In addition, holding down the Shift key when you select a microformat action will display our internal representation of the microformat data.
If a microformat doesnt show up, but you believe there is one, it might be because the microformat is invalid. You can turn on debug mode in options to see invalid microformats.
Also, Operator was designed to be extensible. You can add more microformats and more handlers for existing microformats. For more information, check out handler-example.js and microformat-example.js in the Operator extension directory after you have installed Operator. New microformats and handlers should be placed in a directory called "microformats" in your profile directory.
I understand that I used a different way to do the translation for this version of the extension (JS file). For the next version, I will move the translation into a properties file.
Download (0.059MB)
Added: 2007-07-24 License: MPL (Mozilla Public License) Price:
825 downloads
Earn-More-Money 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-04-09 License: Freeware Price: Free
198 downloads
KMSBII for Slackware 2.1.0
KDE Menu Sidebar Image Improvement is a simple improvement for your KDE Menu. more>>
KDE Menu Sidebar Image Improvement is a simple improvement for your KDE Menu that replaces default KDE Menu Sidebar image with one designed specifically for your Slackware GNULinux distribution.
Having say a Slackware or Debian or FreeBSD or any other OS/distribution logo instead of default KDE gear may be a much better choice for those of you who are just in love with your favorite *nix.
Personalized it looks sexy, it looks witty, it stresses the facts.
This project proved to be a little success because people seem to appreciate it.
So, now here we are with updated package again and it is my pleasure to hear from you that youve given it a try.
Enhancements:
- Project structure has been redefined so that it is now template based and extensible. This is basically a first attempt to unify all types of KMSBII presented at kde-look.org.
- Installation script has been dramastically improved; added new features to control the installation process and the ability to perform post-installation actions; run `./install.sh help for more information. The script is quite verbose now and informs user of every action performed in a user-friendly manner;
- Abbreviations of the project related names have been introduced to provide a convenient way to refer to them. See "ABBREVIATIONS" section of `./install.sh help output;
- Graphic source files as well as KMSBI files have been changed once again, changes have been made to achieve the best look of the KMSBI;
- Added KMSBII for Slackware GNULinux distribution v11.0.0;
- Updated documentation.
- Licensing agreement has been introduced to protect intellectual property and rights of its owner. See COPYING file for more details and "Licensing Agreement" section of this file for short explanations on how this licensing agreement works.
<<lessHaving say a Slackware or Debian or FreeBSD or any other OS/distribution logo instead of default KDE gear may be a much better choice for those of you who are just in love with your favorite *nix.
Personalized it looks sexy, it looks witty, it stresses the facts.
This project proved to be a little success because people seem to appreciate it.
So, now here we are with updated package again and it is my pleasure to hear from you that youve given it a try.
Enhancements:
- Project structure has been redefined so that it is now template based and extensible. This is basically a first attempt to unify all types of KMSBII presented at kde-look.org.
- Installation script has been dramastically improved; added new features to control the installation process and the ability to perform post-installation actions; run `./install.sh help for more information. The script is quite verbose now and informs user of every action performed in a user-friendly manner;
- Abbreviations of the project related names have been introduced to provide a convenient way to refer to them. See "ABBREVIATIONS" section of `./install.sh help output;
- Graphic source files as well as KMSBI files have been changed once again, changes have been made to achieve the best look of the KMSBI;
- Added KMSBII for Slackware GNULinux distribution v11.0.0;
- Updated documentation.
- Licensing agreement has been introduced to protect intellectual property and rights of its owner. See COPYING file for more details and "Licensing Agreement" section of this file for short explanations on how this licensing agreement works.
Download (0.082MB)
Added: 2007-01-11 License: GPL (GNU General Public License) Price:
1018 downloads
Test::More 0.70
Test::More is yet another framework for writing test scripts. more>>
Test::More is yet another framework for writing test scripts.
SYNOPSIS
use Test::More tests => 23;
# or
use Test::More qw(no_plan);
# or
use Test::More skip_all => $reason;
BEGIN { use_ok( Some::Module ); }
require_ok( Some::Module );
# Various ways to say "ok"
ok($got eq $expected, $test_name);
is ($got, $exptected, $test_name);
isnt($got, $expected, $test_name);
# Rather than print STDERR "# heres what went wrongn"
diag("heres what went wrong");
like ($got, qr/expected/, $test_name);
unlike($got, qr/expected/, $test_name);
cmp_ok($got, ==, $expected, $test_name);
is_deeply($got_complex_structure, $expected_complex_structure, $test_name);
SKIP: {
skip $why, $how_many unless $have_some_feature;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
TODO: {
local $TODO = $why;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
can_ok($module, @methods);
isa_ok($object, $class);
pass($test_name);
fail($test_name);
BAIL_OUT($why);
# UNIMPLEMENTED!!!
my @status = Test::More::status;
STOP! If youre just getting started writing tests, have a look at Test::Simple first. This is a drop in replacement for Test::Simple which you can switch to once you get the hang of basic testing.
The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple ok() function, it doesnt provide good diagnostic output.
<<lessSYNOPSIS
use Test::More tests => 23;
# or
use Test::More qw(no_plan);
# or
use Test::More skip_all => $reason;
BEGIN { use_ok( Some::Module ); }
require_ok( Some::Module );
# Various ways to say "ok"
ok($got eq $expected, $test_name);
is ($got, $exptected, $test_name);
isnt($got, $expected, $test_name);
# Rather than print STDERR "# heres what went wrongn"
diag("heres what went wrong");
like ($got, qr/expected/, $test_name);
unlike($got, qr/expected/, $test_name);
cmp_ok($got, ==, $expected, $test_name);
is_deeply($got_complex_structure, $expected_complex_structure, $test_name);
SKIP: {
skip $why, $how_many unless $have_some_feature;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
TODO: {
local $TODO = $why;
ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};
can_ok($module, @methods);
isa_ok($object, $class);
pass($test_name);
fail($test_name);
BAIL_OUT($why);
# UNIMPLEMENTED!!!
my @status = Test::More::status;
STOP! If youre just getting started writing tests, have a look at Test::Simple first. This is a drop in replacement for Test::Simple which you can switch to once you get the hang of basic testing.
The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple ok() function, it doesnt provide good diagnostic output.
Download (0.076MB)
Added: 2007-05-04 License: Perl Artistic License Price:
540 downloads
More for C++ 1.0
More for C++ is a class library that provides some features usually not common for C++. more>>
More for C++ is a class library that provides some features usually not common for C++
More for C++ includes a mark-sweep garbage collector, platform-independent classes for threading, sockets, and I/O, unit tests, and a few other utility classes.
First of all, there is a garbage collector for automatic memory management. When an object has been referenced by a special smart pointer and should not be used any more, it will be destroyed by the librarys garbage collector.
Next, there are platform independent packages for file operations, networking and multithreading. At the time being, concrete implementations exist for Win32 and GNU/Linux.
Additionally, the library has some utility classes like containers, observers and (of course the inevitable class "String" (which - like any other class provided by and used with this library - will also be managed by the garbage collector).
One of the most recent packages is called "servlet". It offers the possibility to write loadable modules for the popular Apache web server, serving dynamic content with C++.
Last but not least, "More for C++" comes with its own framework for writing unit tests. This package has been inspired by the fabulous JUnit by Kent Beck and Erich Gamma.
By using this library, you are able to combine the performance of C++ with the elegance and ease of use of Java and Python. A native garbage collector in combination with the smart pointer class helps you to avoid common programming errors like dangling pointers or memory leaks. Besides this, the platform independence helps you to easily port your programs to the most important operating systems.
<<lessMore for C++ includes a mark-sweep garbage collector, platform-independent classes for threading, sockets, and I/O, unit tests, and a few other utility classes.
First of all, there is a garbage collector for automatic memory management. When an object has been referenced by a special smart pointer and should not be used any more, it will be destroyed by the librarys garbage collector.
Next, there are platform independent packages for file operations, networking and multithreading. At the time being, concrete implementations exist for Win32 and GNU/Linux.
Additionally, the library has some utility classes like containers, observers and (of course the inevitable class "String" (which - like any other class provided by and used with this library - will also be managed by the garbage collector).
One of the most recent packages is called "servlet". It offers the possibility to write loadable modules for the popular Apache web server, serving dynamic content with C++.
Last but not least, "More for C++" comes with its own framework for writing unit tests. This package has been inspired by the fabulous JUnit by Kent Beck and Erich Gamma.
By using this library, you are able to combine the performance of C++ with the elegance and ease of use of Java and Python. A native garbage collector in combination with the smart pointer class helps you to avoid common programming errors like dangling pointers or memory leaks. Besides this, the platform independence helps you to easily port your programs to the most important operating systems.
Download (0.16MB)
Added: 2006-01-18 License: Artistic License Price:
1375 downloads
Script for a multi-homed firewall 1.2b2
Script for a multi-homed firewall is an example IPTables 1.2.1 script for a dual-homed firewall. more>>
Script for a multi-homed firewall is an example IPTables 1.2.1 script for a dual-homed firewall.
This script has not yet been tested thoroughly on a dual-homed firewall. If you find any problems, please drop me an email.
Current versions and documentation are available at http://www.sentry.net/~obsid/IPTables/rc.scripts.dir/current/
## User-defined Chains ##
Chain KEEP_STATE
The KEEP_STATE chain holds a few rules for generic stateful packet filtering.
This chain is called from many of the INPUT/OUTPUT chains to DROP "INVALID"
and perhaps "UNCLEAN" packets and allow other packets from "RELATED" or
"ESTABLISHED" connections.
CHECK_FLAGS
The CHECK_FLAGS chain contains a few rules to filter based on TCP flags.
These rules do indeed filter mainly bogus/malicious traffic(scans, etc). It
would be a good idea to keep an eye on what these rules send to the logs.
Null scans are also logged and dropped, in the mangle table.
DENY_PORTS
The DENY_PORTS chains contains a few rules to DROP and/or LOG packets based
on the source and/or destination port number of the packet.
Packets destined to/from the following ports are dropped by default in the script. These are just some examples of some commonly used ports that certain daemons/trojans/DDoS agents may utilize.
## TCP ##
137:139 SMB
2049 NFS
6000:6063 X
20034 Netbus 2 Pro
12345:12346 Netbus
27374 SubSeven
27665,27444,31335 Trinoo
10498,12754 Mstream
## UDP ##
2049 NFS
31337 BO2k
27444,31335 Trinoo
10498 mstream
These are just examples to stare at. They guarantee no real protection against the associated trojans.
For more common port numbers check out:
http://www.sans.org/newlook/resources/IDFAQ/oddports.htm
ALLOW_PORTS
The ALLOW_PORTS chain simply ACCEPTs packets based on port number. If you have
a default FORWARD policy of DROP, then you would need to utilize a chain like
this if you are DNATing/routing connections behind the firewall or perhaps
running services on(!!!) the firewall.
ALLOW_ICMP
The ALLOW_ICMP chains simply allows packets based on ICMP type. Currently
the firewall allows the flow of the following ICMP types:
Echo Reply (pong)
Destination Unreachable
Echo Request (ping)
TTL Exceeded (traceroute)
SRC_EGRESS && DST_EGRESS
The SRC_EGRESS and DST_EGRESS chains filter packets that have a source or
destination IP address matching an array of private or reserved subnets.
TOS_OUTPUT
The TOS_OUTPUT chain exists in the mangle table and mangles the TOS(Type
of Service) field in the IP header of locally generated, outgoing packets.
TOS_PREROUTING
The TOS_PREROUTING chain exists in the mangle table and mangles the TOS(Type
of Service) field in the IP header of packets being routed through the firewall.
The following user-defined chains are pretty obvious. The firewall script is designed to have a user-defined INPUT and OUTPUT chain for every available interface. From these user-defined chains are called the user-defined chains
mentioned above, which I call "Special Chains". The chains below are then called by the built-in INPUT/OUTPUT/FORWARD chains. This isnt really the rule, of course, alot of the user-defined chains mentioned above are called directly from the built-in INPUT/OUTPUT/FORWARD chains. This is done to assure proper flow of the packets through the filters.
EXTERNAL_INPUT
INTERNAL_INPUT
DMZ_INPUT
LO_INPUT
EXTERNAL_OUTPUT
INTERNAL_OUTPUT
DMZ_OUTPUT
LO_OUTPUT
<<lessThis script has not yet been tested thoroughly on a dual-homed firewall. If you find any problems, please drop me an email.
Current versions and documentation are available at http://www.sentry.net/~obsid/IPTables/rc.scripts.dir/current/
## User-defined Chains ##
Chain KEEP_STATE
The KEEP_STATE chain holds a few rules for generic stateful packet filtering.
This chain is called from many of the INPUT/OUTPUT chains to DROP "INVALID"
and perhaps "UNCLEAN" packets and allow other packets from "RELATED" or
"ESTABLISHED" connections.
CHECK_FLAGS
The CHECK_FLAGS chain contains a few rules to filter based on TCP flags.
These rules do indeed filter mainly bogus/malicious traffic(scans, etc). It
would be a good idea to keep an eye on what these rules send to the logs.
Null scans are also logged and dropped, in the mangle table.
DENY_PORTS
The DENY_PORTS chains contains a few rules to DROP and/or LOG packets based
on the source and/or destination port number of the packet.
Packets destined to/from the following ports are dropped by default in the script. These are just some examples of some commonly used ports that certain daemons/trojans/DDoS agents may utilize.
## TCP ##
137:139 SMB
2049 NFS
6000:6063 X
20034 Netbus 2 Pro
12345:12346 Netbus
27374 SubSeven
27665,27444,31335 Trinoo
10498,12754 Mstream
## UDP ##
2049 NFS
31337 BO2k
27444,31335 Trinoo
10498 mstream
These are just examples to stare at. They guarantee no real protection against the associated trojans.
For more common port numbers check out:
http://www.sans.org/newlook/resources/IDFAQ/oddports.htm
ALLOW_PORTS
The ALLOW_PORTS chain simply ACCEPTs packets based on port number. If you have
a default FORWARD policy of DROP, then you would need to utilize a chain like
this if you are DNATing/routing connections behind the firewall or perhaps
running services on(!!!) the firewall.
ALLOW_ICMP
The ALLOW_ICMP chains simply allows packets based on ICMP type. Currently
the firewall allows the flow of the following ICMP types:
Echo Reply (pong)
Destination Unreachable
Echo Request (ping)
TTL Exceeded (traceroute)
SRC_EGRESS && DST_EGRESS
The SRC_EGRESS and DST_EGRESS chains filter packets that have a source or
destination IP address matching an array of private or reserved subnets.
TOS_OUTPUT
The TOS_OUTPUT chain exists in the mangle table and mangles the TOS(Type
of Service) field in the IP header of locally generated, outgoing packets.
TOS_PREROUTING
The TOS_PREROUTING chain exists in the mangle table and mangles the TOS(Type
of Service) field in the IP header of packets being routed through the firewall.
The following user-defined chains are pretty obvious. The firewall script is designed to have a user-defined INPUT and OUTPUT chain for every available interface. From these user-defined chains are called the user-defined chains
mentioned above, which I call "Special Chains". The chains below are then called by the built-in INPUT/OUTPUT/FORWARD chains. This isnt really the rule, of course, alot of the user-defined chains mentioned above are called directly from the built-in INPUT/OUTPUT/FORWARD chains. This is done to assure proper flow of the packets through the filters.
EXTERNAL_INPUT
INTERNAL_INPUT
DMZ_INPUT
LO_INPUT
EXTERNAL_OUTPUT
INTERNAL_OUTPUT
DMZ_OUTPUT
LO_OUTPUT
Download (MB)
Added: 2007-02-13 License: GPL (GNU General Public License) Price:
992 downloads
Nitrogen 1.0
Nitrogen project is a background browser and setter for X. more>>
Nitrogen project is a background browser and setter for X.
It is written in C++ using the gtkmm toolkit. It can be used in two modes: browser and recall. It is multi-head friendly and can even work in GNOME. Nitrogen has been in development for over 2 years, due to real life and laziness. For more info, check out the features section.
<<lessIt is written in C++ using the gtkmm toolkit. It can be used in two modes: browser and recall. It is multi-head friendly and can even work in GNOME. Nitrogen has been in development for over 2 years, due to real life and laziness. For more info, check out the features section.
Download (0.22MB)
Added: 2007-05-25 License: GPL (GNU General Public License) Price:
882 downloads
Make-More-Money 1.0
The Ultimate Safe Money Guide -Free Online Money Guide Make Your Online Money The Safe Way And Generate a Daily Income Stream. The best thing I came ... more>> <<less
Download (2117KB)
Added: 2009-03-31 License: Freeware Price: Free
209 downloads
More Tools Menu 1.2.1
An extension which moves new items to More Tools menu more>>
More Tools Menu 1.2.1 provides you with an excellent and powerful extension which can move new items to "More Tools" menu. Unclutter the "Tools" menu by moving new items to a "More Tools" menu.
Enhancements: Rewrite tools moving logic again, this time taking compatibility with toolbar customization into account. (#290)
Requirements: Mozilla Firefox
Added: 2009-07-06 License: MPL Price: FREE
13 downloads
Other version of More Tools Menu
Price: FREE
License:MPL
License:MPL
PHP for liunx 5.2.6
A full suite of tools for building dynamic websites more>> new: Zend Engine II with a new object model.
Some of the key features of PHP 5 include:
The Zend Engine II with a new object model and dozens of new features.
XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/).
A new SimpleXML extension for easily accessing and manipulating XML as PHP objects. It can also interface with the DOM extension and vice-versa.
A brand new built-in SOAP extension for interoperability with Web Services.
A new MySQL extension named MySQLi for developers using MySQL 4.1 and later. This new extension includes an object-oriented interface in addition to a traditional interface; as well as support for many of MySQLs new features, such as prepared statements.
SQLite has been bundled with PHP. For more information on SQLite, please visit their website.
Streams have been greatly improved, including the ability to access low-level socket operations on streams.
And lots more...<<less
Download (15.01MB)
Added: 2009-03-31 License: Freeware Price: Free
206 downloads
more.groupware 0.7.4
Moregroupware is groupware that includes standard modules like calendar, news, contacts, and more. more>>
Moregroupware is groupware that includes standard modules like news, contacts, calendar and more. To make a long story short: moregroupware is a web-based groupware application. Some of the features that are worth being mentioned:
- Contact/address management
- Webmail
- full-featured Calendar
- ToDo management
- News
- Project management
- Some preferences for each module
- available in different languages
- Skins based on Cascading Style Sheets
Main features:
- simple setup wizard
- easy module management and upgrade
- advanced rights management
- integrated online help
- easily skinnable with CSS
- based on the Smarty template engine
- works on MySQL and PostgreSQL
- available in more languages than just english
Enhancements:
- This release finally summarizes the tons of bugfixes done over the past year (more than that), and as usual we have updated the bundled libraries to current versions.
- Please read the NEWS-0.7.4 file and the documentation for more information.
- more.groupware is a web-based groupware written in PHP. Including modules like webmail, notes, todo, contacts, project management, calendar and others.
<<less- Contact/address management
- Webmail
- full-featured Calendar
- ToDo management
- News
- Project management
- Some preferences for each module
- available in different languages
- Skins based on Cascading Style Sheets
Main features:
- simple setup wizard
- easy module management and upgrade
- advanced rights management
- integrated online help
- easily skinnable with CSS
- based on the Smarty template engine
- works on MySQL and PostgreSQL
- available in more languages than just english
Enhancements:
- This release finally summarizes the tons of bugfixes done over the past year (more than that), and as usual we have updated the bundled libraries to current versions.
- Please read the NEWS-0.7.4 file and the documentation for more information.
- more.groupware is a web-based groupware written in PHP. Including modules like webmail, notes, todo, contacts, project management, calendar and others.
Download (2.3MB)
Added: 2006-04-28 License: GPL (GNU General Public License) Price:
1280 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above for more 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