tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: tcp wrapper & external program for allow/deny
Date: Thu, 29 Mar 2001 20:52:09 +0000	[thread overview]
Message-ID: <98589915507075.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C0B892.20199830", Size: 3957 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0B892.20199830
Content-Type: text/plain;
	charset="iso-8859-1"

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@slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com


------_=_NextPart_001_01C0B892.20199830
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>tcp wrapper &amp; external program for allow/deny</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">We currently have tcp wrappers running =
on our system, and is functioning fine.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I didn't see anyway for this in the =
docs, but... can tcp_wrappers be setup so that</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">a script can allow/deny a =
connection?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What I want to do is allow a =
connection from an IP, but only between certain hours</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(I'd rather not put this in the =
.login script, since it would affect all users from this IP,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">and only&nbsp; when loggin in via =
telnet - (ie. LAT connection can be anytime - it's a local</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">connection)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Where timeok is a script/and or PERL =
routine that will determine if the login time is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ok. Is it possible for the script to =
set a varible or flag so that tcp_wrapper will not</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">allow the connection?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">/etc/hosts.allow entry</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">telnetd: 10.10.1.1 : =
(/usr/local/timeok)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">George</FONT>
</P>

<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">George =
Gallen</FONT></B>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">Senior =
Programmer/Analyst</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">Accounting/Data Division</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ggallen@slackinc.com</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ph:856.848.1000 Ext 220</FONT>
</P>

<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">SLACK =
Incorporated</FONT></B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times =
New Roman"> -<I> An innovative information, education and management =
company</I></FONT>
<BR><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Times New Roman"><A =
HREF=3D"http://www.slackinc.com" =
TARGET=3D"_blank">http://www.slackinc.com</A></FONT></U>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0B892.20199830--

                 reply	other threads:[~2001-03-29 20:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox