Is a tcp wrapper software same as ipchains? Could someone explain the
functionality of tcp wrapper, incase it is different than ipchains?
Sanjay
Sanjay
-- PC^God --
> > tcp wrappers is a program that checks who the remote host is, and
> > decides weather or not to allow it to connect to the daemon it's
> > protecting. This is different from ipchains in that you can allow or
> > deny access on a per daemon basis. ipchains will deny all packets to or
> > from a host if you set it up that way, whereas tcp wrappers only
> > concerns incoming connections.
> Of course you can configure ipchains to deny or reject connections from
> certain hosts and/or networks to certain ports, (or more usually from all
> except certain networks and/or certain hosts to certain ports). It is
> inherently more secure than tcp wrappers alone, because not all daemons
> are compiled to use tcp wrappers, whereas ipchains, operating at the
> kernel level, is not bothered on what the daemon thinks...
As well as all the above, tcp wrappers allow you to do per-user checking
with identd (eurgh - especially as identd normally runs under tcpd too!!)
and execute commands when tripped, neither of which ipchains does.
Stupid question: is there any kind of application firewall for linux other
than tcpd as above, e.g. something that can grok http and telnet and X to
non-standard ports?
~Tim
--
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-
| The sun is melting over the hills, | http://piglet.is.dreaming.org/
ipmasqadm....Quote:> Stupid question: is there any kind of application firewall for linux other
> than tcpd as above, e.g. something that can grok http and telnet and X to
> non-standard ports?
> ~Tim
> --
f>ipmasqadm....Quote:>> Stupid question: is there any kind of application firewall for linux other
>> than tcpd as above, e.g. something that can grok http and telnet and X to
>> non-standard ports?
>> ~Tim
>> --
IIRC, tcp wrappers can be used on any daemon that's started by inetd. Which
generally *isn't* httpd or X. But I think it's irrelevant what port the
daemon is listening on. Or am I misreading the question and you *aren't*
asking about telnetd listening on something other than 23?
--
"Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so."
-Douglas Adams
Packet filtering and tcp wrappers do similar jobs at different
levels and are more of a compliment to one another than alternatives.
David.
> f>ipmasqadm....
> IIRC, tcp wrappers can be used on any daemon that's started by inetd.
> Which generally *isn't* httpd or X. But I think it's irrelevant what
> port the daemon is listening on. Or am I misreading the question and you
> *aren't* asking about telnetd listening on something other than 23?
if it's an outgoing HTTP request for a .ram file, kill it stone dead
if it's X between 192.168.99.2 and the outside world, block it
if it's 'tunnelv's[1] protocol between any outside world and my
ppp0's IP#, allow it
if it's postgresql's comms layer only allow it to 5432
and so on. The point being, all the above have easily-variable ports with
only typical defaults in /etc/services, particularly the latter two.
[1] www.worldvision.ca, or is it worldvisions? One of those things. Quite
a useful NAT toy.
~Tim
--
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-
| The sun is melting over the hills, | http://piglet.is.dreaming.org/
Here's the short desc of tcp_wrappers from ftp.porcupine.org
Wietse Venema's network logger, also known as TCPD or LOG_TCP.
These programs log the client host name of incoming telnet,
ftp, rsh, rlogin, finger etc. requests. Security options are:
access control per host, domain and/or service; detection of
host name spoofing or host address spoofing; *y traps to
implement an early-warning system. The current version supports
the System V.4 TLI network programming interface (Solaris,
DG/UX) in addition to the traditional BSD sockets.
Also, from the tcp_wrappers README
The tcpd program can be used to monitor the telnet, finger, ftp,
exec, rsh, rlogin, tftp, talk, comsat and other tcp or udp services
that have a one-to-one mapping onto executable files.
The tcpd program can also be used for services that are marked as
rpc/udp in the inetd configuration file, but not for rpc/tcp services
such as rexd. You probably do not want to run rexd anyway. On most
systems it is even less secure than a wildcard in /etc/hosts.equiv.
--
"Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so."
-Douglas Adams
>Here's the short desc of tcp_wrappers from ftp.porcupine.org
> Wietse Venema's network logger, also known as TCPD or LOG_TCP.
> These programs log the client host name of incoming telnet,
> ftp, rsh, rlogin, finger etc. requests. Security options are:
> access control per host, domain and/or service; detection of
> host name spoofing or host address spoofing; *y traps to
> implement an early-warning system. The current version supports
> the System V.4 TLI network programming interface (Solaris,
> DG/UX) in addition to the traditional BSD sockets.
>Also, from the tcp_wrappers README
> The tcpd program can be used to monitor the telnet, finger, ftp,
> exec, rsh, rlogin, tftp, talk, comsat and other tcp or udp services
> that have a one-to-one mapping onto executable files.
> The tcpd program can also be used for services that are marked as
> rpc/udp in the inetd configuration file, but not for rpc/tcp services
> such as rexd. You probably do not want to run rexd anyway. On most
> systems it is even less secure than a wildcard in /etc/hosts.equiv.
>--
>"Human beings, who are almost unique in having the ability to learn from
>the experience of others, are also remarkable for their apparent
>disinclination to do so."
> -Douglas Adams
1. tcp wrappers (TCP/IP daemon wrapper)
Is there a version of tcp wrappers for SCO 5.x?
If there is, please let me know.
Thank you,
Alvin D. Allen
2. Help - need dual-boot instructions
3. tcp wrappers and tcp banners.....HELP
4. mkfs seams to give space away
6. Need a HOWTO for supporting dial-in PPP sessions
7. TCP Wrappers output after denial
8. Help: terminal communications on E20 over a t-1 AIX 4.1.5
9. Solaris Binaries for TCP Wrappers