Main > Free Download Search >

Free jscape inet software for linux

jscape inet

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 29
pINET 0R3

pINET 0R3


pINET implements a Python interface for the NASDAQ INET XML service. more>>
pINET implements a Python interface for the NASDAQ INET XML service. pINET allows access to real-time stock orders, executions, and statistics.
Installation:
- Place pINET.py in the directory your source resides in (site-lib, if youd like, but theres no setup.py yet)
- Replace the token variable with your INET developer token (http://data.inetats.com/members/ws/newtoken.jsp)
- import pINET ...
Examples:
- test.st.py: single-threaded example
- test.mt.py: multi-threaded example
API:
Single-threaded (see test.st.py)
- requestOrders (symbol): returns up to 50 open orders on both sides in form:
{ buy:
[{price: ..., shares: ..., type: ...}, ...],
sell:
[{price: ..., shares: ..., type: ...}, ...]
}
- requestExecs (symbol): returns up to last 100 INET executions in form:
[ {price: ..., shares: ..., time: ..., type: ...} ... ]
- requestStats (symbol): returns open, booked, and matched share statistics in form:
{ book: {shares: ..., orders: ...},
open: {shares: ..., orders: ...},
match: {shares: ..., price: ...}
}
Multi-threaded (see test.mt.py)
- class RequesterThread
RequesterThread(symbol, type):
-symbol: NASDAQ symbol
-type: {reqOrders, reqExecs, reqStats}
RequesterThread.ID contains the threads job ID, which in turn is used as the key by the pINET.jobQueue dictionary.
Enhancements:
- The Top List API has been implemented and the source has been fully documented with examples via pydoc.
- The setup.py install script and unit.py test script have also been integrated into the release.
- Lastly among minor fixes, there is also a beta Tk interface that allows tracking of the top volume list and any NASDAQ symbol, displaying price, ask and bid, volume, and five-day graph.
<<less
Download (0.002MB)
Added: 2006-02-27 License: Public Domain Price:
1334 downloads
Eiffel INET 0.8.1

Eiffel INET 0.8.1


Eiffel INET provides an Eiffel classes for writing IPV4 (TCP/UDP) servers and clients. more>>
Eiffel INET provides an Eiffel classes for writing IPV4 (TCP/UDP) servers and clients.

Eiffel INET is a set of Eiffel classes (written to be used with SmallEiffel) which allow writing TCP and UDP clients & servers. Programs written with Eiffel INET run in a single thread-less process that multiplexes several connections without blocking.

Supported compilers

The library has been widely used with SmallEiffel -0.77, SmartEiffel 1.0 y 1.1. It compiles (giving spurious warnings) with SmartEiffel 2.0, but it hasnt been tested in production. However, the demos run fine.

<<less
Download (0.025MB)
Added: 2007-04-05 License: LGPL (GNU Lesser General Public License) Price:
932 downloads
Apache Users 1.0

Apache Users 1.0


Apache Users project is an Apache username enumerator, via /~username requests. more>>
Apache Users project is an Apache username enumerator, via /~username requests. This script uses a list of common system names like root, admin etc ...

You should manually check the issue to establish the http return code, ie: 403 as this is needed for the command line. No native SSL support.

USAGE apache.pl -h 1.2.3.4 -l names -p 80 (No SSL Support) -e 403 (http code)

Sample script:

use IO::Socket;
use Getopt::Std;
getopt ("h: l: p: e: ");
use vars qw( $opt_h $opt_l $opt_p $opt_e );


if ((! $opt_h) || (! $opt_l ) || (! $opt_p ) || (! $opt_e)) {
print "nUSAGE: apache.pl -h 1.2.3.4 -l names -p 80 (No SSL Support) -e 403 (http code)nn ";

exit 1;
};

$host = $opt_h;
$list = $opt_l;
$port = $opt_p;
$num = $opt_e;

open (LIST, "$list") or die "Unable to open $list ....$!";

&connect;
exit 0;


sub connect {

foreach $name (< LIST >) {


$connection = IO::Socket::INET->new (
Proto => "tcp",
PeerAddr => "$host",
PeerPort => "$port",
) or die "Cant CONNECT to $host on the Port specified.n";

$connection -> autoflush;

chomp $name;
print $connection "GET /~$name HTTP/1.0rnrn";


$results = < $connection >;
if ( $results =~/($num)/g ) {
print "$name exists on $hostn";
};

}

close ($connection);

sleep 1;
};
close LIST;

<<less
Download (0.023MB)
Added: 2007-04-05 License: GPL (GNU General Public License) Price:
933 downloads
CB3ROB Identd 1.2

CB3ROB Identd 1.2


CB3ROB Identd is an identd implementing the auth (RFC1413) protocol for use on public Unix machines. more>>
CB3ROB Identd is an identd implementing the auth (RFC1413) protocol for use on public Unix machines. Unlike with other ident daemons, the AUTH protocol replies from this daemon cannot be spoofed by users.

CB3ROB Identd project has been optimized to handle as many requests as possible, and has been tested to work on most Linux distributions without modification.

Installation:

- become root
- unpack the files ("tar -xvzf cb3rob-identd-1.2.tgz")
- chdir to the cb3rob-identd directory ("cd cb3rob-identd")
- type "make install"
- add the service to your inet daemon (inetd or xinetd) config file
- restart inetd or xinetd
<<less
Download (0.002MB)
Added: 2007-01-18 License: Public Domain Price:
1009 downloads
NBTScan 1.5.1

NBTScan 1.5.1


NBTScan is a NetBIOS Name Network Scanner. more>>
NBTScan is a NetBIOS Name Network Scanner.
NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address.
NBTscan compiles and runs on Unix and Windows. I have tested it on Windows NT 4.0, Windows 2000, FreeBSD 4.3, OpenBSD 2.8 and RedHat Linux 7.1 and 7.3. It should also compile and run on Solaris and other Linuxes as well.
Steve Coleman (Steve (dot) Coleman (at) jhuapl (dot) edu) ported previous versions of NBTscan to Solaris, HP-UX and OSF/1 and fixed several bugs. He reports that NBTscan also runs on IRIX/SGI with minor problems. I was also told that NBTscan runs on AIX (Antonio Dellelce) and SunOS 4.1.3_U1 (Joe Cline). Mohammad A. Haque (mhaque (at) haque (dot) net) ported nbtscan to Darwin.
This program is a successor of a perl script with the same name and does essentially the same thing, being much faster though. NBTscan produces a report like that:
IP address NetBIOS Name Server User MAC address
------------------------------------------------------------------------------
192.168.1.2 MYCOMPUTER JDOE 00-a0-c9-12-34-56
192.168.1.5 WIN98COMP RROE 00-a0-c9-78-90-00
192.168.1.123 DPTSERVER ADMINISTRATOR 08-00-09-12-34-56
First column lists IP address of responded host. Second column is computer name. Third column indicates if this computer shares or is able to share files or printers. For NT machine it means that Server Service is running on this computer.
Most often it means that this computer shares files. Third column shows user name. If no one is logged on from this computer it is same as computer name. Last column shows adapter MAC address.
If run with -v switch NBTscan lists whole NetBIOS name table for each responded address. The output looks like that:
NetBIOS Name Table for Host 192.168.1.123:
Name Service Type
----------------------------------------
DPTSERVER < 00 > UNIQUE
DPTSERVER < 20 > UNIQUE
DEPARTMENT < 00 > GROUP
DEPARTMENT < 1c > GROUP
DEPARTMENT < 1b > UNIQUE
DEPARTMENT < 1e > GROUP
DPTSERVER < 03 > UNIQUE
DEPARTMENT < 1d > UNIQUE
??__MSBROWSE__? < 01 > GROUP
INet~Services < 1c > GROUP
IS~DPTSERVER < 00 > UNIQUE
DPTSERVER < 01 > UNIQUE
Adapter address: 00-a0-c9-12-34-56
Installation:
- Ungzip and untar sources
- Run ./configure script
- Run make and make install
- Thats all.
Enhancements:
- Fixed segmentation fault when using -f option (noticed by Brian Lovrin)
- Fixed printing ugliness (noticed by Darren Critchley)
- Changed version number :) (1.5 said that it is 1.0.3 - now it proudly says 1.5.1)
<<less
Download (0.080MB)
Added: 2006-03-03 License: GPL (GNU General Public License) Price:
1343 downloads
CGI::Portable 0.51

