Re: Plethora of insects


Martin Schulze (joey)
Tue, 17 Aug 1999 10:04:14 +0200


CaT wrote:
> Hi. Just a quick report (not much time left):
>
> cfingerd 1.4 in use. glibc 2.1, gcc 2.95
>
> 1. I can do finger @host from a site which doesn't appear in the trusted
> list. :/
>
> Aug 17 17:33:04 fishies cfingerd[21427]: User listing from root@fishy.pip.com.au
> Aug 17 17:33:10 fishies cfingerd[21432]: User listing from root@fishy.pip.com.au
>
> 2. userlist does not support UNIX98 PTY's. I have a patch for this but have
> no time to send it. tell me if you want it.

I am interested. The patch needs to be clean since I don't have a
machine where I can try this.

> 3. finger list sometimes becomes corrupt:
>
> root@fishies:/etc/cfingerd>> finger @pipperii
> [fishies.pip.com.au]
> clam Clam */14 1:29 Aug 17 17:02 (prawn.pip.net.au)
> root Fishy SysAdmin /2 4:22 Aug 17 09:57 (prawn:S.0)
> root Fishy SysAdmin /8 9 Aug 17 13:48 (prawn:S.2)
> root Fishy SysAdmin /9 1:49 Aug 17 13:48 (prawn:S.3)
> root Fishy SysAdmin /11 Aug 17 13:48 (prawn:S.5)
> root Fishy SysAdmin /12 Aug 17 15:47 (prawn:S.6)
> root Fishy SysAdmin /13 1:06 Aug 17 16:07 (prawn:S.7)
> root Fishy SysAdmin /10 1:16 Aug 17 13:48 (prawn:S.4)
> root Fishy SysAdmin /16 6 Aug 17z?8z?8z?FDEH~ 17:06 (prawn:S.8)
> root Fishy SysAdmin /0 5 Aug 17 12:52 (prawn:S.1)

Found it, fixed it. I hate different interpretations of size_t
variables. Will be in 1.4.1 coming out soon.

One thing is missing for 1.4.1. Maybe somebody want to give an
advise. On a host with no users logged in, you'll get a strange
listing when using finger @host since cfingerd doesn't know if
users are logged in or not. One way to get over this would be
to capture the output of all external programs, return big
text structures and test if its empty or not, then print the
header - or not. Currently the routine calling the external
program does a printf () of its output.

Regards,

        Joey

-- 
Those who don't understand Unix are condemned to reinvent it, poorly.



This archive was generated by hypermail 2.0b3 on Tue Aug 17 1999 - 10:04:15 CEST