summaryrefslogtreecommitdiff
path: root/rule-compiler
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 12:34:17 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 12:34:17 -0800
commit72653e54f951b2a47686d420186f59f533542940 (patch)
treed404273e2a6a5cf5f29a403a0e9ebaeb4e18137e /rule-compiler
parent10185e92faa77a4b032a27a7c01b4186727b91b9 (diff)
downloadinfinitytier-72653e54f951b2a47686d420186f59f533542940.tar.gz
infinitytier-72653e54f951b2a47686d420186f59f533542940.zip
Finish wiring up ipauth and macauth to Network filter.
Diffstat (limited to 'rule-compiler')
-rw-r--r--rule-compiler/package.json2
-rw-r--r--rule-compiler/rule-compiler.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/rule-compiler/package.json b/rule-compiler/package.json
index 16f7a23f..f0e747a2 100644
--- a/rule-compiler/package.json
+++ b/rule-compiler/package.json
@@ -1,6 +1,6 @@
{
"name": "zerotier-rule-compiler",
- "version": "1.1.17-1",
+ "version": "1.1.17-2",
"description": "ZeroTier Rule Script Compiler",
"main": "cli.js",
"scripts": {
diff --git a/rule-compiler/rule-compiler.js b/rule-compiler/rule-compiler.js
index d927e512..be4e5c64 100644
--- a/rule-compiler/rule-compiler.js
+++ b/rule-compiler/rule-compiler.js
@@ -5,6 +5,8 @@ const CHARACTERISTIC_BITS = {
'inbound': 63,
'multicast': 62,
'broadcast': 61,
+ 'ipauth': 60,
+ 'macauth': 59,
'tcp_fin': 0,
'tcp_syn': 1,
'tcp_rst': 2,