* Ping.cs: generates a random ICMP Identifier field per Echo to help
match up pings and their responses. Now has valid TTL and timeouts apply to
the correct pings. Also fixed bugs were received Sequence and
Identifier would be corrupt for values >255, and fixed corruption of
the Data field.
Patch by Michael Walsh that fixes bug #627330.
* Ping.cs: Try to detect the path to the bin command, since different
Unix systems store it in different places.
Fixes#519272.
svn path=/trunk/mcs/; revision=147831
* GatewayIPAddressInformationCollection.cs:
* IPInterfaceProperties.cs: implement GatewayAddresses for linux.
Original patch by Christoph von Wittich.
Fixes bug #544640.
svn path=/trunk/mcs/; revision=143525
* LinuxNetworkInterfaceMarshal.cs: Add StructLayout attribute to structures, so
the aot compiler can generate PtrToStructure wrappers for them.
svn path=/trunk/mcs/; revision=142578
* Ping.cs: we just need the address(es), not a host entry. This avoids
querying the DNS server(s) when the target is an IP address.
svn path=/trunk/mcs/; revision=133459
* Ping.cs: close the socket in SendPrivileged. Use Buffer.BlockCopy
instead of Array.Copy. Return IPStatus.Unknown instead of throwing an
exception for unknown status codes received.
svn path=/trunk/mcs/; revision=121278
* IPAddressCollection.cs: added an internal method to make the
collection read-only.
* IPInterfaceProperties.cs: read DNS client configuration from
/etc/resolv.conf.
* NetworkInterface.cs: dummy Speed property for linux.
Bug #450211 fixed.
svn path=/trunk/mcs/; revision=120281
* Ping.cs: the time for the arguments of 'ping' is in seconds. Don't
read the output of running the command, since we trust the return
code.
svn path=/trunk/mcs/; revision=119534
* NetworkInterface.cs: special case for loopback interfaces so that
their a physical interface address is PhysicalInterfaceAddress.None.
Fixes bug #422118.
svn path=/trunk/mcs/; revision=114343
* IPInterfaceProperties.cs, UnicastIPAddressInformation.cs,
UnicastIPAddressInformationCollection.cs : fixed bug #416526, based
on the patch by Fredrik Kling. support UnicastIPAddressInformation
on win32.
svn path=/trunk/mcs/; revision=110557
* NetworkInterface.cs: implemented support for Linux. Parts
contributed by Eric Butler ([email protected]), thanks!
* GatewayIPAddressInformationCollection.cs,
IPInterfaceProperties.cs, IPAddressInformationCollection.cs: added
support for Linux. Patch contributed by Eric Butler
([email protected]), thanks!
* IPv4InterfaceProperties.cs: implemented support for Linux.
* LinuxNetworkInterfaceMarshal.cs: added. Contains a set of
Linux-specific structures required for accessing the network
information. Patch contributed by Eric Butler
([email protected]), thanks!
* MulticastIPAddressInformation.cs: added support for Linux
multicast information. Patch contributed by Eric Butler
([email protected]), thanks!
* IPv4InterfaceStatistics.cs: use the parent IfacePath to get the
path to the interface description file.
* UnicastIPAddressInformation.cs: added stubs for
LinuxUnicastIPAddressInformation. Patch contributed by Eric Butler
([email protected]), thanks!
* Ping.cs: Use /bin/ping when running as non-root user
(implementation by Jackson Harper <[email protected]>) or use
raw sockets if running as root or if the current process has the
CAP_NET_RAW Linux capability set while running as an unprivileged
user.
svn path=/trunk/mcs/; revision=107890
* Ping.cs: Use /bin/ping when running as non-root user
(implementation by Jackson Harper <[email protected]>) or use
raw sockets if running as root or if the current process has the
CAP_NET_RAW Linux capability set while running as an unprivileged
user.
svn path=/trunk/mcs/; revision=107871
* Ping.cs : Do not call OnPingCompleted() at CancelAsync() it should
be called at RunWorkerCompleted. Simplified RunWorkerCompleted.
svn path=/trunk/mcs/; revision=87971
* NetworkInterface.cs (GetAllNetworkInterfaces): return an empty
array instead of throwing an exception on operating systems where
svn path=/trunk/mcs/; revision=86646