The investigations about XXX network character support

  1. the requirement
    1. simulate network packets connect & disconnect
    2. support low protocol GOOSE
    3. it’s controllable by program
  2. the  selection & comparation
    1. dummnet [http://info.iet.unipi.it/~luigi/dummynet/]: dummynet is a tool originally designed for testing networking protocols, and since then used for a variety of applications including bandwidth management. It simulates/enforces queue and bandwidth limitations, delays, packet losses, and multipath effects.


The conclusion: it’s a networking protocols, it cannot block GOOSE transmission.

    1. Winpcap [http://www.winpcap.org]: The WinPcap programming interface can be used by many types of network tools for analysis, troubleshooting, security and monitoring.

WinPcap can't do:WinPcap receives and sends the packets independently from the host protocols,like TCP-IP. This means that it isn't able to block, filter or manipulate thetraffic generated by other programs on the same machine: it simply"sniffs" the packets that transit on the wire. Therefore, it does notprovide the appropriate support for applications like traffic shapers, QoSschedulers and personal firewalls.

    1. Switch with power supply controlled by relay.

But this selection needs more hardware to support, such as switch, relay,power supply…

    1. Enable/disable netcard: In Windows, a program can call API to enable/disable netcard directly. Therefore these operations can also block GOOSE. 
    2.  A client/server runs at VMware, and set network is disconnected/connected. Just like this:


I investigate this selection, and find that VMware SDKs have many APIsto operate Guest Operating System. But VMware SDKs cannot support operation theplayer interface.

Attention: all HOST netcard are disabled,but Guests are still connected each other.

The solution is that uses AutoIt to operatethe player interface.

The routing: link dll->get handle of player-> operate networkdisconnected/connected

  1. the architecture in the future
    1. enable/disable super PC netcard, so it dose not affect client/server.

 

 

    1. All run in one HOST and VMware

 

    1. Or the mixed mode, in section a, the Super PC has/have VMware.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值