From owner-freebsd-current Fri Feb 1 16:27: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 6379537B41A; Fri, 1 Feb 2002 16:26:31 -0800 (PST) Received: from pool0542.cvx40-bradley.dialup.earthlink.net ([216.244.44.32] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16Wo0e-0005lR-00; Fri, 01 Feb 2002 16:26:24 -0800 Message-ID: <3C5B3225.F04B9B18@mindspring.com> Date: Fri, 01 Feb 2002 16:26:13 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Paul Fardy Cc: current@freebsd.org, stable@freebsd.org Subject: Junior Annoying Hacker Task References: <5F46C986-16DB-11D6-8CEC-00039359034A@mac.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >> foo_enable="NO" > > ipfilter_enable="YES" > > firewall_enable="NO" > natd_enable="NO" > natd_interface="fxp0" > inetd_enable="NO" > inetd_program="/usr/sbin/inetd" > foo_enable="YES/NO" > foo_enable="NO" Who is a GTK hacker? Does someone want to write a "registry editor" program? The point of the program would be to edit the "FreeBSD Registry", rc.conf, and make it look just like the Windows Registry in the editor, using "_" as the implied path component/terminal component (key) seperator. Then we can all be honest with ourselves that the only difference between it an the Windows Registry is that the Windows registry is accessible/modifiable from kernel mode, and the path component and key names. You can start with: My Computer\HKEY_LOCAL_MACHINE\natd Name Data ----------- --------------------------------- enable NO interface fxp0 My Computer\HKEY_LOCAL_MACHINE\inetd Name Data ----------- --------------------------------- enable NO program /usr/sbin/inetd etc. If you want to get ambitious: o Make "HKEY_LOCAL_MACHINE" an alias for your node name, and include your node name in the list. o Call it "localhost", if you are feeling too guilty about calling it "HKEY_LOCAL_MACHINE". o Make the tool operate on node names other than "localhost", so you can do remote administration of configuration files on a cluster of FreeBSD boxes o Add more subkeys; perhaps it should not be just My Computer\localhost\inetd but My Computer\localhost\rc.conf\inetd letting you fold in the other files, like the inetd.conf, into "registry handlers", e.g.: My Computer\localhost\inetd.conf\telnet enable NO sockettype stream protocol tcp wait NO user root program /usr/libexec/telnetd etc.. o Support sysctls in the HKEY_DYN_DATA and HKEY_CURRENT_CONFIG sections (for those that can go into loader.rc). Sure, people would be annoyed to find out that they had been moving towards an idea that Microsoft had developed, but wouldn't this be a fun tweak to people's tails? 8-) 8-) 8-) -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message