Ignore:
Timestamp:
06/02/15 14:49:11 (6 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8b12caf
Parents:
94725ea
Message:

Fixed a couple of annoying things about traceanon

Added a -f option to filter packets received from the input source.
Unfortunately, we already had an option using '-f' so I have changed that
option to use -F so that all of our tools can be consistent. Apologies in
advance to anyone whose scripts break because of this change.

traceanon will now handle keyboard interrupts nicely when reading from a live
source -- any buffered output will now be written nicely to disk rather than
being lost forever.

Updated manpage for traceanon to match new options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/traceanon/traceanon.1

    r17f954f r4a5678c  
    88[ \-p prefix | \-\^\-prefix=prefix ]
    99[ \-c key | \-\^\-cryptopan=key ]
    10 [ \-f key-file | \-\^\-keyfile=file ]
     10[ \-F key-file | \-\^\-keyfile=file ]
     11[ \-f expr | \-\^\-filter=expr ]
    1112[ \-z level | \-\^\-compress-level=level ]
    1213[ \-Z method | \-\^\-compress-type=method ]
     
    5960.TP
    6061.PD 0
    61 .BI \-f
     62.BI \-F
    6263.TP
    6364.PD
     
    6768long. A suitable method of generating a key is by using the command dd to read
    6869from /dev/urandom.
     70
     71.TP
     72.PD 0
     73.BI \-f
     74.TP
     75.PD
     76.BI \-\^\-filter=expr
     77Discard all packets that do not match the BPF expression specified in 'expr'.
    6978
    7079
Note: See TracChangeset for help on using the changeset viewer.