home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sequent
- Path: sparky!uunet!sequent!muncher.sequent.com!timw
- From: timw@sequent.com (Tim Wright)
- Subject: Re: tcpd tcplog tcp-wrapper logtcp
- Message-ID: <1993Jan22.145459.25193@sequent.com>
- Sender: usenet@sequent.com (usenet )
- Nntp-Posting-Host: sequent.sequent.com
- Organization: Sequent Computer Systems, Inc.
- References: <sivbl.727664363@win4>
- Date: Fri, 22 Jan 93 14:54:59 GMT
- Lines: 45
-
- 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
-