Menu

#28 add support for colorized ngrep

closed-accepted
None
5
2007-01-17
2006-11-03
Guohan Lu
No

ngrep is very useful. However, patience is needed to
find the matched pattern from the matched packet,
especially when in hex format. Inspired by 'grep
--color', this patch colorizes the matched pattern for
display. Just
use -C option.

Note: when the colorized result is piped to 'more',
'-f' option should be added for 'more', eg.
ngrep xxx | more -f

The patch is based on the newest CVS version.

Discussion

  • Guohan Lu

    Guohan Lu - 2006-11-03

    patch for ngrep.c,v 1.90 and ngrep.h,v 1.33

     
  • Jordan Ritter

    Jordan Ritter - 2006-12-01
    • assigned_to: nobody --> jpr5
    • status: open --> open-accepted
     
  • Jordan Ritter

    Jordan Ritter - 2006-12-01

    Logged In: YES
    user_id=50338
    Originator: NO

    Thanks you for submitting this patch!

    I wish I had reviewed it before the latest (recent) release... oh well. I am looking through the patch now and will integrate it into CVS shortly.

     
  • Jordan Ritter

    Jordan Ritter - 2007-01-17
    • status: open-accepted --> closed-accepted
     
  • Jordan Ritter

    Jordan Ritter - 2007-01-17

    Logged In: YES
    user_id=50338
    Originator: NO

    This feature is in CVS now, and will go out in the next release of ngrep.

    Closing as ACCEPTED.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.