Fork of https://github.com/marschap/isdn4k-utils as well as custom CVS import with proper author name/email ('cvsimport' branch)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isdn4k-utils/isdnctrl
Peter Marschall 091370593c isdnctrl/isdnctrl.man.in: hard-code man-page date & autoreconf 11 years ago
..
.isdnctrl_conf.man.in Updated manpage, improved creation of dynamic manpage. 25 years ago
Makefile.in isdnctrl/Makefile.in: fix configure-time warning 11 years ago
README.libipt Changed the text a bit. 22 years ago
aclocal.m4 More changes to compile without kernel source 21 years ago
config.h.in isdnctrl: autoreconf 11 years ago
configure isdnctrl/isdnctrl.man.in: hard-code man-page date & autoreconf 11 years ago
configure.ac isdnctrl/isdnctrl.man.in: hard-code man-page date & autoreconf 11 years ago
ctrlconf.c Added support for using "-" for stdin / stdout with readconf / writeconf 20 years ago
ctrlconf.h isdnctrl: added dialmode into the config file 24 years ago
ctrltimru.c make isdnctrl independent of the version of installed kernel headers, 22 years ago
ctrltimru.h permissions corrected 25 years ago
install-sh New CVS tree 26 years ago
isdn.h make isdnctrl independent of the version of installed kernel headers, 22 years ago
isdn_dwabclib.c Using sys_errlist[] is deprecated. 20 years ago
isdn_dwabclib.h add dwabc-udpinfo-utilitys in isdnctrl 23 years ago
isdnctrl.c "status all" would show also non-ISDN interfaces, this is now fixed. 20 years ago
isdnctrl.h Added cisco_h and cisco_hk as aliases for cisco-h and cisco-hk 21 years ago
isdnctrl.man.in isdnctrl/isdnctrl.man.in: hard-code man-page date & autoreconf 11 years ago
isdnif.h make isdnctrl independent of the version of installed kernel headers, 22 years ago

README.libipt

 --- README.libipt ----------------------------------------------------

IPTABLES SUPPORT
----------------

The files libipt_DWISDN.so and libipt_dwisdn.so are for adding
ISDN support to iptables. This enables you to configure what type
of IP packet is permitted to cause a dialout, for example.

The file libipt_ISDNDIAL.so is a helper target for dynip MASQUERADING
in the nat-table POSTROUTING hook. It triggers dialing and therefore
ISDNDIAL must be placed before the MASQUERADING target.

You can get a short overview with:
iptables -m dwisdn --help
iptables -j DWISDN --help
iptables -j ISDNDIAL --help

Tiny example for dynip-interfaces:
iptables -A OUTPUT -p tcp ! --sync \
-o ippp+ \
-m dwisdn ! --f_eq_iadr \
-j REJECT --reject-with tcp-reset

When old ESTABLISHED tcp connections are closed,
no dial is triggered :-)


The sources are included, however to compile these files you need
the netfilter 1.1.2 cvs-tree and the patch "patch-netfilter-1.1.2_isdn".
Because of this, the compiled .so files have been included for
your convenience (i386 only at this time).

You can use the .so file by copying the file to the iptables
lib-dir (default /usr/local/lib/iptables).


At a later date the ISDN stuff will hopefully be integrated into
the official sources, and then the .so files in the archive will
go away because you can compile it yourself easily then.