From owner-freebsd-hackers Sun Apr 16 13:14:27 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA12984 for hackers-outgoing; Sun, 16 Apr 1995 13:14:27 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA12976 for ; Sun, 16 Apr 1995 13:14:19 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA13228; Sun, 16 Apr 1995 22:13:50 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA16240; Sun, 16 Apr 1995 22:13:42 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id WAA00686; Sun, 16 Apr 1995 22:11:41 +0200 From: J Wunsch Message-Id: <199504162011.WAA00686@uriah.heep.sax.de> Subject: Re: aspfilter & stdin To: rpt@miles.sso.loral.com (Richard Toren) Date: Sun, 16 Apr 1995 22:11:40 +0200 (MET DST) Cc: hackers@FreeBSD.org, andreas@knobel.gun.de (Andreas Klemm) In-Reply-To: from "Richard Toren" at Apr 16, 95 12:37:44 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 748 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Richard Toren wrote: > > Gentlemen, :) [trying to get apsfilter to work on FreeBSD] > ... A companion program is supplied called 'rewindstdin'. > > main() > { > return lseek(0,0L,0) < 0; > } I've already wondered how this should work on a pipe after Andreas described it to me on the phone. I'd suggest you to contact Andreas Klemm for this, he knows best what he's done. (I'm Cc'ing him for this, but his mail relay doesn't seem to be reliable all the time.) Andreas does also know about the ~/.apsfilterrc vulnerability, and i think he's working on some fix for this. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)