Tony Gray | 17 Feb 2009 14:49
Picon
Favicon

nfcapd -E

Hi,
Has the output format for nfcapd -E changed between nfdump-1.5.7 and the
current snapshot 1.5.7-20081221?

The output i am getting from the snapshot version looks like:

Add extension: 2 byte input/output interface index
Add extension: 4 byte input/output interface index
Add extension: 2 byte src/dst AS number
Add extension: 4 byte src/dst AS number
File Block Header: 
  NumBlocks     =           0
  Size          =           0
  id             =           2
File Block Header: 
  NumBlocks     =           1
  Size          =          14
  id             =           2

Where as with the stable version i was getting:
Flow Record: 
  Flags       =       0x00000000
  size        =               52
  mark        =                0
  srcaddr     =     X.X.X.X
  dstaddr     =     X.X.X.X  
  first       =       1234522029 [2009-02-13 10:47:09]
  last        =       1234522029 [2009-02-13 10:47:09]
  msec_first  =              246
  msec_last   =              943
(Continue reading)

Peter Haag | 19 Feb 2009 10:54
Picon
Favicon

Re: nfcapd -E


Hi Tony,
The -E format still works - also with snapshot 20081221:

./nfcapd -E
Add extension: 2 byte input/output interface index
Add extension: 4 byte input/output interface index
Add extension: 2 byte src/dst AS number
Add extension: 4 byte src/dst AS number
File Block Header:
  NumBlocks     =           0
  Size          =           0
  id             =           2

Flow Record:
  Flags        =              0x00
  size         =                44
  first        =        1235036708 [2009-02-19 10:45:08]
  last         =        1235036727 [2009-02-19 10:45:27]
  msec_first   =               160
  msec_last    =               253
  src addr     =           x.x.x.x
  dst addr     =           z.z.z.z
  src port     =             55115
  dst port     =               443
  fwd status   =                 0
  tcp flags    =              0x1b .AP.SF
  proto        =                 6
  (src)tos     =                 0
  (in)packets  =                26
(Continue reading)

Tony Gray | 19 Feb 2009 15:08
Picon
Favicon

Re: nfcapd -E

Peter,
Thanks for getting back to me.

I just upgraded to snapshot 20081221 on my test box, but i am not
getting any debug information on the actual records. 

Now that you have confirmed that the output should contain the records,
I will do some further debugging...
Thanks,
Tony

On Thu, 2009-02-19 at 10:54 +0100, Peter Haag wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Tony,
> The -E format still works - also with snapshot 20081221:
> 
> ./nfcapd -E
> Add extension: 2 byte input/output interface index
> Add extension: 4 byte input/output interface index
> Add extension: 2 byte src/dst AS number
> Add extension: 4 byte src/dst AS number
> File Block Header:
>   NumBlocks     =           0
>   Size          =           0
>   id             =           2
> 
> 
> Flow Record:
(Continue reading)

Peter Kranz | 19 Feb 2009 21:29

Errors under nfcapd

Can someone point me on where to start with these errors I'm getting our
logs; thanks..

Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21694]: Signal launcher
Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21694]: Ident: 'none' Flows: 7923,
Packets: 17519, Bytes: 4354382, Sequence Errors: 105, Bad Packets: 0
Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21695]: Launcher: Wakeup
Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21695]: Run expire on
'/flow/rtr-365'
Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21695]: Force rebuild stat record
Feb 19 10:45:04 Svr01-JLS /usr/bin/nfcapd[21694]: error condition in
'nfcapd.c', line '605', cnt: -1
Feb 19 10:45:04 Svr01-JLS kernel: [493732.966459] nfcapd[21695]: segfault at
b7f31000 eip 08059982 esp bfe638c0 error 4

nfcapd: Version: 1.5.7 $LastChangedDate: 2008-02-21 10:50:02 +0100 (Thu, 21
Feb 2008) $
$Id: nfcapd.c 97 2008-02-21 09:50:02Z peter $

Peter Kranz
Founder/CEO - Unwired Ltd
www.UnwiredLtd.com
Desk: 510-868-1614 x100
Mobile: 510-207-0000
pkranz@...

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
(Continue reading)


Gmane