[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to log iptables



A good idea is to create a shell script that extract from /var/log/message the lines containing the value of "--log-prefix". I use this to take what I wanted to log from the file.

Good luck.

Miguel D.

On Mon, 27 Mar 2006 18:25:51 -0500 (CST)
itachi@cnt.uo.edu.cu wrote:

> hey
> how can i add a rule on my iptables to log the connections to my computer?
> 
> 
> 
> -------------------------------------------------
>                            Luis A. Rondon Paz
>     L I N U X       .~.    Admin intranet CNT
>    The  Choice      /V\    icq #132736035
>     of a GNU       /( )\   itachi@cnt.uo.edu.cu
>    Generation      ^^-^^    Santiago de cuba
>                    UONET
> 
> 
> 
> 
> 
> 
> 
>            ###########
>          ###############
>        ####           ####
> -   ,$$P'               ###
> - ',$$P       ,-***      ###
> - `d$$'     ,##    *     ###
> -  $$P      ##     *     ###
> -  $$:      ##   -      ###
> -  $$;      ###       ###
> -  Y$$.    `   #######
> -  `$$b      "-.__
> -   `Y$$b
> -    `Y$$.
> -      `$$b.
> -        `Y$$b.
> -          `"Y$b._
> -------------------------------------------------
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: