isdn4k-utils/isdnctrl
Karsten Keil 78acb431e8 * have a seperate config directory for firmware
* have a seperate config directory for card tools
2005-02-21 17:52:09 +00:00
..
.isdnctrl_conf.man.in Updated manpage, improved creation of dynamic manpage. 1997-10-23 22:39:09 +00:00
Makefile.in More changes to compile without kernel source 2002-07-19 21:23:55 +00:00
README.libipt Changed the text a bit. 2000-12-14 10:52:26 +00:00
acconfig.h Make isdnctrl compile without TIMRU in kernel (2.0.36-pre20/21) 1998-11-11 23:53:02 +00:00
aclocal.m4 More changes to compile without kernel source 2002-07-19 21:23:55 +00:00
config.h.in removed unused reference to libg?dbm? 2000-08-01 20:23:46 +00:00
configure More changes to compile without kernel source 2002-07-19 21:23:55 +00:00
configure.in * have a seperate config directory for firmware 2005-02-21 17:52:09 +00:00
ctrlconf.c Added support for using "-" for stdin / stdout with readconf / writeconf 2003-03-11 14:01:55 +00:00
ctrlconf.h isdnctrl: added dialmode into the config file 1998-11-21 14:03:39 +00:00
ctrltimru.c make isdnctrl independent of the version of installed kernel headers, 2001-05-23 14:48:23 +00:00
ctrltimru.h permissions corrected 1998-06-09 18:17:31 +00:00
install-sh New CVS tree 1997-02-17 00:09:41 +00:00
isdn.h make isdnctrl independent of the version of installed kernel headers, 2001-05-23 14:48:23 +00:00
isdn_dwabclib.c Using sys_errlist[] is deprecated. 2003-03-11 14:03:43 +00:00
isdn_dwabclib.h add dwabc-udpinfo-utilitys in isdnctrl 1999-11-07 22:04:05 +00:00
isdnctrl.c "status all" would show also non-ISDN interfaces, this is now fixed. 2003-03-11 13:46:56 +00:00
isdnctrl.h Added cisco_h and cisco_hk as aliases for cisco-h and cisco-hk 2002-02-07 10:44:12 +00:00
isdnctrl.man.in "status active" added, this shows only those interfaces that are connected. 2003-03-11 13:49:28 +00:00
isdnif.h make isdnctrl independent of the version of installed kernel headers, 2001-05-23 14:48:23 +00:00

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.