summaryrefslogtreecommitdiff
path: root/doc/bird.conf.example2
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-04-26 17:13:45 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-04-26 17:13:45 +0200
commit5ca4bd5d9018bb7572f10825e1ca431444601be7 (patch)
tree65c387964012ea30c6eed624360a556751489d79 /doc/bird.conf.example2
parenta1de692a6999106c645a7b28d4124b68f63bd6f5 (diff)
Flowspec: Max tcp mask length is 12 bits
Diffstat (limited to 'doc/bird.conf.example2')
-rw-r--r--doc/bird.conf.example210
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/bird.conf.example2 b/doc/bird.conf.example2
index a4081f14..51fcfb64 100644
--- a/doc/bird.conf.example2
+++ b/doc/bird.conf.example2
@@ -105,27 +105,27 @@ protocol static flowstat4 {
proto = 0x12;
sport > 0x5678 && < 0x9abc || 0xdef0 || 0x1234,0x5678,0x9abc..0xdef0;
dport = 50;
- tcp flags 0xabcd/0xbbdd;
+ tcp flags 0x000/0xf00;
};
route flow4 {
dst 12.0.0.0/32;
- tcp flags ! 0 / 0x9999;
+ tcp flags ! 0/0x999;
};
route flow4 {
dst 220.0.254.0/24;
- tcp flags 0x99 / 0x9999;
+ tcp flags 0x99/0x999;
};
route flow4 {
dst 220.0.254.192/28;
- tcp flags !0xffff / 0xFFFF;
+ tcp flags ! 0xfff/0xfff;
};
route flow4 {
dst 15.0.0.0/8;
- tcp flags !0x9999/0x9999;
+ tcp flags ! 0x999/0x999;
};
}