moblock

Langue: en

Version: 20 April 2007 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

moblock - a linux console IP blocker to protect your privacy.

SYNOPSIS

moblock [ -dnp blocklist file ] [ -q value ] log file

DESCRIPTION

Moblock is an open source IP filter designed to block the IP addresses of certain organizations and corporations that may wish to harm a users privacy while using the Internet and peer-to-peer networks.

Moblock blocks IP addresses defined in blocklist file and based upon a list of IP addresses collected by many methods.

Moblock supports and uses the new kernel interface NFQUEUE added since linux kernel 2.6.14.

OPTIONS

-d blocklist file
Specify the list of blocked IP when it is in an ipfilter.dat type.
-n blocklist file
Specify the list of blocked IP when it is in a peerguardian 2.x '.p2b' type.
-p blocklist file
Specify the list of blocked IP when it is in a peerguardian '.p2p' type.
-q value
Specify the QUEUE number to use. Valud queue numbers are 0 to 65535. The default is 0. As defined with --queue-num in iptables(8).

SIGNALS

Moblock reacts to a set of signals. You may easily send a signal to it using the following:
 kill -SIGNAL `cat /var/run/moblock.pid`
 
SIGHUP
This lets moblock perform a re-initialization. Dumps and resets stats then reloads blocklist file.
SIGTERM
The moblogd will die.
SIGUSR1
This lets moblock dump the stats.
SIGUSR2
This lets moblock dump the stats to /var/log/MoBlock.stats.

NOTES

This is a preliminary manpage. Expect some glitches...

There are two versions of moblock, each in their own package. They are called moblock-ipq and moblock-nfq, indicating the library they were compiled against.

FILES

/etc/init.d/moblock-nfq {MAY BECOME moblockd instead of moblock-nfq}
The moblock daemon script.
/etc/cron.daily/moblock-nfq {MAY BECOME moblockd instead of moblock-nfq}
The script that updates the blocklist file. The script also include the configuration informations to updtes the list.
/etc/moblock/guarding.p2p
The default master blocklist. Based on the merge of the downloaded single blocklists defined in /etc/cron.daily/moblock-nfq{MAY BECOME moblockd instead of moblock-nfq}
/etc/moblock/MoBloq-nfq.sh
Start script loads the iptables rules.
/var/run/moblock.pid
The file containing the process id of moblock.
/var/log/moblock.log
The default log file of the daemon moblock. This file contains the blocked IPs, the errors messages and other things about starting/stopping and updating moblock.

REPORTING BUGS

Report bugs and patches to clessing@users.sourceforge.net

SEE ALSO

iptables(8).