syspy 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tds_package_stream.rb +1 -1
  2. metadata +30 -50
@@ -18,7 +18,7 @@ module Syspy
18
18
  def each_package()
19
19
  Thread.abort_on_exception = true
20
20
  @tcpdump_thread = Thread.new(){
21
- IO.popen("tcpdump -q -y EN10MB -U -B #{1024 * 1024} -w - -i #{@interface} tcp and dst #{@dst} and dst port #{@dst_port} 2>/dev/null"){|io|
21
+ IO.popen("tcpdump -q -y EN10MB -U -B 2048 -w - -i #{@interface} tcp and dst #{@dst} and dst port #{@dst_port} 2>/dev/null"){|io|
22
22
  content = ""
23
23
  loop(){
24
24
  tcp_length = read_ip_header(io)
metadata CHANGED
@@ -1,45 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: syspy
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.11
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 10
10
- version: 0.0.10
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Matthias Balmer
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-12-06 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: bindata
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &18376800 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *18376800
34
25
  description:
35
26
  email: matthias.balmer@sysinf.ch
36
- executables:
27
+ executables:
37
28
  - syspy
38
29
  extensions: []
39
-
40
30
  extra_rdoc_files: []
41
-
42
- files:
31
+ files:
43
32
  - lib/bytes.rb
44
33
  - lib/tds_types.rb
45
34
  - lib/tds_tokens.rb
@@ -54,36 +43,27 @@ files:
54
43
  - bin/syspy
55
44
  homepage:
56
45
  licenses: []
57
-
58
- post_install_message: To use syspy as standalone application run "sudo syspy <interface> <destination_ip> <destination_port>"
46
+ post_install_message: To use syspy as standalone application run "sudo syspy <interface>
47
+ <destination_ip> <destination_port>"
59
48
  rdoc_options: []
60
-
61
- require_paths:
49
+ require_paths:
62
50
  - lib
63
- required_ruby_version: !ruby/object:Gem::Requirement
51
+ required_ruby_version: !ruby/object:Gem::Requirement
64
52
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
- version: "0"
72
- required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
58
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 0
80
- version: "0"
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
81
63
  requirements: []
82
-
83
64
  rubyforge_project:
84
- rubygems_version: 1.8.15
65
+ rubygems_version: 1.8.11
85
66
  signing_key:
86
67
  specification_version: 3
87
68
  summary: Observe TDS packages directly from a network interface
88
69
  test_files: []
89
-