net daemon ssl 1.0
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5060
Net::Daemon::SSL 1.0
Net::Daemon::SSL is a SSL extension for Net::Daemon. more>>
Net::Daemon::SSL is a SSL extension for Net::Daemon.
SYNOPSIS
use Net::Daemon::SSL;
package MyDaemon;
@MyDaemon::ISA = qw (Net::Daemon::SSL);
sub Run
{
my $this = shift;
my $buffer;
$this->{socket}->print ( "vasja was heren" );
$this->{socket}->sysread ( $buffer, 100 ); # Attention! getline() method
# do not work with IO::Socket::SSL
# version 0.73
# see perldoc IO::Socket::SSL
# for more details
}
package main;
my $daemon = new MyDaemon ( {}, @ARGV ); # you can use --help command line key
$daemon || die "error create daemon instance: $!n";
$daemon->Bind();
__top
This class implements an IO::Socket::SSL functionality for Net::Daemon class. See perldoc Net::Daemon for more information about Net::Daemon usage.
Options
This method add IO::Socket::SSL specific options ( SSL_use_cert, SSL_verify_mode, SSL_key_file, SSL_cert_file, SSL_ca_path, SSL_ca_file ) to generic Net::Daemon options. See perldoc IO::Socket::SSL for description of this options
Bind
This method creates an IO::Socket::SSL::SafeAccept socket, stores this socket into $this->{socket} and passes control to parent Net::Daemon::Bind. The IO::Socket::SSL::SafeAccept is a class inherited from IO::Socket::SSL with the only difference from parent class - the accept() method of this class returns EINTR on *any* error. This trick is needed to ``hack Net::Daemon::Bind functionality: if this method gets an error from accept() ( Net::Daemon::SSL auth error, for example ) it will call Fatal() method and die unless this is a EINTR error.
<<lessSYNOPSIS
use Net::Daemon::SSL;
package MyDaemon;
@MyDaemon::ISA = qw (Net::Daemon::SSL);
sub Run
{
my $this = shift;
my $buffer;
$this->{socket}->print ( "vasja was heren" );
$this->{socket}->sysread ( $buffer, 100 ); # Attention! getline() method
# do not work with IO::Socket::SSL
# version 0.73
# see perldoc IO::Socket::SSL
# for more details
}
package main;
my $daemon = new MyDaemon ( {}, @ARGV ); # you can use --help command line key
$daemon || die "error create daemon instance: $!n";
$daemon->Bind();
__top
This class implements an IO::Socket::SSL functionality for Net::Daemon class. See perldoc Net::Daemon for more information about Net::Daemon usage.
Options
This method add IO::Socket::SSL specific options ( SSL_use_cert, SSL_verify_mode, SSL_key_file, SSL_cert_file, SSL_ca_path, SSL_ca_file ) to generic Net::Daemon options. See perldoc IO::Socket::SSL for description of this options
Bind
This method creates an IO::Socket::SSL::SafeAccept socket, stores this socket into $this->{socket} and passes control to parent Net::Daemon::Bind. The IO::Socket::SSL::SafeAccept is a class inherited from IO::Socket::SSL with the only difference from parent class - the accept() method of this class returns EINTR on *any* error. This trick is needed to ``hack Net::Daemon::Bind functionality: if this method gets an error from accept() ( Net::Daemon::SSL auth error, for example ) it will call Fatal() method and die unless this is a EINTR error.
Download (0.002MB)
Added: 2006-07-27 License: Perl Artistic License Price:
1184 downloads
DConnect Daemon 1.1.0
DConnect Daemon is a daemon that acts as a Direct Connect hub. more>>
DConnect Daemon is a Direct Connects hub working as daemon. It works currently under linux and FreeBSD, but we want to make them work on all Unixes (and under Windows).
DConnect Daemon works as a daemon in background and does not require any Xwindow system. Everything should work without any maintenance, but with possible runtime manipulations.
Main features:
- written in pure C
- utilizes threads - allow to work faster on SMP mashines
- good and strict protocol implementation - as far as we know it...
- access limitation through libwrap
- telnet administration console and traditional with DC client
- flexible configuration
Enhancements:
- Because full support for syslog is included, the old way of logging to files was removed.
- Switch to syslog-ng is recommended as it will make your logs cleaner.
- Silent mode is now switched on so it is impossible to redirect users who should not have access to the service you provide.
<<lessDConnect Daemon works as a daemon in background and does not require any Xwindow system. Everything should work without any maintenance, but with possible runtime manipulations.
Main features:
- written in pure C
- utilizes threads - allow to work faster on SMP mashines
- good and strict protocol implementation - as far as we know it...
- access limitation through libwrap
- telnet administration console and traditional with DC client
- flexible configuration
Enhancements:
- Because full support for syslog is included, the old way of logging to files was removed.
- Switch to syslog-ng is recommended as it will make your logs cleaner.
- Silent mode is now switched on so it is impossible to redirect users who should not have access to the service you provide.
Download (0.34MB)
Added: 2007-04-05 License: GPL (GNU General Public License) Price:
937 downloads
Daemon Shield 0.4.0
Daemon Shield is a Linux intrusion prevention daemon that scans for brute force break-in attacks in real time. more>>
Find IPs of crackers and kiddies attempting to break in. Creates iptables rules to block attackers IPs for a specified period of time.
It works by using handlers which are created to watch for attacks against a given service, such as ssh, telnet, ftp, etc. The handlers can be enabled or disabled on a case-by-case basis.
Each handler defines its logfile, search pattern, trigger threshold, and method of determing attacking IPs. When a list of IPs to be dropped is created, it uses a customizable iptables rule to block those IPs from any type of connection to the host.
After the given blocktime, the iptable rule is deleted. The handlers only looks at the logfiles lines that are within a given window of time, from the present till a user-definable amount of seconds back in time.
Currently, ssh and pam modules are functional and enabled by default. The pam handler watches for any "authentication failure" lines and operates accordingly, so it should block any attacks against pam-enabled service.
Main features:
- Creates iptables log & reject rules against attackers IPs.
- Background daemon continuously watches logfiles for activity.
- Logs to syslog.
- Modular attack monitors, easy to extend to other services.
- Block rules expire after specified period of time.
- Blocklist file also serves as log for blocklist activity.
- Email notification for IP block rule creation.
- Retains blocklists from one process to the next.
- Iptable rules are dynamic. They dissappear when the daemon stops and are reloaded when the daemon restarts.
- Only 1 instance of daemonshield will run at one time.
<<lessIt works by using handlers which are created to watch for attacks against a given service, such as ssh, telnet, ftp, etc. The handlers can be enabled or disabled on a case-by-case basis.
Each handler defines its logfile, search pattern, trigger threshold, and method of determing attacking IPs. When a list of IPs to be dropped is created, it uses a customizable iptables rule to block those IPs from any type of connection to the host.
After the given blocktime, the iptable rule is deleted. The handlers only looks at the logfiles lines that are within a given window of time, from the present till a user-definable amount of seconds back in time.
Currently, ssh and pam modules are functional and enabled by default. The pam handler watches for any "authentication failure" lines and operates accordingly, so it should block any attacks against pam-enabled service.
Main features:
- Creates iptables log & reject rules against attackers IPs.
- Background daemon continuously watches logfiles for activity.
- Logs to syslog.
- Modular attack monitors, easy to extend to other services.
- Block rules expire after specified period of time.
- Blocklist file also serves as log for blocklist activity.
- Email notification for IP block rule creation.
- Retains blocklists from one process to the next.
- Iptable rules are dynamic. They dissappear when the daemon stops and are reloaded when the daemon restarts.
- Only 1 instance of daemonshield will run at one time.
Download (0.044MB)
Added: 2005-07-07 License: GPL (GNU General Public License) Price:
1576 downloads
PXE daemon 1.4.2
The PXE daemon allows network managers to boot PXE-enabled machines over the network. more>>
The PXE daemon allows network managers to boot PXE-enabled machines over the network. Basically it envolves BOOTP, TFTP (so far so good) and a PXE daemon. This is where all the trouble starts. There is only one implementation arround, and if doesnt work on anything other than little endian machines.
I originally tried to correct some of the major problems in this code. However firstly, I could not find anyone with at Red Hat or Intel to deal with and secondly, Intel seem very unintrested in porting the code the big endian machines. The source is also very messy and it would have taken longer to correct the original code, than to re-write the whole daemon. If you dont believe me on this point, just have a look at it, IMHO any daemon that responds to keyboard input is a bad thing (it thinks it had packets coming from the keyboard even when in daemon mode)
You are lucky then, but a lot of places have already got a bootserver, and most likely it will be a UNIX based machine that is not x86. So, why put in another machine when there is already one there?
If you know enough about PC, you will know there are several operating modes. The mode the PC boots in is only able to access the low 640KB of memory. By using the PXELINUX bootstrap code it is possible to boot using the full amount to memory in the system. The means you can do some nice things including boot a Linux kernel + Ramdisk over the network, as you would for a Sun. Please note that the Intel bootstraping code is very limited in this sense.
I dont recommend it anymore, I just havent had time to do a lot of updates, PXELINUX is far far better (see link below). However Intels PXE daemon is naff (IMHO)
Enhancements:
- Increase the interface buffer to hold more than three interfaces
- Fixed a segfault in when multicast was disabled
- Fixed null pointer dereference when looking at interfaces with no IP address
<<lessI originally tried to correct some of the major problems in this code. However firstly, I could not find anyone with at Red Hat or Intel to deal with and secondly, Intel seem very unintrested in porting the code the big endian machines. The source is also very messy and it would have taken longer to correct the original code, than to re-write the whole daemon. If you dont believe me on this point, just have a look at it, IMHO any daemon that responds to keyboard input is a bad thing (it thinks it had packets coming from the keyboard even when in daemon mode)
You are lucky then, but a lot of places have already got a bootserver, and most likely it will be a UNIX based machine that is not x86. So, why put in another machine when there is already one there?
If you know enough about PC, you will know there are several operating modes. The mode the PC boots in is only able to access the low 640KB of memory. By using the PXELINUX bootstrap code it is possible to boot using the full amount to memory in the system. The means you can do some nice things including boot a Linux kernel + Ramdisk over the network, as you would for a Sun. Please note that the Intel bootstraping code is very limited in this sense.
I dont recommend it anymore, I just havent had time to do a lot of updates, PXELINUX is far far better (see link below). However Intels PXE daemon is naff (IMHO)
Enhancements:
- Increase the interface buffer to hold more than three interfaces
- Fixed a segfault in when multicast was disabled
- Fixed null pointer dereference when looking at interfaces with no IP address
Download (0.055MB)
Added: 2006-07-04 License: GPL (GNU General Public License) Price:
1214 downloads
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.
<<lessiNet 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.
Download (0.005MB)
Added: 2006-06-21 License: The PHP License Price:
1220 downloads
audit daemon 1.5.6
audit package contains the user-space utilities for creating audit rules. more>>
audit package contains the user-space utilities for creating audit rules. As well as for storing and searching the audit records generate by the audit subsystem in the Linux 2.6 kernel.
Usage:
Examples usage of utilities:
General:
Window 1:
./auditd
Window 2 (you dont have to have the daemon running to try this, but
enabled has to be 1):
./auditctl -s
./auditctl -a entry,always -S open
ls
./auditctl -d entry,always -S open
Identity tracking:
./auditctl -a exit,always -S all -F loginuid=2000
./auditctl -L 2000,"test uid"
Enhancements:
- Updates were made to system-config-audit. auditctl was updated to better handle watching of directories with older kernels.
- Memory leaks and an invalid free in auditd were fixed along with interpretations in auparse.
<<lessUsage:
Examples usage of utilities:
General:
Window 1:
./auditd
Window 2 (you dont have to have the daemon running to try this, but
enabled has to be 1):
./auditctl -s
./auditctl -a entry,always -S open
ls
./auditctl -d entry,always -S open
Identity tracking:
./auditctl -a exit,always -S all -F loginuid=2000
./auditctl -L 2000,"test uid"
Enhancements:
- Updates were made to system-config-audit. auditctl was updated to better handle watching of directories with older kernels.
- Memory leaks and an invalid free in auditd were fixed along with interpretations in auparse.
Download (0.29MB)
Added: 2007-07-26 License: GPL (GNU General Public License) Price:
824 downloads
HCSWs Ident Daemon 1.1
HCSWs Ident Daemon provides a well-written daemon for faking ident replies to IRC servers. more>>
HCSWs Ident Daemon provides a well-written daemon for faking ident replies to IRC servers.
This identd is essentially just a quick and small daemon to fake ident replies. It is primarily intended to provide random ident fields on IRC.
As of 1.1, hsidentd now natively supports IPv6. It will try listening on the same port as it does on IPv4, or 113 by default. To disable IPv6 support, edit the file hsidentd.h and comment out the line that looks like this:
#define HAVE_IPV6
Building:
Just type make
You may have to uncomment the appropriate line at the top of the Makefile.
Installing:
Just copy the executable to somewhere in the filesystem. Or dont. See if I
care.
Running:
As root, just run the hsidentd executable like so:
hsidentd
or
hsidentd
<<lessThis identd is essentially just a quick and small daemon to fake ident replies. It is primarily intended to provide random ident fields on IRC.
As of 1.1, hsidentd now natively supports IPv6. It will try listening on the same port as it does on IPv4, or 113 by default. To disable IPv6 support, edit the file hsidentd.h and comment out the line that looks like this:
#define HAVE_IPV6
Building:
Just type make
You may have to uncomment the appropriate line at the top of the Makefile.
Installing:
Just copy the executable to somewhere in the filesystem. Or dont. See if I
care.
Running:
As root, just run the hsidentd executable like so:
hsidentd
or
hsidentd
Download (0.010MB)
Added: 2007-04-19 License: GPL (GNU General Public License) Price:
921 downloads
Independent FTP Daemon 1.5
iFTPd, Independent FTP Daemon, is an open source FTP server written in Java. more>>
iFTPd, Independent FTP Daemon, is an open source FTP server written in Java. Independent FTP Daemon features platform independence, system independence, ruggedness and a virtual file system.
The target audience of the FTP server is for those admins that need to be able to share files without having to install several other programs and databases and without having to configure the rest of the system.
Main features:
- Platform independence (Where do you want your JVM to go today?)
- System independence
- Does not require any users / groups on the host system.
- Does not require an SQL database.
- Does not does have weird and wonderful dependencies that must be downloaded from 500 different places.
- Ruggedness
- Once started, only the admin can stop iFTPd
- Virtual file system
- Create virtual file links, virtual directory links
- Merge several directories into one virtual directory
- Completely transparent to the user
- Users and groups
- Firewall friendly
- Multithreading
- Text file-based configuration
- Telnet-based status monitor
- HTML status monitor
Installation:
Unpack iftpd.zip.
Check that conf/iftpd.conf is to your liking.
Make at least one group in conf/groups/.
Make sure that at least one of the groups has a root directory.
"/stash/ftp/" r+ "/"
Make at least one user file in conf/users/.
Start iFTPd.
Linux users run: iftpd.sh
Enhancements:
- SSL (AUTH TLS) support has been added.
- Old scripts have been replaced with iftpd.sh.
- ALLO has been added for binary mode, but untested because no clients support it.
- Groups can contain other groups.
- SITE UTIME support has been added.
- Group files can have empty lines.
- CLNT support has been added.
- StatusToHtml (#CLIENTNAME#) has been added.
- The rename bug has been fixed (only worked with full paths before).
- Aborted transfer notification should finally be fixed.
- FEAT support has been added.
- IdleStrictChecking has been added in iftpd and iftpd.conf.
<<lessThe target audience of the FTP server is for those admins that need to be able to share files without having to install several other programs and databases and without having to configure the rest of the system.
Main features:
- Platform independence (Where do you want your JVM to go today?)
- System independence
- Does not require any users / groups on the host system.
- Does not require an SQL database.
- Does not does have weird and wonderful dependencies that must be downloaded from 500 different places.
- Ruggedness
- Once started, only the admin can stop iFTPd
- Virtual file system
- Create virtual file links, virtual directory links
- Merge several directories into one virtual directory
- Completely transparent to the user
- Users and groups
- Firewall friendly
- Multithreading
- Text file-based configuration
- Telnet-based status monitor
- HTML status monitor
Installation:
Unpack iftpd.zip.
Check that conf/iftpd.conf is to your liking.
Make at least one group in conf/groups/.
Make sure that at least one of the groups has a root directory.
"/stash/ftp/" r+ "/"
Make at least one user file in conf/users/.
Start iFTPd.
Linux users run: iftpd.sh
Enhancements:
- SSL (AUTH TLS) support has been added.
- Old scripts have been replaced with iftpd.sh.
- ALLO has been added for binary mode, but untested because no clients support it.
- Groups can contain other groups.
- SITE UTIME support has been added.
- Group files can have empty lines.
- CLNT support has been added.
- StatusToHtml (#CLIENTNAME#) has been added.
- The rename bug has been fixed (only worked with full paths before).
- Aborted transfer notification should finally be fixed.
- FEAT support has been added.
- IdleStrictChecking has been added in iftpd and iftpd.conf.
Download (0.16MB)
Added: 2006-06-23 License: GPL (GNU General Public License) Price:
1222 downloads
ESE Key Daemon 1.2.3
ESE Key Daemon is a multimedia keyboard driver for Linux. more>>
ESE Key Daemon is a multimedia keyboard driver for Linux. No kernel patch is needed.
ESE Key Daemon is a userspace program which pools /dev/input/event interfaces for incoming keyboard key presses.
Enhancements:
- A bug in the configuration file handling routines was fixed.
<<lessESE Key Daemon is a userspace program which pools /dev/input/event interfaces for incoming keyboard key presses.
Enhancements:
- A bug in the configuration file handling routines was fixed.
Download (0.10MB)
Added: 2006-06-02 License: GPL (GNU General Public License) Price:
1240 downloads
Net Tamagotchi 1.2.0
Net Tamagotchi project consists of a Net Tamagotchi server. more>>
Net Tamagotchi project consists of a Net Tamagotchi server.
Net Tamagotchi server maintains multiple virtual pets on a Unix host, accessible through telnet.
The first thing you should do is edit the Makefile, and make sure youre happy with all the settings. Then you are ready to:
$ make
The Tamagotchi server does not need superuser privileges, and it is in fact recommended to run it as an unprivileged user. Move the executable to a directory where you would like it to reside. The server will keep its files in that
directory.
If you wish, you may do a make install which will place the executable into a common system daemon directory.
To start Net Tamagotchi, type in:
$ ./tamad 90210
Thats it. Net Tamagotchi should be up and running. To test it, telnet to the port its running on. You should see the login screen... you may now create your Net Tamagotchi.
$ telnet localhost 9111 # or the port you specified
All profiles will be stored and kept in a file named tamas in the current directory... users on the system should not be able to read this file since it will contain plaintext passwords.
Enhancements:
- New versioning scheme, as popularised by the Linux kernel
- Renamed the `tama binary to `tamad to reflect that it is a daemon
- Makefile is now GNU standards compliant
<<lessNet Tamagotchi server maintains multiple virtual pets on a Unix host, accessible through telnet.
The first thing you should do is edit the Makefile, and make sure youre happy with all the settings. Then you are ready to:
$ make
The Tamagotchi server does not need superuser privileges, and it is in fact recommended to run it as an unprivileged user. Move the executable to a directory where you would like it to reside. The server will keep its files in that
directory.
If you wish, you may do a make install which will place the executable into a common system daemon directory.
To start Net Tamagotchi, type in:
$ ./tamad 90210
Thats it. Net Tamagotchi should be up and running. To test it, telnet to the port its running on. You should see the login screen... you may now create your Net Tamagotchi.
$ telnet localhost 9111 # or the port you specified
All profiles will be stored and kept in a file named tamas in the current directory... users on the system should not be able to read this file since it will contain plaintext passwords.
Enhancements:
- New versioning scheme, as popularised by the Linux kernel
- Renamed the `tama binary to `tamad to reflect that it is a daemon
- Makefile is now GNU standards compliant
Download (0.018MB)
Added: 2007-04-04 License: GPL (GNU General Public License) Price:
954 downloads
Methane IRC Daemon 1.1.2
Methane IRC Daemon is an advanced ircd based on Bahamut 1.4.35. more>>
Methane IRC Daemon is an advanced ircd based on Bahamut 1.4.35.
It sports dynamic config, host masking, advanced user modes, channel admins, and half-operators.
The project also has SETHOST/SETIDENT/SETNAME as well as CHGHOST/CHGNAME/CHGIDENT.
<<lessIt sports dynamic config, host masking, advanced user modes, channel admins, and half-operators.
The project also has SETHOST/SETIDENT/SETNAME as well as CHGHOST/CHGNAME/CHGIDENT.
Download (0.61MB)
Added: 2006-11-21 License: GPL (GNU General Public License) Price:
1072 downloads
Monkey HTTP Daemon 0.9.1
Monkey is a Web server written in C that works under Linux. more>>
Monkey is a Web server written in C that works under Linux. This is an open source project based on the HTTP/1.1 protocol.
The objective is to develop a fast, efficient, small and easy to configure web server. If you wish to contribute to this project as a beta-tester, submitting suggestions and constructive criticisms, just contact me. Your input is welcome.
Main features:
- Get, Post & Head method
- CGI & PHP
- Multithreading
- Config files
- Mime types
- VirtualHost
- Directories navigation
- Users home
- Deny by URL & IP
- Resume
<<lessThe objective is to develop a fast, efficient, small and easy to configure web server. If you wish to contribute to this project as a beta-tester, submitting suggestions and constructive criticisms, just contact me. Your input is welcome.
Main features:
- Get, Post & Head method
- CGI & PHP
- Multithreading
- Config files
- Mime types
- VirtualHost
- Directories navigation
- Users home
- Deny by URL & IP
- Resume
Download (0.082MB)
Added: 2005-09-05 License: GPL (GNU General Public License) Price:
1510 downloads
Net::Chat::Daemon 0.3
Net::Chat::Daemon is a Perl module to run a daemon that is controlled via instant messaging. more>>
Net::Chat::Daemon is a Perl module to run a daemon that is controlled via instant messaging.
ABSTRACT
This package is intended to serve as a superclass for objects that want to communicate via IM messages within a distributed network of client nodes and a coordinator, without dealing with the complexities or implementation details of actually getting the messages from place to place.
It pretends to be protocol-neutral, but for now and the conceivable future will only work with a Jabber transport. (It directly uses the message objects and things that Jabber returns.)
Note that this package will NOT help you implement an instant messaging server. This package is for writing servers that communicate with other entities via instant messages -- servers written using this package are instant messaging *clients*.
SYNOPSIS
package My::Server;
use base Net::Chat::Daemon;
sub handleHello {
return "hello to you too";
}
sub handleSave {
my ($filename, $file) = @_;
return "denied" unless $filename =~ /^[.w]+$/;
open(my $fh, ">/var/repository/$filename") or return "failed: $!";
print $fh $file;
close $fh or return "failed: $!";
return "ok";
}
sub someMethod {
my ($self, @args) = @_;
.
.
.
}
sub new {
my ($class, $user, %options) = @_;
return $class->SUPER::new(%options,
commands => { callMethod => someMethod,
save => &handleSave });
}
package main;
my $server = My::Server->new(myuserid@jabber.org);
$server->process();
# or to do it all in one step, and retry connections for 5 minutes
# (300 seconds) before failing due to problems reaching the server:
My::Server->run(myuserid@jabber.org, retry => 300);
When you run this, you should be able to send a message to userid@jabber.org saying "hello" and get a response back, or "callMethod a b c" to call the method with the given arguments.
To use the "save" command, youll need to use a command-line client capable of sending attachments in the format expected by this server (it currently does not use any standard file-sending formats).
The jabber command packaged with this module can do this via the -a command-line option.
A note on the implementation: when I first wrote this, it was really only intended to be used with Jabber. The code hasnt been fully restructured to remove this assumption.
<<lessABSTRACT
This package is intended to serve as a superclass for objects that want to communicate via IM messages within a distributed network of client nodes and a coordinator, without dealing with the complexities or implementation details of actually getting the messages from place to place.
It pretends to be protocol-neutral, but for now and the conceivable future will only work with a Jabber transport. (It directly uses the message objects and things that Jabber returns.)
Note that this package will NOT help you implement an instant messaging server. This package is for writing servers that communicate with other entities via instant messages -- servers written using this package are instant messaging *clients*.
SYNOPSIS
package My::Server;
use base Net::Chat::Daemon;
sub handleHello {
return "hello to you too";
}
sub handleSave {
my ($filename, $file) = @_;
return "denied" unless $filename =~ /^[.w]+$/;
open(my $fh, ">/var/repository/$filename") or return "failed: $!";
print $fh $file;
close $fh or return "failed: $!";
return "ok";
}
sub someMethod {
my ($self, @args) = @_;
.
.
.
}
sub new {
my ($class, $user, %options) = @_;
return $class->SUPER::new(%options,
commands => { callMethod => someMethod,
save => &handleSave });
}
package main;
my $server = My::Server->new(myuserid@jabber.org);
$server->process();
# or to do it all in one step, and retry connections for 5 minutes
# (300 seconds) before failing due to problems reaching the server:
My::Server->run(myuserid@jabber.org, retry => 300);
When you run this, you should be able to send a message to userid@jabber.org saying "hello" and get a response back, or "callMethod a b c" to call the method with the given arguments.
To use the "save" command, youll need to use a command-line client capable of sending attachments in the format expected by this server (it currently does not use any standard file-sending formats).
The jabber command packaged with this module can do this via the -a command-line option.
A note on the implementation: when I first wrote this, it was really only intended to be used with Jabber. The code hasnt been fully restructured to remove this assumption.
Download (0.013MB)
Added: 2007-04-04 License: Perl Artistic License Price:
933 downloads
No-relay SMTP daemon T.00.02
No-relay SMTP daemon is a lightweight mail server whose sole purpose is to receive incoming messages. more>>
No-relay SMTP daemon is a lightweight mail server whose sole purpose is to receive incoming messages and deliver them to local users. Its main "feature" (or non-feature, really) is to be completely unable to relay messages to adjacent servers: if an incoming message is not addressed to a local mailbox, smtpd will reject it.
Another convenient feature is its automatic grey-listing of clients that allows you to efficiently reject spammers based on their behaviour. No-relay SMTP daemon can handle incoming email traffic for an unlimited number of domains (i.e. act as a MX for these domains) without the need for any configuration (other than creation of users mailboxes).
<<lessAnother convenient feature is its automatic grey-listing of clients that allows you to efficiently reject spammers based on their behaviour. No-relay SMTP daemon can handle incoming email traffic for an unlimited number of domains (i.e. act as a MX for these domains) without the need for any configuration (other than creation of users mailboxes).
Download (0.018MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
633 downloads
Net::Oscar 1.0
Net::Oscar project is a pure Perl implementation of the OSCAR protocol used by ICQ and AIM instant message clients. more>>
Net::Oscar project is a pure Perl implementation of the OSCAR protocol used by ICQ and AIM instant message clients.
<<less Download (MB)
Added: 2007-06-25 License: GPL (GNU General Public License) Price:
859 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 net daemon ssl 1.0 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