Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Juri Haberland <list-linux.netfilter.users@spoiled.org>
To: netfilter@lists.samba.org
Subject: Re: TCP delay, solved
Date: Thu, 13 Jun 2002 09:59:42 +0000 (UTC)	[thread overview]
Message-ID: <news2mail-ae9qee$vvr$1@babel.spoiled.org> (raw)
In-Reply-To: 200206122002.g5CK2nA02787@Networker.rockstone.co.uk

Antony Stone <Antony@soft-solutions.co.uk> wrote:
> On Wednesday 12 June 2002 5:33 pm, Nathan Cassano wrote:
> 
>> Well you learn something new every day. Today I learned inetd does ident
>> checks on it's clients.
> 
> Yes, it's called tcpwrappers, and has been pretty standard on systems for I'd 
> say about four years now :-)

That might not be true. Actually it depends on how the tcpwrappers are
compiled. AFAIK the tcpwrappers are compiled with ident lookup by
default but these are only done when you have a line like:

in.ftpd: user@192.168.0.

in your hosts.access file. So in general the tcpwrappers do not do ident
lookups.

>> This is annoying, is there a way you can turn
>> this off inside inetd?
> 
> Yes, it's the bit on each line of /etc/inetd.conf which says "/usr/sbin/tcpd" 
> - it does an ident lookup and logs the access to syslog before handing the 
> connection over to the real daemon.
> 
> If you don't want this to happen them remove the "/usr/sbin/tcpd" from 
> inetd.conf and just have the standard daemon listed there on its own.

This is a very bad advice as the tcpwrappers are a standard security
tool which shouldn't be disabled!
And it won't help in cases of telnet and ftp as they do their ident lookups
themselfs!

The only way to go is to use iptables to reject those lookups.

Cheers,
Juri

-- 
Juri Haberland  <juri@koschikode.com> 



  reply	other threads:[~2002-06-13  9:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020612154553.GI10747@hack.home.theunixman.com>
2002-06-12 16:33 ` TCP delay, solved Nathan Cassano
2002-06-12 20:02   ` Antony Stone
2002-06-13  9:59     ` Juri Haberland [this message]
2002-06-13 12:05       ` Antony Stone
2002-06-14  7:15         ` David Luyer
2002-06-14  7:55           ` Antony Stone
2002-06-14  8:17             ` David Luyer
2002-06-14  8:25               ` David Luyer
2002-06-14  9:18                 ` Antony Stone
2002-06-14 20:29                   ` Joe Patterson
2002-06-15  1:21                     ` Joe Patterson
2002-06-14  9:16               ` Antony Stone
2002-06-14 17:28                 ` Tony Earnshaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='news2mail-ae9qee$vvr$1@babel.spoiled.org' \
    --to=list-linux.netfilter.users@spoiled.org \
    --cc=juri@koschikode.com \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox