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