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