CGI::Portable 0.51


CGI::Portable is a framework for server-generic web apps. more>>
CGI::Portable is a framework for server-generic web apps.

SYNOPSIS

Content of thin shell "startup_cgi.pl" for CGI or Apache::Registry env:

#!/usr/bin/perl
use strict;
use warnings;

require CGI::Portable;
my $globals = CGI::Portable->new();

use Cwd;
$globals->file_path_root( cwd() ); # let us default to current working directory
$globals->file_path_delimiter( $^O=~/Mac/i ? ":" : $^O=~/Win/i ? "" : "/" );

$globals->set_prefs( config.pl );
$globals->current_user_path_level( 1 );

require CGI::Portable::AdapterCGI;
my $io = CGI::Portable::AdapterCGI->new();

$io->fetch_user_input( $globals );
$globals->call_component( DemoAardvark );
$io->send_user_output( $globals );

1;

Content of thin shell "startup_socket.pl" for IO::Socket::INET:

#!/usr/bin/perl
use strict;
use warnings;

print "[Server $0 starting up]n";

require CGI::Portable;
my $globals = CGI::Portable->new();

use Cwd;
$globals->file_path_root( cwd() ); # let us default to current working directory
$globals->file_path_delimiter( $^O=~/Mac/i ? ":" : $^O=~/Win/i ? "" : "/" );

