From owner-freebsd-security Tue Dec 10 19:53:50 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA06314 for security-outgoing; Tue, 10 Dec 1996 19:53:50 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA06300 for ; Tue, 10 Dec 1996 19:53:45 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id OAA21602; Wed, 11 Dec 1996 14:23:23 +1030 (CST) From: Michael Smith Message-Id: <199612110353.OAA21602@genesis.atrad.adelaide.edu.au> Subject: Re: Risk of having bpf0? (was URGENT: Packet sniffer found on my system) In-Reply-To: from Brian Tao at "Dec 10, 96 09:58:09 pm" To: taob@io.org (Brian Tao) Date: Wed, 11 Dec 1996 14:23:22 +1030 (CST) Cc: freebsd-security@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-security@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Brian Tao stands accused of saying: > What are people's feelings on enabling devices like bpf or snp > in the kernel on a public server? Obviously, had I not compiled bpf > into the shell and Web server kernels, this particular incident would > never have happened. However, I like to have access to tcpdump to > check for things like ping floods, and trafshow to see where bytes are > being sent. Evil evil evil. Definitely never on a public server; bpf lets you do lots more than just snoop, it makes it possible (easier) to spoof as well. > I know this depends entirely on your local setup, and every site > has different policies, but I'd like to hear if anyone has strong > feelings about "enabled" kernels or proposed solutions (i.e., an > option to make bpf work only for processes run on the console). No. If you want to watch the network, set up a utility machine, or at least a machine with no shell users on it, and use that. > Brian Tao (BT300, taob@io.org, taob@ican.net) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[