From owner-freebsd-security Mon Nov 26 2:44: 8 2001 Delivered-To: freebsd-security@freebsd.org Received: from ns1.interbgc.com (mail.interbgc.com [217.9.224.3]) by hub.freebsd.org (Postfix) with SMTP id 67A8137B405 for ; Mon, 26 Nov 2001 02:44:01 -0800 (PST) Received: (qmail 92493 invoked by uid 1005); 26 Nov 2001 10:43:55 -0000 Received: from borislav.nikolov@interbgc.com by keeper.interbgc.com with qmail-scanner-1.01 (uvscan: v4.0.50/v4168. . Clean. Processed in 0.426979 secs); 26 Nov 2001 10:43:55 -0000 Received: from mail.interbgc.com (HELO keeper.interbgc.com) (217.9.224.3) by mail.interbgc.com with SMTP; 26 Nov 2001 10:43:54 -0000 Date: Mon, 26 Nov 2001 12:43:54 +0200 (EET) From: X-X-Sender: To: Tom Beer Cc: Subject: Re: Amanda - inetd In-Reply-To: <001f01c1765c$3ccfba80$0901a8c0@system> Message-ID: <20011126123643.K63543-100000@keeper.interbgc.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 26 Nov 2001, Tom Beer wrote: > Hi, > > I'm planning to install amanda (remote backup > solution) on a freebsd box as a client. Unfourtunately > amanda needs inetd, which I don't want to start > for security reasons. Even not tcpwarrped. > Is there a way to bring my ppp dialup connection > down, start inetd, start amanda, ending inetd after > the backup and starting my ppp connection > again? Or is there a better solution? just use tcpserv OR you can write a simple shell script. #!/bin/bash killall pppd sleep 3 #wait for user request (15 signal) iface=`ifconfig ppp0 | wc -l` if [ $iface -gt 1 ]; then echo "error there is ppp connection alive" exit 2 fi path/to/inetd -a 127.0.0.1 (paranoia) #here start the amanda (if it can be run into foreground) else put one sleep 606060 (i do not know the time for backupping #wait killall inetd pppd connect 'chat -f /etc/ppp/dial-conf' /dev/cuaaX speed #end or something like this :) > > Greets Tom > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > #! small bobi # mail to : borislav.nikolov@interbgc.com # www page: http://web.interbgc.com/~noun # icq uin : 8912353 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message