Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haf/smbpingpong
Small utility to test whether SMB is using session semantics on writes in distributed systems
https://github.com/haf/smbpingpong
Last synced: about 1 month ago
JSON representation
Small utility to test whether SMB is using session semantics on writes in distributed systems
- Host: GitHub
- URL: https://github.com/haf/smbpingpong
- Owner: haf
- Created: 2016-02-16T12:38:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-08T12:24:58.000Z (almost 9 years ago)
- Last Synced: 2024-10-19T21:16:28.767Z (2 months ago)
- Language: F#
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SmbPingPong
Small utility to test whether SMB is using session semantics on writes in distributed systems.
You spawn one 'ping' and one 'pong' node with a specified directory. Ping will now write a file to this folder and wait for pong to read it. Pong will get the message that a file is present, try to read it, print its length and then if it's empty, send NACK back to ping or if it has contents, send ACK back to ping.
By spawning these processes on two different nodes you can see if it's possible to beat visibility of the same files between two nodes.
This work was prompted by SMB seemingly ACKing writes on one node, but presenting an empty file when that file is read from another node.
Future work: to add a proxy so that these ping/pong modes can be run in different subnets.