We currently have tcp wrappers running on our system, and is functioning
fine.
I didn't see anyway for this in the docs, but... can tcp_wrappers be setup
so that
a script can allow/deny a connection?
What I want to do is allow a connection from an IP, but only between certain
hours
(I'd rather not put this in the .login script, since it would affect all
users from this IP,
and only when loggin in via telnet - (ie. LAT connection can be anytime -
it's a local
connection)
Where timeok is a script/and or PERL routine that will determine if the
login time is
ok. Is it possible for the script to set a varible or flag so that
tcp_wrapper will not
allow the connection?
/etc/hosts.allow entry
telnetd: 10.10.1.1 : (/usr/local/timeok)
Thanks
George
George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen_at_slackinc.com
ph:856.848.1000 Ext 220
SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
Received on Thu Mar 29 2001 - 20:53:11 NZST