$globals->set_prefs( config.pl );
$globals->current_user_path_level( 1 );

require CGI::Portable::AdapterSocket;
my $io = CGI::Portable::AdapterSocket->new();

use IO::Socket;
my $server = IO::Socket::INET->new(
Listen => SOMAXCONN,
LocalAddr => 127.0.0.1,
LocalPort => 1984,
Proto => tcp
);
die "[Error: cant setup server $0]" unless $server;

print "[Server $0 accepting clients]n";

while( my $client = $server->accept() ) {
printf "%s: [Connect from %s]n", scalar localtime, $client->peerhost;

my $content = $globals->make_new_context();

$io->fetch_user_input( $content, $client );
$content->call_component( DemoAardvark );
$io->send_user_output( $content, $client );

close $client;

printf "%s http://%s:%s%s %sn", $content->request_method,
$content->server_domain, $content->server_port,
$content->user_path_string, $content->http_status_code;
}

1;

^The CGI::Portable class is a framework intended to support complex web applications that are easily portable across servers because common environment-specific details are abstracted away, including the file system type, the web server type, and your projects location in the file system or uri hierarchy.

Also abstracted away are details related to how users of your applications arrange instance config/preferences data across single or multiple files, so they get more flexability in how to use your application without you writing the code to support it. So your apps are easier to make data-controlled.

Application cores would use CGI::Portable as an interface to the server they are running under, where they receive user input through it and they return a response (HTML page or other data type) to the user through it. Since CGI::Portable should be able to express all of their user input or output needs, your application cores should run well under CGI or mod_perl or IIS or a Perl-based server or a command line without having code that supports each types individual needs.

That said, CGI::Portable doesnt contain any user input/output code of its own, but allows you to use whatever platform-specific code or modules you wish between it and the actual server. By using my module as an abstraction layer, your own program core doesnt need to know which platform-specific code it is talking to.

