"Misses" in a loop

2006-06-30 Thread Jean-Charles Ripault
Hi all, For a customer project I'm writing a "firewall proof" script. This script, between two systems tries systematically all tcp ports (up to a given parameter) of all target network. Now, I've made a double loop (one for the IP addresses, one for the ports) to browse this). For speed reas

Re: "Misses" in a loop

2006-06-30 Thread Mumia W.
Jean-Charles Ripault wrote: Hi all, For a customer project I'm writing a "firewall proof" script. This script, between two systems tries systematically all tcp ports (up to a given parameter) of all target network. Now, I've made a double loop (one for the IP addresses, one for the ports) to

Re: "Misses" in a loop

2006-06-30 Thread Mumia W.
Mumia W. unfortunately, wrote: The "&" in the 'system' command allows of asynchronous [...] s/allows of/allows for/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: "Misses" in a loop

2006-06-30 Thread Tom Phoenix
On 6/30/06, Jean-Charles Ripault <[EMAIL PROTECTED]> wrote: I fork all the network "clients" and they all individually log their results in a global log file opened before the fork. It looks as if your code has no protection against two clients writing simultaneously to the global log file. Ch