Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 12:43:54 +0200 (EET)
From:      <borislav.nikolov@interbgc.com>
To:        Tom Beer <mailings@analogon.com>
Cc:        <security@FreeBSD.ORG>
Subject:   Re: Amanda - inetd
Message-ID:  <20011126123643.K63543-100000@keeper.interbgc.com>
In-Reply-To: <001f01c1765c$3ccfba80$0901a8c0@system>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011126123643.K63543-100000>