gossm
Source Specific Multicast (SSM) custom sender and receiver, used to join and leave groups on the network. This is used to do custom things that iperf can't do.
Receiver
go run ssmc.go 10.10.250.2%232.2.3.2:4099 -i tun3
The first packet will be displayed with it's index number for example:
S: 18939904
Each packet received thereafter will be represented by one of the following characters:
! : Packet with the correct next index sequence. < : Packet index is less than the previous index.
: Packet index is greater than the previous index.
When the size of the packet changes this will be represented by "PS[new size]".
Should the index ever be less than zero the end of stream will be reported with EOS
followed by the last index.
Example:
neteam@amt4:~/go/src/ssm$ go run receiver/ssmc.go 10.10.250.2%232.2.3.2:4099 -i ens4
Server listening on UDP port 4099
Joining multicast (S,G)=10.10.250.2,232.2.3.2 w/iface ens4
S: 48PS[1470]!!!!!!!!!!!!!!!!!!!!!![4pps]!!!!!!!!!!!!EOS [i:-82]
Sender
go run ssmd.go 10.10.250.2%232.2.3.2:4099
Each packet sent will be represented by !
When the sent packet size changes this will be represented by "PS[new size]".
Example:
neteam@amt1:~/go/src/ssm$ go run sender/ssmd.go 10.10.250.2%232.2.3.2:4711
!PS[64]!!!!!!PS[66]!PS[115]!PS[126]!PS[92]!PS[66]!PS[64]!!!!!!PS[66]!PS[115]