aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/tcp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/vnet/tcp')
-rw-r--r--src/scripts/vnet/tcp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/scripts/vnet/tcp b/src/scripts/vnet/tcp
new file mode 100644
index 00000000..b9c23c3a
--- /dev/null
+++ b/src/scripts/vnet/tcp
@@ -0,0 +1,18 @@
+loop create
+set int ip address loop0 192.168.1.1/8
+set int state loop0 up
+
+packet-generator new {
+ name x
+ limit 2048
+ node ip4-input
+ size 100-100
+ interface loop0
+ no-recycle
+ data {
+ TCP: 192.168.1.2 -> 192.168.1.1
+ TCP: 32415 -> 80
+ SYN
+ incrementing 100
+ }
+}