-
Is it possible to use inetd.conf w/o tcpd?
Hi,
I can use my Knoppix live cd for telnetting, ftp'ing to localhost w/o problems using the default
inetd.conf file which contains lines like:
Code:
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
However when I disable tcpd and try to use the barebone telnetd, ftpd, etc. using the
following configuration I cannot telnet or ftp to myself:
Code:
ftp stream tcp nowait root /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/in.telnetd
I rerun the inetd and then try to telnet to receive this response:
Code:
knoppix@ttyp4[knoppix]$ telnet localhost
Trying 127.0.0.1...
Connected to Knoppix.
Escape character is '^]'.
Connection closed by foreign host.
As you see, when I'm not using tcpd it just automatically disables telnet, ftp, etc. I've tried it
hosts.allow, hosts.deny, I've also tried it w/o these files. Nothing changes.
Is it impossible to use inetd without tcpd on Knoppix? If it is possible, how?
Thanks in advance.
-
Senior Member
registered user
Re: Is it possible to use inetd.conf w/o tcpd?
--Why would you want to? Tcpd wrapping results in better security. Are you trying to run ftp over UDP or something?
--Also, you really should be using ssh instead of telnet (ssh -2 -c blowfish is the fastest.)
--Check out this Google cache "What inetd is and how to secure it":
http://216.239.33.100/search?q=cache...hl=en&ie=UTF-8
--Also check here, it shows you how to run a standalone service:
http://www.linuxman.com.cy/rute/node32.html

Originally Posted by
FZ
Hi,
I can use my Knoppix live cd for telnetting, ftp'ing to localhost w/o problems using the default
inetd.conf file which contains lines like:
Code:
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
However when I disable tcpd and try to use the barebone telnetd, ftpd, etc. using the
following configuration I cannot telnet or ftp to myself:
Code:
ftp stream tcp nowait root /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/in.telnetd
I rerun the inetd and then try to telnet to receive this response:
Code:
knoppix@ttyp4[knoppix]$ telnet localhost
Trying 127.0.0.1...
Connected to Knoppix.
Escape character is '^]'.
Connection closed by foreign host.
As you see, when I'm not using tcpd it just automatically disables telnet, ftp, etc. I've tried it
hosts.allow, hosts.deny, I've also tried it w/o these files. Nothing changes.
Is it impossible to use inetd without tcpd on Knoppix? If it is possible, how?
Thanks in advance.
-
Re: Is it possible to use inetd.conf w/o tcpd?

Originally Posted by
Dave_Bechtel
Thanks for the info. I've found out the answer, it seems like I've just forgotten to add the last field on both of the lines, they must look like that:
Code:
ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
Of course I know this a Bad Thing
This was just about a demonstration and I needed to show people how inetd worked without tcpd.
Similar Threads
-
By Legithrandil in forum Networking
Replies: 3
Last Post: 03-31-2004, 04:44 PM
-
By activeco in forum Networking
Replies: 4
Last Post: 12-11-2003, 05:16 PM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 11
Last Post: 12-05-2003, 05:03 PM
-
By FZ in forum Networking
Replies: 0
Last Post: 06-05-2003, 08:18 PM
-
By garyng in forum General Support
Replies: 0
Last Post: 05-19-2003, 11:05 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W
$899.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99