From owner-freebsd-questions Mon Oct 14 10:13:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42FC37B401 for ; Mon, 14 Oct 2002 10:13:41 -0700 (PDT) Received: from mail1.ing.nl (mail1.ing.nl [145.221.93.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BD7143EA3 for ; Mon, 14 Oct 2002 10:13:40 -0700 (PDT) (envelope-from Danny.Carroll@mail.ing.nl) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Running ipfw from a webpage/using php. Date: Mon, 14 Oct 2002 16:52:36 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Running ipfw from a webpage/using php. Thread-Index: AcJzjxHZh7MqXLcvTTuo5LEwT+jstAAAiAYg From: Importance: normal To: Cc: X-OriginalArrivalTime: 14 Oct 2002 14:52:36.0785 (UTC) FILETIME=[55DDDA10:01C27391] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I did it.... It works, but it's NOT secure... Basically I use it to open a SSH port to the dialin machine I am = browsing from. You are welcome to my source if you like.... -D -----Original Message----- From: Patrick Holahan [mailto:patrick@sdn.co.za] Sent: 14 October 2002 16:36 To: questions@freebsd.org Subject: Running ipfw from a webpage/using php. Hi there.. Hopefully someone here is able to help me.. I need to run a root command (ipfw) from apache through php. (Yes, this = is not very secure and I'm aware of this and if anyone has any better suggestions, please feel free to make them.) Would anyone know how to do this? Thanks in advance -ph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message -----------------------------------------------------------------=0A= ATTENTION:=0A= The information in this electronic mail message is private and=0A= confidential, and only intended for the addressee. Should you=0A= receive this message by mistake, you are hereby notified that=0A= any disclosure, reproduction, distribution or use of this=0A= message is strictly prohibited. Please inform the sender by=0A= reply transmission and delete the message without copying or=0A= opening it.=0A= =0A= Messages and attachments are scanned for all viruses known.=0A= If this message contains password-protected attachments, the=0A= files have NOT been scanned for viruses by the ING mail domain.=0A= Always scan attachments before opening them.=0A= ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message