> : Is there a way to restrict incoming telnet sessions to only a list of
> : allowable IP numbers or subnets? It would seem that the IP number would
> : be passed to in.telnetd in some way. How would one go about checking it
> : against a list? Thanks in advance
> tcp_wrappers and netacl of fwtk are two that come to mind. fwtk is
> available from ftp.tis.com. Ask archie about tcp_wrappers. There is
> no way to control it with just unix that I am aware of :(
It CAN be done, but you need to re-write the network device driver to carry
out the check. The X25 drivers I wrote a few years ago checked the caller-id
field against a permission file. With X25 ( and ISDN ) the caller-id is
provided by the network so cannot be easily cheated. I am not so sure about
the headers in TCP packets -- can they be cheated ??.
Getting hold of the sources for the device drivers can be a problem for some
systems, others like BSDI or Linux are easily available.
CAUTION --- device drivers are part of the kernel -- be sure you understand what
you are doing.
--
+----------------------------------------+--------------------------------+
| B'Shalom from Chris Newport | Home of : netix.bbs |
| Location : Clevedon, Avon, UK | : The Netix Consultancy|
+----------------------------------------+--------------------------------+
| Consultancy and Software development Unix & Comms Specialists |
+----------------------------------------+--------------------------------+