Xinetd & new service

From: Paul (parisse_at_iprimus.com.au)
Date: 12/23/03

  • Next message: Mikko Koivunen: "Re: Just when you think Fedora is safe"
    Date: Tue, 23 Dec 2003 12:06:10 +0800
    
    

    I have installed a new service on my linux fedora box , using xinetd, is
    there a way to pass arguments to the running service from with in xinetd.

    I have tried server_args but there seems to be no changes.

    below is an example of what im trying to do .

    # default: on
    # description: The nc server serves nc sessions; it uses \
    #
    service nc
    {
            disable = no
            flags = REUSE
            socket_type = stream
            wait = yes
            user = root
            server = /usr/bin/nc (i would like to try to pass a
    arg to netcat so that it runs a script)
            server_args = -e /tmp/level0
            port = 2222

    }


  • Next message: Mikko Koivunen: "Re: Just when you think Fedora is safe"

    Relevant Pages

    • RE: Script to turn off unneeded services
      ... These can be switched on and off with chkconfig as well. ... Type chkconfig --list to see a full listing plus runlevels for your ... So for example you want to turn on ipop3 on within xinetd just use: ... Script to turn off unneeded services ...
      (RedHat)
    • Re: Philosophy of xinetd
      ... >Please help me understand the philosophy of xinetd. ... certain network events. ... Note also that inittab controls also things happening at stages other ... with the above you're diverging from your "one script to start ...
      (comp.os.linux.networking)
    • Re: Script to turn off unneeded services
      ... specific about just turning off a few of the xinetd entries. ... An internal xinetd service, listing active servers. ... Script to turn off unneeded services ...
      (RedHat)
    • pcntl_fork() question!
      ... I wish to write a little server script. ... My little script will be a shell script in php. ... it invoked by xinetd instead of being a server running all the time. ... The code above allows client to connect, type something (in reality it will ...
      (comp.lang.php)