D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Strange network / perl problem



On Tue, Jul 02, 2002 at 03:36:31PM +0100, Theo Zourzouvillys wrote:

Moooo,

Quick question from non-iptables person:

open(IPTABLES, "-|", "/sbin/iptables -L cust_acct -n -v -x");

Why do you call that twice?

Things to try, anyway:

- If it's inetd, I guess it just dups your stdout to its accepted
 socket. Or does it feed it by readin your stdout. In any case,
 you might be beuffering, so that might be worth sorting.

- Does this happen if you run it outside of inetd?

- Any chance you can keep a running total of the data incoming from the
 socket and print it at the end of the error message. That might give
 some clue, if it's a "round" number.

- -w, as said.

I'll think some more.

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly