[TAG] please help!

Trevor Pearson trevor at haven.demon.co.uk
Sat Nov 3 01:58:40 MSK 2007


diana wrote:
> Hello,
>
>       I was directed to you through talkback of the site 
> -http://linuxgazette.net/137/takefuji.html.i got the following script 
> from this site.but i am getting
> ERROR message: "sed: -e expression #1, char 0: no previous regular 
> expression Bad argument `DROP' Try `iptables -h' or 'iptables --help' 
> for more information."while running that script manuall.
>       But i am getting the output from logs as dropped ip in my 
> /etc/sysconfig/iptables.I am not sure of this error :'( .please help 
> me.......
>
Try commenting out the lines that start rm, to leave the temporary files
the script uses in place and have a look at them  if the file tmp is 
full of 'DROP' on a single line (looks like this....
DROP
DROP
DROP
.... then the script is getting the wrong field from /sysconfig/iptables )

Trevor.









More information about the TAG mailing list