New tests.
[mono.git] / mcs / class / System / System.Net.NetworkInformation / ChangeLog
1 2010-03-25  Marek Safar  <marek.safar@gmail.com>
2
3         * IPGlobalProperties.cs: Made Win32_IN6_ADDR verifiable.
4
5 2009-12-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
6
7         * Ping.cs: Try to detect the path to the bin command, since different
8         Unix systems store it in different places.
9         Fixes #519272.
10
11 2009-10-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
12
13         * GatewayIPAddressInformationCollection.cs:
14         * IPInterfaceProperties.cs: implement GatewayAddresses for linux.
15         Original patch by Christoph von Wittich.
16         Fixes bug #544640.
17
18 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
19
20         * Ping.cs: fix the check for a time-out return value from 'ping'.
21
22 2009-09-24  Zoltan Varga  <vargaz@gmail.com>
23
24         * LinuxNetworkInterfaceMarshal.cs: Add StructLayout attribute to structures, so
25         the aot compiler can generate PtrToStructure wrappers for them.
26
27 2009-09-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
28
29         * Ping.cs: if we receive a packet that is ignored, adjust the
30         timeout. Fixes bug #538013.
31
32 2009-05-16  Miguel de Icaza  <miguel@novell.com>
33
34         * Apply patch from Alex Shulgin
35         <alexander.shulgin@yessoftware.com> to support OSX in
36         NetworkInformation classes.
37
38 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
39
40         * Ping.cs: we just need the address(es), not a host entry. This avoids
41         querying the DNS server(s) when the target is an IP address.
42
43 2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
44
45         * Ping.cs: MacOS has different arguments for ping.
46         Bug #486904 fixed.
47
48 2009-01-26  Christian Prochnow <cproch@seculogix.de>
49
50         * Ping.cs: ignore ICMP echo request packet in case we ping
51           localhost.
52
53 2009-01-11  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * NetworkInformationPermission.cs,
56           NetworkInformationPermissionAttribute.cs : implement some,
57           otherwise it blocks compilation.
58
59 2008-12-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
60
61         * Ping.cs: use the new internal method in Socket to avoid having to
62         throw exceptions when there's a timeout.
63
64 2008-12-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
65
66         * Ping.cs: close the socket in SendPrivileged. Use Buffer.BlockCopy
67         instead of Array.Copy. Return IPStatus.Unknown instead of throwing an
68         exception for unknown status codes received.
69
70 2008-11-29  Miguel De Icaza  <miguel@novell.com>
71
72         * NetworkInterface.cs: Do not throw an exception when scanning
73         external kernel information that might cause problems.   The
74         application should not crash just trying to fetch interfaces from
75         the system. 
76
77 2008-11-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
78
79         * Ping.cs: the time for the arguments of 'ping' is in seconds. Don't
80         read the output of running the command, since we trust the return
81         code.
82
83 2008-10-27  Atsushi Enomoto  <atsushi@ximian.com>
84
85         * Ping.cs : use privileged mode for non-unix. On Windows there is
86           no /usr/bin/ping.
87
88 2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
89
90         * NetworkInterface.cs: detect wireless 802.11 on linux.
91
92 2008-09-28 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
93
94         * NetworkInterface.cs: special case for loopback interfaces so that
95         their a physical interface address is PhysicalInterfaceAddress.None.
96         Fixes bug #422118.
97
98 2008-08-15  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * IPInterfaceProperties.cs, UnicastIPAddressInformation.cs,
101           UnicastIPAddressInformationCollection.cs : fixed bug #416526, based
102           on the patch by Fredrik Kling. support UnicastIPAddressInformation
103           on win32.
104
105 2008-08-06  Atsushi Enomoto  <atsushi@ximian.com>
106
107         * IPGlobalProperties.cs : fixed ToEndPoint() to not bork at 
108           parsing IPv6 string. Fixed bug #410006.
109
110 2008-07-31  Jb Evain  <jbevain@novell.com>
111
112         * NetworkInformationException.cs: cleanup for NET_2_1.
113
114 2008-07-17  Marek Habersack  <mhabersack@novell.com>
115
116         * IPInterfaceProperties.cs: implemented UnicastAddresses
117
118 2008-07-14  Marek Habersack  <mhabersack@novell.com>
119
120         * NetworkInterface.cs: implemented support for Linux. Parts
121         contributed by Eric Butler (eric@extremeboredom.net), thanks!
122
123         * GatewayIPAddressInformationCollection.cs,
124         IPInterfaceProperties.cs, IPAddressInformationCollection.cs: added
125         support for Linux. Patch contributed by Eric Butler
126         (eric@extremeboredom.net), thanks!
127
128         * IPv4InterfaceProperties.cs: implemented support for Linux.
129
130         * LinuxNetworkInterfaceMarshal.cs: added. Contains a set of
131         Linux-specific structures required for accessing the network
132         information. Patch contributed by Eric Butler
133         (eric@extremeboredom.net), thanks!
134
135         * MulticastIPAddressInformation.cs: added support for Linux
136         multicast information. Patch contributed by Eric Butler
137         (eric@extremeboredom.net), thanks!
138
139         * IPv4InterfaceStatistics.cs: use the parent IfacePath to get the
140         path to the interface description file.
141
142         * UnicastIPAddressInformation.cs: added stubs for
143         LinuxUnicastIPAddressInformation. Patch contributed by Eric Butler
144         (eric@extremeboredom.net), thanks!
145
146         * Ping.cs: Use /bin/ping when running as non-root user
147         (implementation by Jackson Harper <jaharper@novell.com>) or use
148         raw sockets if running as root or if the current process has the
149         CAP_NET_RAW Linux capability set while running as an unprivileged
150         user.
151
152 2008-03-07  Miguel de Icaza  <miguel@novell.com>
153
154         * NetworkInterface.cs: Use GetFileSystemEntries, on some systems
155         the files do not appear to be symlinks, but directories.
156
157 2008-02-18  Miguel de Icaza  <miguel@novell.com>
158
159         * IPv4InterfaceStatistics.cs: Implemented Linux support.
160
161         * NetworkInterface.cs: Implemented Linux support.
162
163         TODO: still missing GetIPProperties.
164
165 2007-10-23  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * Ping.cs : Do not call OnPingCompleted() at CancelAsync() it should
168           be called at RunWorkerCompleted. Simplified RunWorkerCompleted.
169
170 2007-09-29  Miguel de Icaza  <miguel@novell.com>
171
172         * NetworkInterface.cs (GetAllNetworkInterfaces): return an empty
173         array instead of throwing an exception on operating systems where
174         we can not detect the network interfaces. 
175
176 2007-09-07  Atsushi Enomoto  <atsushi@ximian.com>
177
178         * IPGlobalProperties.cs : implemented properties on linux.
179
180 2007-09-06  Atsushi Enomoto  <atsushi@ximian.com>
181
182         * Ping.cs, PingReply.cs, PingCompletedEventArgs.cs : implemented
183           in managed code.
184
185 2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>
186
187         * IPGlobalStatistics.cs : Mib-* class is nonpublic.
188         * Win32NetworkInterfaceMarshal.cs IPv4InterfaceProperties.cs
189           IPGlobalProperties.cs IPInterfaceProperties.cs
190           NetworkInterface.cs : move Win32NetworkInterfaceMarshal.FixedInfo to
191           Win32_FIXED_INFO.Instance and share it with Win32IPGlobalProperties.
192           Fixed GetUdp[6]Table() / GetTcp[6]Table() marshalling issue.
193
194 2007-08-29  Atsushi Enomoto  <atsushi@ximian.com>
195
196         * NetworkInterface.cs,
197           IPv4InterfaceStatistics.cs
198           IPInterfaceProperties.cs
199           IPv4InterfaceProperties.cs
200           IPv6InterfaceProperties.cs
201           IPAddressCollection.cs
202           GatewayIPAddressInformation.cs
203           GatewayIPAddressInformationCollection.cs
204           IPAddressInformation.cs
205           IPAddressInformationCollection.cs
206           MulticastIPAddressInformation.cs
207           MulticastIPAddressInformationCollection.cs
208           UnicastIPAddressInformation.cs
209           UnicastIPAddressInformationCollection.cs
210           Win32NetworkInterfaceMarshal.cs (new) :
211           NetworkInterface implementation using Win32 API.
212
213           Not sure how MIB-based implementation (for Linux) is possible but
214           it will follow.
215
216 2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>
217
218         * IPGlobalProperties.cs : implemented remaining methods in
219           MibIPGlobalProperties. Support /usr/compat/linux/proc
220           for some BSD environment.
221
222 2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>
223
224         * IPGlobalProperties.cs, TcpStatistics.cs,
225           IPGlobalStatistics.cs, IcmpV4Statistics.cs,
226           IcmpV6Statistics.cs, UdpStatistics.cs :
227           and here is non-Windows version, based on /proc/net/snmp(6).
228
229 2007-08-27  Atsushi Enomoto  <atsushi@ximian.com>
230
231         * IPGlobalProperties.cs, TcpConnectionInformation.cs,
232           TcpStatistics.cs, IPGlobalStatistics.cs, IcmpV4Statistics.cs,
233           IcmpV6Statistics.cs, UdpStatistics.cs :
234           initial implementation of IPGlobalProperties and its children
235           for Win32 API, mostly done. Non-Windows implementation should
236           follow.
237
238 2007-08-13  Alan McGovern  <amcgovern@novell.com>
239
240         * PhysicalAddress.cs: Added patch for #82403 to fix some parsing
241         errors and a bug in .Equals()
242
243 2006-03-11  Miguel de Icaza  <miguel@novell.com>
244
245         * NetworkChange.cs: Use pragmas to eliminate warnings from events
246         that we do not trigger yet.
247
248         This is a candidate for using Aaron's NetworkManager code.  But
249         would make us depend on d-bus.
250
251         * NetworkInformationException.cs: Use error_code for ErrorCode,
252         instead of NativeErrorCode.   Fixes warning. 
253
254 2006-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255
256         * UnicastIPAddressInformation.cs:
257         * PingException.cs:
258         * TcpConnectionInformation.cs:
259         * IPv4InterfaceStatistics.cs:
260         * NetworkInformationException.cs:
261         * IPAddressInformation.cs:
262         * MulticastIPAddressInformationCollection.cs:
263         * TcpStatistics.cs:
264         * IPGlobalStatistics.cs:
265         * NetworkInformationPermission.cs:
266         * MulticastIPAddressInformation.cs:
267         * IcmpV4Statistics.cs:
268         * IcmpV6Statistics.cs:
269         * IPv4InterfaceProperties.cs:
270         * PhysicalAddress.cs:
271         * IPv6InterfaceProperties.cs:
272         * GatewayIPAddressInformationCollection.cs:
273         * ChangeLog: Modified file.
274         * UnicastIPAddressInformationCollection.cs:
275         * IPAddressCollection.cs:
276         * NetworkInformationPermissionAttribute.cs:
277         * Ping.cs:
278         * NetworkChange.cs:
279         * IPAddressInformationCollection.cs:
280         * UdpStatistics.cs:
281         * GatewayIPAddressInformation.cs:
282         * IPGlobalProperties.cs:
283         * IPInterfaceProperties.cs:
284         * NetworkInterface.cs: implemented or stubbed out.
285
286 2006-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * NetBiosNodeType.cs:
289         * IPStatus.cs:
290         * NetworkInterfaceType.cs:
291         * SuffixOrigin.cs:
292         * DuplicateAddressDetectionState.cs:
293         * NetworkInformationAccess.cs:
294         * OperationalStatus.cs:
295         * TcpState.cs:
296         * PingCompletedEventHandler.cs:
297         * NetworkInterfaceComponent.cs:
298         * NetworkAvailabilityChangedEventHandler.cs:
299         * NetworkAvailabilityEventArgs.cs:
300         * PrefixOrigin.cs:
301         * NetworkAddressChangedEventHandler.cs:
302         * PingCompletedEventArgs.cs:
303         * PingOptions.cs:
304         * PingReply.cs: all enums, all event handlers/args + 2 classes.
305