Mailinglist Archive: opensuse-security (670 mails)

< Previous Next >
Re: [suse-security] SuSE and tcpd
  • From: Roman Drahtmueller <draht@xxxxxxx>
  • Date: Thu, 15 Nov 2001 12:18:47 +0100 (MET)
  • Message-id: <Pine.LNX.4.33.0111151215060.30423-100000@xxxxxxxxxxxx>
> Thanks All.
> Sorted.
> reference in hosts.allow/deny should have been "in.telnetd".
>
> I had read the man and man 5 pages but for some reason my brain said "use
> the service name" instead of "use the daemon name" even though it was quite
> clear in the example.

Not necessarily:

request_init(&wrap_req, RQ_DAEMON, progname , RQ_FILE, s, NULL);

could be the initial call into the tcp-wrapper library.

tcpd uses the last path portion of argv[0] to match against, but that does
not have to be so - progname can be a char * to another string as well.

Just decided to hack libwrap support into lprng and lprold.

> Thanks again.
>
> Nigel


Thanks,
Roman.
--
- -
| Roman Drahtmüller <draht@xxxxxxx> // "You don't need eyes to see, |
SuSE GmbH - Security Phone: // you need vision!"
| Nürnberg, Germany +49-911-740530 // Maxi Jazz, Faithless |
- -


< Previous Next >
References