dap 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/dap/filter/udp.rb +2 -0
- data/lib/dap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df3b1c01690f3a54afec98038a1ff7672176a1da
|
4
|
+
data.tar.gz: fb5d605febd56886448b172ba6a10728c4804129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32adb86fe2a9e8a124d50e5c24cd2d5ee27f33f48781dbe5026eab0492a151874d6148018f1d0d8945986749012a9956166a05cb0d7d6b408d8db322436933af
|
7
|
+
data.tar.gz: 6060c1dd5b6491024ecaaaa62b3afe48805e209e67a6fd5751d455f8ef58951a1bf7bd066214f44e45d7443213f0541ffc1e9b66b5ff4bbbb7d155f9876148d4
|
data/README.md
CHANGED
@@ -26,10 +26,10 @@ sudo mkdir -p /var/lib/geoip && cd /var/lib/geoip && sudo wget http://geolite.ma
|
|
26
26
|
|
27
27
|
```
|
28
28
|
|
29
|
-
### Ubuntu
|
29
|
+
### Ubuntu 16.04
|
30
30
|
|
31
31
|
```bash
|
32
|
-
sudo apt-get install libgeoip-dev
|
32
|
+
sudo apt-get install libgeoip-dev zlib1g-dev ruby ruby-dev gcc make ruby-bundler
|
33
33
|
gem install dap
|
34
34
|
```
|
35
35
|
|
data/lib/dap/filter/udp.rb
CHANGED
@@ -105,6 +105,8 @@ class FilterDecodeWDBRPC_Reply
|
|
105
105
|
return info unless head.to_s.length == 36
|
106
106
|
return unless buff.length > 0
|
107
107
|
info['agent_ver'] = Dap::Proto::WDBRPC.wdbrpc_decode_str(buff)
|
108
|
+
# if this isn't a recoginized version string, it is likely part of an invalid response and should be skipped
|
109
|
+
return unless info['agent_ver'] =~ /^\d+\.\d+(?:\.\d+)*(?:-alpha)?$/
|
108
110
|
info['agent_mtu'] = Dap::Proto::WDBRPC.wdbrpc_decode_int(buff)
|
109
111
|
info['agent_mod'] = Dap::Proto::WDBRPC.wdbrpc_decode_int(buff)
|
110
112
|
info['rt_type'] = Dap::Proto::WDBRPC.wdbrpc_decode_int(buff)
|
data/lib/dap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7 Research
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.
|
256
|
+
rubygems_version: 2.5.2
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: 'DAP: The Data Analysis Pipeline'
|