[j-nsp] clear firewall log

Harry Reynolds harry at juniper.net
Mon Apr 13 14:23:46 EDT 2009


AFAIK, this is in kernel cache and cannot be cleared, except through a reboot.

HTHs


 

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Bit Gossip
Sent: Monday, April 13, 2009 11:17 AM
To: mustafa.golam at gmail.com; Juniper List
Subject: Re: [j-nsp] clear firewall log

That was the first thing I looked at before posting on the forum but no luck......

19:43:43  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
19:08:25  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
17:18:19  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
17:14:10  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
16:56:24  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
16:19:54  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194

lab at rc2> clear firewall all 

lab at rc2> clear log all ?
Possible completions:
  <filename>           Name of log file
  aprobed              Size: 0, Last changed: Jan 16 2008
  auditd               Size: 0, Last changed: Jan 16 2008
  authd_sdb.log        Size: 1708, Last changed: Apr 13 10:48:55
  chassisd             Size: 751887, Last changed: Apr 13 20:10:36
  chassisd.0.gz        Size: 125203, Last changed: Apr 13 07:13:38
  chassisd.1.gz        Size: 127394, Last changed: Apr 10 16:21:13
  chassisd.2.gz        Size: 127748, Last changed: Apr 08 01:44:05
  chassisd.3.gz        Size: 126212, Last changed: Apr 05 11:03:11
  cosd                 Size: 79437, Last changed: Apr 13 10:49:37
  dcd                  Size: 392504, Last changed: Apr 13 12:12:24
  dfwc                 Size: 0, Last changed: Jan 16 2008
  dfwd                 Size: 0, Last changed: Jan 16 2008
  eccd                 Size: 0, Last changed: Jan 16 2008
  ext/                 Last changed: Jan 16 2008
  flowc/               Last changed: Jan 16 2008
  ggsn/                Last changed: Jan 16 2008
  httpd                Size: 1356, Last changed: Dec 09 08:25:42
  install              Size: 1491, Last changed: Mar 27 16:35:45
  install.0.gz         Size: 1228, Last changed: Dec 16 11:15:56
  install.1.gz         Size: 901, Last changed: Apr 21 2008
  inventory            Size: 15291, Last changed: Apr 13 10:50:08
  irsd.trace           Size: 20566, Last changed: Dec 16 11:16:22
  ksyncd               Size: 804, Last changed: Apr 21 2008
  l2tpd_cfg            Size: 40, Last changed: Apr 11 2008
  license              Size: 480, Last changed: Apr 13 10:49:37
  lmpd                 Size: 686, Last changed: Apr 13 10:49:37
  mastership           Size: 5183, Last changed: Apr 13 10:49:06
  messages             Size: 200733, Last changed: Apr 13 20:10:36
  messages.0.gz        Size: 64362, Last changed: Apr 07 13:00:00
  messages.1.gz        Size: 32072, Last changed: Jan 30 00:00:00
  messages.2.gz        Size: 32179, Last changed: Jan 23 09:00:00
  messages.3.gz        Size: 40302, Last changed: Jan 19 22:00:00
  messages.4.gz        Size: 30422, Last changed: Jan 10 05:00:00
  messages.5.gz        Size: 30875, Last changed: Jan 03 11:00:00
  messages.6.gz        Size: 35393, Last changed: Dec 27 17:00:00
  messages.7.gz        Size: 41714, Last changed: Dec 21 10:00:00
  messages.8.gz        Size: 32012, Last changed: Dec 15 12:00:00
  messages.9.gz        Size: 35871, Last changed: Dec 08 19:00:00
  pf                   Size: 64, Last changed: Apr 13 20:09:28
  pgmd                 Size: 343, Last changed: Apr 13 10:48:56
  rdd                  Size: 23149, Last changed: Apr 13 12:12:24
  sampled              Size: 95804, Last changed: Apr 13 12:12:24
  sampled.0.gz         Size: 3438, Last changed: Apr 08 16:14:45
  sampled.1.gz         Size: 3125, Last changed: Apr 08 15:24:44
  sampled.2.gz         Size: 6765, Last changed: Apr 08 15:24:35
  sampled.3.gz         Size: 8103, Last changed: Mar 27 16:42:58
  sampled.4.gz         Size: 4687, Last changed: Sep 22 2008
  smartd.trace         Size: 281316, Last changed: Apr 13 19:08:08
  snapshot             Size: 3931, Last changed: Mar 27 16:30:47
  stp                  Size: 251, Last changed: Apr 29 2008
  utmp                 Size: 0, Last changed: Mar 27 16:40:23
  wtmp                 Size: 403900, Last changed: Apr 13 20:07:53
  wtmp.0.gz            Size: 2951, Last changed: Mar 19 14:53:21
  wtmp.1.gz            Size: 503, Last changed: Feb 17 15:29:20
  wtmp.2.gz            Size: 146, Last changed: Jan 19 10:05:05
  wtmp.3.gz            Size: 141, Last changed: Dec 17 16:41:41
  wtmp.4.gz            Size: 3724, Last changed: Nov 20 13:55:15
lab at rc2> clear log all    
                                 ^
missing argument.

lab at rc2> show firewall log   
Log :
Time      Filter    Action Interface     Protocol Src Addr
Dest Addr
19:43:43  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
19:08:25  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
17:18:19  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
17:14:10  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
16:56:24  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194
16:19:54  QPPB-IN   A      local         TCP      89.33.79.193
89.33.79.194




On Mon, 2009-04-13 at 12:12 +0300, Mustafa Golam - wrote:
> clear log filename !!!
> Ref:
> http://www.juniper.net/techpubs/software/junos/junos94/swcmdref-basics
> -services/clear-log.html
> 
> 
> On Mon, Apr 13, 2009 at 11:50 AM, Bit Gossip <bit.gossip at chello.nl>
> wrote:
>         Experts,
>         do you know if it is possible and how to clear the firewall
>         log that is
>         shown by:
>         'run show firewall log detail'
>         Thanks,
>         bit
>         
>         _______________________________________________
>         juniper-nsp mailing list juniper-nsp at puck.nether.net
>         https://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> 
> 
> --
> --
> *´¨)
> ¸.*´¸.**´¨) ¸.**¨)
> (¸.*´ (¸.*` *Mustafa Golam,CCIE(..)'.'`,.
> -.*.-JNCIS,RHCE,CC{D,I,N,S,V}P`et. al.'.'`,..
>     Email  : mustafa.golam at gmail.com
>       Mobile : +(88)-01672-977-483
>      http://journey2ccie.wordpress.com/

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list