skele...@lissyara.su via dtrace-discuss wrote:
Hello.
Is there any method to drop network connection via Dtrace (or other methods) on Solaris 11.X? Tcpdrop (or analogue) doesn't exist, from sources doesn't build, packages for Solaris 10 doesn't downloads. I have found some advises http://www.oracle.com/technetwork/systems/networking/tcpdrop-jsp-135583.html , but it so far from Tcpdrop.

I couldn't find the source code for Solaris tcpdrop anymore, but I'm pretty sure it will have used the TCP_IOC_ABORT_CONN ioctl. This was originally implemented for Sun Cluster to speed up failovers, but I see that Zones is also using it now. It's not a public interface so it's not described in the manpages, but you can find it in the Illumos source code, e.g. http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/inet/tcp/tcp_misc.c#42

--
Andrew Gabriel


-------------------------------------------
dtrace-discuss
Archives: https://www.listbox.com/member/archive/184261/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184261/25769126-e243886f
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769126&id_secret=25769126-8d47a7b2
Powered by Listbox: http://www.listbox.com

Reply via email to