Skip to content

Commit

Permalink
fix packetgen examples
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Apr 2, 2022
1 parent 97010b1 commit f3f77c8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/config/advanced/packetgen-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
dst_port: "{{ random_port }}"
flags:
syn: true
application:
payload:
type: raw
data:
payload: "test"
4 changes: 2 additions & 2 deletions examples/config/advanced/packetgen-tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ jobs:
type: net
args:
protocol: "tcp"
address: "google.com:443"
address: "localhost:1234"
tls_config:
insecure_skip_verify: true # this is not snake case because I decode it straight into tls config
packet:
application:
payload:
type: raw
data:
payload: "test"
2 changes: 1 addition & 1 deletion examples/config/advanced/packetgen-udp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
protocol: "udp"
address: "localhost:1234"
packet:
application:
payload:
type: raw
data:
payload: "test"
4 changes: 2 additions & 2 deletions examples/config/advanced/packetgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
type: tcp
data:
src_port: "{{ random_port }}"
dst_port: "{{ random_port }}"
dst_port: "1234"
flags:
syn: true
application:
payload:
type: raw
data:
payload: "test"

0 comments on commit f3f77c8

Please sign in to comment.