On Fri, 24 Mar 2000, rajput g v be comp 56 wrote:

> 
>   hi,
>      whenever i give the command "ipchains -l" or "ipchains --log"(from
>  root ) to get the technical information of the packets, it gives an error
>   "ipchains:no command specified"
>   
>   the option according to the --help say's the above command should turn on 
>   kernel logging for matching packets 
>   
>   do i have to do something different?
>  
>  
>   Gaurav.Rajput
>   <[EMAIL PROTECTED]> 

You need to specify a rule the packets to be matched against. For example:

        ipchains -A input -j REJECT -s <source_ip> -d <dest_ip> -l

This rejects and logs any input traffic from source_ip going to dest_ip.
Look at your rule specifications and add -l option to the rules you need
to log.

HTH
Alex

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to