As a logical extension to the interfacing functionality, CGI::Portable makes it easier for you to divide your application into autonomous components, each of which acts like it is its own application core with user input and instance config data provided to it and a recepticle for its user output provided. This module would be an interface between the components.

This class has 5 main types of functionality, or sets of properties that exist in parallel but are fully/mostly independant from each other. As such, it could conceptually be split into 5 physical modules, some of which could be used on their own, but they are actually contained in this one module for simplicity of use (just one object for user code to keep track of). The 5 functionality sets could be called: Errors, Files, Request, Response, Misc.

<<less
Download (0.093MB)
Added: 2006-08-01 License: Perl Artistic License Price:
1182 downloads
RPC::pClient 0.1005

RPC::pClient 0.1005


RPC::pClient is a Perl extension for writing pRPC clients. more>>
RPC::pClient is a Perl extension for writing pRPC clients.

SYNOPSIS

use RPC::pClient;

$sock = IO::Socket::INET->new(PeerAddr => joes.host.de,
PeerPort => 2570,
Proto => tcp);

$connection = new RPC::pClient(sock => $sock,
application => My App,
version => 1.0,
user => joe,
password => hello!);

pRPC (Perl RPC) is a package that simplifies the writing of Perl based client/server applications. RPC::pServer is the package used on the server side, and you guess what RPC::pClient is for. See RPC::pClient(3) for this part.
pRPC works by defining a set of of functions that may be executed by the client. For example, the server might offer a function "multiply" to the client. Now a function call

@result = $con->Call(multiply, $a, $b);

on the client will be mapped to a corresponding call

multiply($con, $data, $a, $b);

on the server. (See the funcTable description below for $data.) The function calls result will be returned to the client and stored in the array @result. Simple, eh?

Client methods

new

The client constructor. Returns a client object or an error string, thus you typically use it like this:

$client = RPC::pClient->new ( ... );
if (!ref($client)) {
print STDERR "Error while creating client object: $clientn";
} else {
# Do real stuff
...
}

Call

calls a function on the server; the arguments are a function name, followed by function arguments. It returns the function results, if successfull. After executing Call() you should always check the error attribute: An empty string indicates success. Thus the equivalent to

$c = Add($a, $b)
# Use $c
...

is

$c = $client->Call("Add", $a, $b);
if ($client->error) {
# Do something in case of error
...
} else {
# Use $c
...
}

CallInt

Similar to and internally used by Call. Receives the same arguments, but the result is prepended by a status value: If this status value is TRUE, then all went fine and the following result array is valid. Otherwise an error occurred and the error message follows immediately after the status code. Example:

my($status, @result) = $client->CallInt("Add", $a, $b);
if (!$status) {
# Do something in case of error
my $errmsg = shift @result || "Unknown error";
...
} else {
...
}

Encrypt

This method can be used to get or set the cipher attribute, thus the encryption mode. If the method is passed an argument, the argument will be used as the new encryption mode. (undef for no encryption.) In either case the current encryption mode will be returned. Example:

# Get the current encryption mode
$mode = $server->Encrypt();

# Currently disable encryption
$server->Encrypt(undef);

# Switch back to the old mode
$server->Encrypt($mode);

<<less
Download (0.019MB)
Added: 2007-07-24 License: Perl Artistic License Price:
823 downloads
Emcast 0.3.2

Emcast 0.3.2


Emcast project is a generic multicast toolkit. more>>
Emcast project is a generic multicast toolkit.
Emcast is a multicast toolkit for distributed/peer-to- peer applications that require multicast communication.
It includes the program "emcast", a generic multicast utility (like netcat), and the library "libemcast", a generic multicast library.
Emcast supports IPv4 multicast (IM) and can easily support almost any end-host multicast (EM) protocol.
The EM protocols supported are Banana Tree Protocol (BTP) and Internet Relay Chat (IRC).
Enhancements:
- Copy from inet address, not string. Interesting that mcast was still working before in Linux.
<<less
Download (0.28MB)
Added: 2007-03-07 License: LGPL (GNU Lesser General Public License) Price:
963 downloads
Valknut 0.3.9

