🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sequent
2 messages
2 total messages Started by Brett L Sivies Fri, 22 Jan 1993 00:59
tcpd tcplog tcp-wrapper logtcp
#607
Author: Brett L Sivies
Date: Fri, 22 Jan 1993 00:59
44 lines
2044 bytes
Hello,

I was just wondering if anyone here has had any experience with the above
mentioned program(s) on sequents.

I have installed the program on 20 machines around my office area to keep
track of who does what on what mahcine, but when it comes to iunstalling the
software on the main (mostly used and tried to be hacked) machine it will not
work properly :-(

I have a Sequent Symmetry S27 running PTX (1.3) soon to be upgraded to PTX
2.0.

When the tcpd program is running it reports that something has happeneed, it
just will not tell me the most important part... WHERE the call originated
from.  This is what I get:

Jan 22 11:56:54 win4 rpc.rusersd[8989]: connect from unknown
Jan 22 11:41:41 win4 telnetd[8939]: connect from unknown
Jan 22 11:04:55 win4 rlogind[7799]: connect from unknown

Can anyone help??  I beleive if could be falling down at the getpeername()
function, but I am not sure.. The function always returns a -1 but it might be
getting the wrong information in the first place and thus not working because
of misinformation..

Thanks

ANYHELP would be appreciated...

brett

---
Brett Sivies			e-mail: brett@win4.vut.edu.au
IRC: Supreme				brett@win3.vut.edu.au
Systems Programmer		Phone:  61 03 365 2112
Victoria University of Tech.	Fax:    61 03 366 8285
St. Albans			Post:   P.O Box 14428, Melbourne Mail Centre,
Melbourne, Victoria			Melbourne, Victoria, 3000
--
Brett Sivies			e-mail: brett@win4.vut.edu.au
IRC: Supreme				brett@win3.vut.edu.au
Systems Programmer		Phone:  61 03 365 2112
Victoria University of Tech.	Fax:    61 03 366 8285
Re: tcpd tcplog tcp-wrapper logtcp
#608
Author: Tim Wright
Date: Fri, 22 Jan 1993 14:54
45 lines
2543 bytes
In <sivbl.727664363@win4> sivbl@win4.vut.EDU.AU (Brett L Sivies) writes:

>Hello,

>I was just wondering if anyone here has had any experience with the above
>mentioned program(s) on sequents.

>I have installed the program on 20 machines around my office area to keep
>track of who does what on what mahcine, but when it comes to iunstalling the
>software on the main (mostly used and tried to be hacked) machine it will not
>work properly :-(

>I have a Sequent Symmetry S27 running PTX (1.3) soon to be upgraded to PTX
>2.0.

>When the tcpd program is running it reports that something has happeneed, it
>just will not tell me the most important part... WHERE the call originated
>from.  This is what I get:

>Jan 22 11:56:54 win4 rpc.rusersd[8989]: connect from unknown
>Jan 22 11:41:41 win4 telnetd[8939]: connect from unknown
>Jan 22 11:04:55 win4 rlogind[7799]: connect from unknown

>Can anyone help??  I beleive if could be falling down at the getpeername()
>function, but I am not sure.. The function always returns a -1 but it might be
>getting the wrong information in the first place and thus not working because
>of misinformation..

If you're using tcpd from inetd, then getpeername() will *not* work.
The inetd in ptx/TCP passes a TLI endpoint, not a socket so the correct
routine to call is getpeerinaddr().
I have personally had success making "sockety" programs work from inetd
by popping "timod" off the stream and pushing "sockmod". Your mileage
however might vary and this is not an official Sequent recommendation,
purely personal observation from one too lazy to want to change his
sockets-using programs to use TLI instead :-)
You obviously would not want to do this to tcpd 'cos you'd break all the
programs that get called underneath !

Tim
-- 
Tim Wright, Sequent Computer Systems Ltd.,        |  Email: timw@lonsqnt.co.uk
Customer Services, Allied Dunbar House,           |   or    timw@sequent.com
Chilsey Green Rd., Chertsey, Surrey, UK, KT16 9HB |  Phone: +44-932-568900
"I've got a set of teeth that druids could worship at" - Cat, Red Dwarf
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads