Ask Your Question
0

How can I make tshark to use the custom HTTP headers?

asked 2023-03-08 05:48:15 +0000

hanhan2095 gravatar image

updated 2023-03-08 05:49:30 +0000

By wireshark, I know how to define custom http headers on GUI. After doing that, the file "custom_http2_header_fields" would be generated.

Then how can I make tshark to recognize this custom http header?

Do I need to put this file to specific directory (I tried the folders of "Personal configuration" as well as "Global configuration" got by command "tshark -G folders", but seems that is helpless)?

Or are there any command line options can do this?

Appreciate your help.

The version of my tshark: 3.6.0.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-08 09:30:49 +0000

Jaap gravatar image

The file is called custom_http_header_fields (without the 2) and is to be present in the personal configuration folder, as shown by tshark -G folders. There it is going to be picked up by the HTTP dissector.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2023-03-08 05:48:15 +0000

Seen: 354 times

Last updated: Mar 08 '23