Results 1 to 3 of 3

Thread: Is it possible to use inetd.conf w/o tcpd?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    5

    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.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    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

    Quote 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.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    5

    Re: Is it possible to use inetd.conf w/o tcpd?

    Quote Originally Posted by Dave_Bechtel
    --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
    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

  1. editing smb.conf
    By Legithrandil in forum Networking
    Replies: 3
    Last Post: 03-31-2004, 04:44 PM
  2. dhcpd.conf in another location?
    By activeco in forum Networking
    Replies: 4
    Last Post: 12-11-2003, 05:16 PM
  3. lilo.conf
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 12-05-2003, 05:03 PM
  4. Replies: 0
    Last Post: 06-05-2003, 08:18 PM
  5. modules.conf, what it is for ?
    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
  •  


Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



ADATA XPG Lancer Blade RGB 32GB (2x16GB) DDR5-6000 CL30 Desktop RAM Black picture

ADATA XPG Lancer Blade RGB 32GB (2x16GB) DDR5-6000 CL30 Desktop RAM Black

$429.94



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



LOT OF 4  Samsung 16GB DDR4-2666 ECC UDIMM 2Rx8 PC4-21300 M391A2K43BB1-CTDQ picture

LOT OF 4 Samsung 16GB DDR4-2666 ECC UDIMM 2Rx8 PC4-21300 M391A2K43BB1-CTDQ

$469.95



NEW IN BOX - Corsair Vengeance RGB 32gb (2x16gb) DDR6200 CL36 CMH32GX5M2B6200C3 picture

NEW IN BOX - Corsair Vengeance RGB 32gb (2x16gb) DDR6200 CL36 CMH32GX5M2B6200C3

$550.00