mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00

With this patch the model is: - "print" cleans the data so that non-printable characters get escaped. This is not necessarily reversible. - to print in a reversible way, one can go through escape_string(); this escapes backslashes as well to make the decoding non-ambigious. - Logging always escapes similar to escape_string(), making it reversible. Compared to master, we also change the escaping as follows: - We now only escape with "\xXX", no more "^X" or "\0". Exception: backslashes. - We escape backlashes as "\\". - There's no "alternative" output style anymore, i.e., fmt() '%A' qualifier is gone. Baselines in testing/btest are updated, external tests not yet. Addresses BIT-1333.
17 lines
517 B
Text
17 lines
517 B
Text
FILE_NEW
|
|
file #0, 0, 0
|
|
FILE_OVER_NEW_CONNECTION
|
|
FILE_OVER_NEW_CONNECTION
|
|
FILE_STATE_REMOVE
|
|
file #0, 498668, 0
|
|
[orig_h=10.45.179.94, orig_p=19950/tcp, resp_h=129.174.93.170, resp_p=80/tcp]
|
|
[orig_h=10.45.179.94, orig_p=19953/tcp, resp_h=129.174.93.170, resp_p=80/tcp]
|
|
FILE_BOF_BUFFER
|
|
%PDF-1.4\x0d%\xe2
|
|
MIME_TYPE
|
|
application/pdf
|
|
total bytes: 498668
|
|
source: HTTP
|
|
MD5: 94046a5fb1c5802d0f1e6d704cf3e10e
|
|
SHA1: 250aa71dd1594363bc7083d25cfd0240e441b119
|
|
SHA256: 5c3bc213c9eff85f98feceac8810b955f8415564e50e3889b447e847c50c5ba7
|