Valknut 0.3.9


Valknut is a peer-2-peer file-sharing program. more>>
Valknut project is a peer-2-peer file-sharing program (similar to Kazaa, Soulseek or eDonkey) that uses the Direct Connect protocol.
It is compatible with other DC clients, such as the original DC from Neomodus, and DC++.
Main features:
- open source
- multiplatform (Linux,Win32,OSX ...)
- multilanguage
- multihub connections
- multihub search
- multi-/chunkdownload (download one file from multiple sources at the same time)
- firewall support
- sounds
- favorite hub list
- online translator
- load/save search results
- autosearch new sources
- socks support for linux (http://www.inet.no/dante/)
- proxy support for hublists
- support bz2 share lists
- support xml share lists
- support ssl transfers
- support ssl hub connections (e.g. hub use sslproxy)
- support secure chat (not secure against "Man In The Middle Attack")
- chat emoticons
- tiger tree hash (TTH) support
<<less
Download (0.65MB)
Added: 2007-05-30 License: GPL (GNU General Public License) Price:
880 downloads
iNet Admin Daemon 0.0.5

iNet Admin Daemon 0.0.5


iNet Admin Daemon interacts with services such as an Apache2 load balanced environment. more>>
iNet Admin Daemon interacts with services such as an Apache2 load balanced environment, a MySQL 5 clustered environment, PureFTPD, PowerDNS, Cacti, Nagios.
iNet Admin Daemon has various other services to create central ease of management and integration with these services for hosting companies.
Enhancements:
- Functional modules were added for existing services connecting to DBmail, PowerDNS, Apache2, and MySQL 5.
<<less
Download (0.005MB)
Added: 2006-06-21 License: The PHP License Price:
1220 downloads
Rains PPP scripts 2.9.1

Rains PPP scripts 2.9.1


Rains PPP scripts are a set of tools that simplify the use and setup of pppd. more>>
Rains PPP scripts are a set of tools that simplify the use and setup of pppd.
Features include connection time logging, a ppp-off that works right with more than one pppd running, dial-on-demand support for pppd 2.3.x., and more.
Another interesting feature is that the scripts keep track of your connect speed and time, and included is an mirc script to show connection status from a remote machine, as well as a shell script that works for *IX boxes.
Enhancements:
- Made TTL for dyn.db 60 seconds
- --bootup should have been --quiet in ppp-on
- Fixed POSTLOGINSTRING
- Now using low-ascii in the README and ppp-on
- Re-fixed permission problems on /etc/inet.status (I hope)
- Fixed more spelling/grammar
<<less
Download (0.020MB)
Added: 2006-09-14 License: GPL (GNU General Public License) Price:
1143 downloads
Script for NAT and more 02/02/01

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
<<less
Download (MB)
Added: 2007-02-14 License: GPL (GNU General Public License) Price:
982 downloads
The Freiburg Project 2.0

The Freiburg Project 2.0


The Freiburg project is an infrastructure to replace shared libraries with a client/server interface. more>>
The Freiburg project is an infrastructure to replace shared libraries with a client/server interface. This system converts a shared library into a "service" using Unix or inet domain sockets for communication.
The "service" will be usable by any programming language without additional C programming requirements. An application is a composition of multiple services using an event-based message bus for communication.
A service can reside locally or remotely using the "client" or the inetd super-server for startup.
Enhancements:
API update
no libtool for build-environment
-significant speedup for build
-no libtool bug issues anymore
-no libtool porting issues anymore
update transaction work-flow
-no return-handles anymore
-no public transaction API anymore
speed improvements
-better internal caching of used objects
-improved header parsing
API now thread-safe
-need MUTEX lock for MqCreate
-need MUTEX lock for MqDelete
<<less
Download (0.20MB)
Added: 2005-09-19 License: (FDL) GNU Free Documentation License Price:
1495 downloads
Net::Server 0.93

Net::Server 0.93


Net::Server is an extensible, general Perl server engine. more>>
Net::Server is an extensible, general Perl server engine.
SYNOPSIS
#!/usr/bin/perl -w -T
package MyPackage;
use Net::Server;
@ISA = qw(Net::Server);
sub process_request {
#...code...
}
MyPackage->run(port => 160);
exit;
Main features:
- Single Server Mode
- Inetd Server Mode
- Preforking Simple Mode (PreForkSimple)
- Preforking Managed Mode (PreFork)
- Forking Mode
- Multiplexing Mode using a single process
- Multi port accepts on Single, Preforking, and Forking modes
- Simultaneous accept/recv on tcp, udp, and unix sockets
- Safe signal handling in Fork/PreFork avoids perl signal trouble
- User customizable hooks
- Chroot ability after bind
- Change of user and group after bind
- Basic allow/deny access control
- Customized logging (choose Syslog, log_file, or STDERR)
- HUP able server (clean restarts via sig HUP)
- Dequeue ability in all Fork and PreFork modes.
- Taint clean
- Written in Perl
- Protection against buffer overflow
- Clean process flow
- Extensibility
Net::Server is an extensible, generic Perl server engine. Net::Server combines the good properties from Net::Daemon (0.34), NetServer::Generic (1.03), and Net::FTPServer (1.0), and also from various concepts in the Apache Webserver.
Net::Server attempts to be a generic server as in Net::Daemon and NetServer::Generic. It includes with it the ability to run as an inetd process (Net::Server::INET), a single connection server (Net::Server or Net::Server::Single), a forking server (Net::Server::Fork), a preforking server which maintains a constant number of preforked children (Net::Server::PreForkSimple), or as a managed preforking server which maintains the number of children based on server load (Net::Server::PreFork). In all but the inetd type, the server provides the ability to connect to one or to multiple server ports.
Net::Server uses ideologies of Net::FTPServer in order to provide extensibility. The additional server types are made possible via "personalities" or sub classes of the Net::Server. By moving the multiple types of servers out of the main Net::Server class, the Net::Server concept is easily extended to other types (in the near future, we would like to add a "Thread" personality).
Net::Server borrows several concepts from the Apache Webserver. Net::Server uses "hooks" to allow custom servers such as SMTP, HTTP, POP3, etc. to be layered over the base Net::Server class. In addition the Net::Server::PreFork class borrows concepts of min_start_servers, max_servers, and min_waiting servers.
Net::Server::PreFork also uses the concept of an flock serialized accept when accepting on multiple ports (PreFork can choose between flock, IPC::Semaphore, and pipe to control serialization).
<<less
Download (0.080MB)
Added: 2006-06-27 License: Perl Artistic License Price:
1219 downloads
dnsreflector 1.02

dnsreflector 1.02


dnsreflector daemon listens for DNS queries on a local UDP port and answers with records pointing back to localhost. more>>
dnsreflector daemon listens for DNS queries on a local UDP port and answers with records pointing back to localhost. Combined with OpenBSDs packet filter pf(4) this works as a bandwidth efficient spamtrap.

dnsreflector was written and tested with OpenBSD. If you are interested in running dnsreflector on another platform, please contact me .

PF Setup

table < spamd > persist
rdr inet proto udp from < spamd > to any port 53 -> 127.0.0.1 port 53000

Usage

dnsreflector [-d] [-a address] [-p port]

-d Run as daemon in the background
-a address Bind to this address (default: 127.0.0.1)
-p port Bind to this port (default: 53000)

Linux: On popular demand I made a diff to compile dnsreflector with Linux (tested on SuSE). You will need a facility to redirect DNS queries coming from blacklisted hosts to dnsreflector. I dont know how to do this with Linux netfilter, but if you do, please tell me.
<<less
Download (0.005MB)
Added: 2006-03-07 License: BSD License Price:
1328 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 2
  • 1
  • 2