binary protocol support + backticks for nfsim
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Linux 2.6.11 API fixescore/ core/ kernelenv/ | +14 | 0 replies | |
| 2/4 | check current_command in expect_log_hook()core/ | +3 | 0 replies | |
| 3/4 | escape non-printables and 8bit characterscore/ | +6 | 0 replies | |
| 4/4 | implement backtickscore/ | +148 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nfsim 0/4] binary protocol support + backticks for nfsim
Hi,
this set of 4 patches adds support for binary protocols by escaping all non-printable and 8 bit characters and by adding the "backtick" feature known from the shell and perl. This enables you to write a small program which generates packets for nfsim.
Without these patches, it is a major pain to write nfsim tests for binary protocols like H.323.
Consider the following snippet (NAT helper test):
expect gen_ip send:eth1 {*DATA ./generate-h225-connect 192.168.0.2} tcpsession DATA original ./generate-h225-connect 192.168.0.1
Now imagine the same expressed in inlined hex notation.
Max