This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
forked from ahobson/ruby-pcap
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ChangeLog
251 lines (133 loc) · 6.56 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
2015-05-24 Shintaro Kojima <[email protected]>
* version 0.7.8 released.
* Ruby 2.2 support
2012-12-06 Marcus Barczak <[email protected]>
* version 0.7.7 released.
* Migrate packaging from jeweller to bundler
2012-01-20 Pedro Navajas <[email protected]>
* Modified pcap.c: new method returning the file descriptor
2011-06-11 Tim Jarratt <[email protected]>
* Improve performance during capture and makes the gem work on any OS with ruby 1.9.*
2011-06-10 Ilya Maykov <[email protected]>
* Don't do TRAP_BEG / TRAP_END on any version of Ruby 1.9.
2011-06-09 Ilya Maykov <[email protected]>
* version 0.7.6 released.
* Make the trap / don't trap decision at gem installation time, as it's always based on RUBY_PLATFORM + RUBY_VERSION
which are known at that time.
Removed the shouldnt_trap argument from Pcap::Capture#dispatch and Pcap::Capture#loop, no longer needed.
Cache the duplicated variable in Pcap::Pcaplet#each_packet so we don't compute it each time.
And some minor code cleanup here and there.
2011-06-07 Tim Jarratt <[email protected]>
* Only log "packets received / packets dropped" when a specific flag is passed in.
2011-05-31 Tim Jarratt <[email protected]>
* version 0.7.5 released.
* Added source, destination mac address methods to TCP Packet.
2011-05-30 Tim Jarratt <[email protected]>
* Fixes to make this gem run with ruby 1.9.2@p180 on Mac OS X 10.6.7.
2011-02-17 Andrew Hobson <[email protected]>
* version 0.7.4 released.
* Add support for recalculating the ip checksum.
Automatically do so if changing the source or dest IP
2011-02-03 Eric Tamme <[email protected]>
* Fixed STR2CSTR issue for ruby 1.9.2
2010-12-02 Andrew Hobson <[email protected]>
* version 0.7.3 released.
* Update for newest version of libpcap
2010-09-27 Andrew Hobson <[email protected]>
* version 0.7.2 released.
* Use the proper RSTRING macros. This appears to get ruby 1.9 working
2010-06-07 Andrew Hobson <[email protected]>
* version 0.7.1 released.
* Fix assignment of packet timestamp and bump version
2009-06-06 Roman Shterenzon <[email protected]>
* version 0.7.0 released.
* Convert to rubygem
2009-05-26 Andrew Hobson <[email protected]>
* Allow modifying the src and dst IPs
2009-05-12 Andrew Hobson <[email protected]>
* Allow changing the time on a packet
2008-12-22 Andrew Hobson <[email protected]>
* Fix warning in 1.8.6.
Submitted-By: xHire
2008-11-24 Andrew Hobson <[email protected]>
* Add support for opening dead pcaps
The plan is to support dumping created packets to files and
using pcap_inject
* Apply patches from debian
* Add support for dumping a raw packet
2000-08-13 Masaki Fukushima <[email protected]>
* version 0.6 released.
* packet.c (packet_match): Packet#=~ added.
* Pcap.c (capture_setfilter): Filter object can be used in
Capture#setfilter.
* lib/pcaplet.rb: invoke gzip when reading /\.gz$/ file.
Pcaplet.new accept options.
* Pcap.c: implement Filter logical operation.
(filter_source): Filter#source added.
2000-08-09 Masaki Fukushima <[email protected]>
* Pcap.c (filter_new): use pcap_compile_nopcap() if available.
1999-11-08 Masaki Fukushima <[email protected]>
* version 0.5 released.
* Pcap.c: Call Check_SafeStr() before I/O operation.
* lib/pcaplet.rb: Use getopts instead of parseparg.
1999-11-05 Masaki Fukushima <[email protected]>
* Filter document added.
1999-11-04 Masaki Fukushima <[email protected]>
* Pcap.c (filter_match): datalink and caplen check.
1999-10-30 Masaki Fukushima <[email protected]>
* Pcap.c (Init_pcap): added Pcap.{lookupdev,lookupnet}.
1999-10-29 Masaki Fukushima <[email protected]>
* Pcap.c: use RTEST instead of Qtrue/Qfalse test.
1999-08-27 Masaki Fukushima <[email protected]>
* ip_packet.c (ipaddr_s_new): changed to use gethostbyname().
* icmp_packet.c: icmp_type_info lacks type 31-36 hole.
1999-08-26 Masaki Fukushima <[email protected]>
* version 0.4 released.
* ICMPPacket document added.
1999-08-25 Masaki Fukushima <[email protected]>
* udp_packet.c: UdpPacket renamed to UDPPacket.
* tcp_packet.c: TcpPacket renamed to TCPPacket.
* ip_packet.c: IpPacket renamed to IPPacket.
1999-08-24 Masaki Fukushima <[email protected]>
* icmp_packet.c: ICMP support.
1999-08-18 Masaki Fukushima <[email protected]>
* Pcap.c (Init_pcap): PcapStat is now defined as Pcap::Stat.
1999-08-17 Masaki Fukushima <[email protected]>
* ip_packet.c (setup_ip_packet): check ip_v == 4
1999-08-14 Masaki Fukushima <[email protected]>
* ip_packet.c (setup_ip_packet): ntohs must be used for ip_len.
* packet.c (Init_packet): Packet#udp? added.
1999-07-23 Masaki Fukushima <[email protected]>
* extconf.rb: --with-pcap-prefix is changed to --with-pcap-dir
1999-07-14 Masaki Fukushima <[email protected]>
* ip_packet.c (Init_ip_packet): IP address is now represented by
new class IPAddress implemented in C. IpAddress is obsolete but
remains for backward compatibility.
1999-07-11 Masaki Fukushima <[email protected]>
* Pcap.c (Init_pcap): Capture includes Enumerable.
1999-07-02 Masaki Fukushima <[email protected]>
* version 0.3.1 released.
* Pcap.c: Filter class is added.
* tcp_packet.c (tcpp_data): data length bug is fixed.
1999-06-27 Masaki Fukushima <[email protected]>
* Pcap.c (capture_loop): improved to be thread-friendly.
1999-05-24 Masaki Fukushima <[email protected]>
* version 0.3 released.
* extconf.rb: --with-pcap-prefix option added.
* changed to based on ruby-1.3.x.
1999-04-20 Masaki Fukushima <[email protected]>
* version 0.2 released.
1999-04-18 Masaki Fukushima <[email protected]>
* UdpPacket documentation added.
1999-02-08 Masaki Fukushima <[email protected]>
* udp_packet.c: UDP supprot added.
1998-12-07 Masaki Fukushima <[email protected]>
* version 0.1.1 released.
* Document about exception classes added.
* Pcap.c (CheckClass): CheckClass added.
(dumper_dump): check data-link type and caplen.
1998-12-06 Masaki Fukushima <[email protected]>
* packet.c: Packet#datalink added.
* English document added.
1998-12-01 Masaki Fukushima <[email protected]>
* version 0.1 released.