From owner-freebsd-rc@FreeBSD.ORG Tue Jul 3 14:41:33 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C585616A41F for ; Tue, 3 Jul 2007 14:41:33 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id 570F113C4C2 for ; Tue, 3 Jul 2007 14:41:33 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.64.181.58] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1I5jYt29v7-0003Cy; Tue, 03 Jul 2007 16:41:20 +0200 From: Max Laier Organization: FreeBSD To: Xin LI , freebsd-rc@freebsd.org Date: Tue, 3 Jul 2007 16:42:38 +0200 User-Agent: KMail/1.9.6 References: <200707031616.29564.max@love2party.net> <468A5DB2.50504@delphij.net> In-Reply-To: <468A5DB2.50504@delphij.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7539614.8idocgAYrk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707031642.44635.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19te3TSsbg+xp7vFih65o0d4/+S927X8vtOcBa UrE8Hk97zZ1G1G923z2GpV3NGxJlAuPK9fEvNJJHDBvROGHbYT 0ZM9MeMBySy7KtVqxLFPdbl8wsmiV+BgOfO8BZrgWQ= Cc: Subject: Re: ftp-proxy X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 14:41:33 -0000 --nextPart7539614.8idocgAYrk Content-Type: multipart/mixed; boundary="Boundary-01=_fBmiG5DSuulN9I8" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_fBmiG5DSuulN9I8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 03 July 2007, Xin LI wrote: > Max Laier wrote: > > Hi, > > > > does the attached startup script for ftp-proxy(8) look reasonable?=20 > > Please keep me in CC as I'm not on the list, thanks. > > I think you missed the attachment :-) strange - might be the list sanity checks again? I did send it for sure. = =20 Anyways, here we go again: Index: defaults/rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/store/mlaier/fcvs/src/etc/defaults/rc.conf,v retrieving revision 1.316 diff -u -r1.316 rc.conf =2D-- defaults/rc.conf 12 Jun 2007 17:33:23 -0000 1.316 +++ defaults/rc.conf 3 Jul 2007 14:12:58 -0000 @@ -154,6 +154,8 @@ pflog_logfile=3D"/var/log/pflog" # where pflogd should store the logfile pflog_program=3D"/sbin/pflogd" # where the pflogd program lives pflog_flags=3D"" # additional flags for pflogd +ftpproxy_enable=3D"NO" # Set to YES to enable ftp-proxy(8) for pf +ftpproxy_flags=3D"" # additional flags for ftp-proxy(8) pfsync_enable=3D"NO" # Expose pf state to other hosts for syncing pfsync_syncdev=3D"" # Interface for pfsync to work through pfsync_syncpeer=3D"" # IP address of pfsync peer host Index: rc.d/ftp-proxy =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: rc.d/ftp-proxy diff -N rc.d/ftp-proxy =2D-- /dev/null 1 Jan 1970 00:00:00 -0000 +++ rc.d/ftp-proxy 3 Jul 2007 14:11:26 -0000 @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ftp-proxy +# REQUIRE: DAEMON pf +# + +. /etc/rc.subr + +name=3D"ftpproxy" +rcvar=3D`set_rcvar` +command=3D"/usr/sbin/ftp-proxy" + +load_rc_-config $name +run_rc_command "$1" =2D-=20 =46reeBSD Status reports due: 07/07/07 :-) /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-01=_fBmiG5DSuulN9I8 Content-Type: text/plain; charset="iso-8859-1"; name="ftp-proxy.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ftp-proxy.diff" Index: defaults/rc.conf =================================================================== RCS file: /usr/store/mlaier/fcvs/src/etc/defaults/rc.conf,v retrieving revision 1.316 diff -u -r1.316 rc.conf --- defaults/rc.conf 12 Jun 2007 17:33:23 -0000 1.316 +++ defaults/rc.conf 3 Jul 2007 14:12:58 -0000 @@ -154,6 +154,8 @@ pflog_logfile="/var/log/pflog" # where pflogd should store the logfile pflog_program="/sbin/pflogd" # where the pflogd program lives pflog_flags="" # additional flags for pflogd +ftpproxy_enable="NO" # Set to YES to enable ftp-proxy(8) for pf +ftpproxy_flags="" # additional flags for ftp-proxy(8) pfsync_enable="NO" # Expose pf state to other hosts for syncing pfsync_syncdev="" # Interface for pfsync to work through pfsync_syncpeer="" # IP address of pfsync peer host Index: rc.d/ftp-proxy =================================================================== RCS file: rc.d/ftp-proxy diff -N rc.d/ftp-proxy --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ rc.d/ftp-proxy 3 Jul 2007 14:11:26 -0000 @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ftp-proxy +# REQUIRE: DAEMON pf +# + +. /etc/rc.subr + +name="ftpproxy" +rcvar=`set_rcvar` +command="/usr/sbin/ftp-proxy" + +load_rc_-config $name +run_rc_command "$1" --Boundary-01=_fBmiG5DSuulN9I8-- --nextPart7539614.8idocgAYrk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGimBkXyyEoT62BG0RAjTSAJ4pPw9lwBvgui6CNzwo2tr/3vhitQCcCGqJ QnA6BRMU6KT+lRwg+s37Ckk= =fI+E -----END PGP SIGNATURE----- --nextPart7539614.8idocgAYrk--