This is our old Q&A Site. Please post any new questions and answers at

tcprewrite -N --pnat=, -i ./upload.pcap -o ./upload_ip1.pcap

and I get: Unable to parse as a vaild CIDR: --pnat=

asked 11 Sep '17, 03:02

kdani's gravatar image

accept rate: 0%

Note that tcprewrite doesn't come from the Wireshark developers; it's from these people.

(11 Sep '17, 22:49) Guy Harris ♦♦

The parameter "-N" and "--pnat=" are the same (just long and short version). Therefore just specify one of them, e.g.

tcprewrite -N, -i ./upload.pcap -o ./upload_ip1.pcap

permanent link

answered 11 Sep '17, 04:54

Uli's gravatar image

accept rate: 29%

actually - the right answer would be to use only 1 pair - this code replace the ip with itself - but you are correct about using both -n and --pnat

(11 Sep '17, 23:39) kdani
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Sep '17, 03:02

question was seen: 980 times

last updated: 11 Sep '17, 23:39

p​o​w​e​r​e​d by O​S​Q​A