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