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