Multicast Traffic Generator für Windows

1822
Mohammad Bagher Saberi

Gibt es Multicast-Traffic-Generatoren für Windows?

0
uTorrent verwendet UDP, eine Art Multicast. HackToHell vor 12 Jahren 0
Benötigen Sie eine bestimmte Adresse / einen bestimmten Port für Multicast-Verkehr, oder wird jede Art von Verkehr ausreichend sein? crea7or vor 12 Jahren 0
Jede Art von Verkehr Mohammad Bagher Saberi vor 12 Jahren 0

1 Antwort auf die Frage

2
Intenso

Multicast traffic is actually pretty simple to create with any programming language. If you got python installed here's an example, I hope it works under Windows.

import sys import socket from time import sleep UDP_IP=sys.argv[1] UDP_PORT=sys.argv[2] TTL=2 DATA="whateverandever" sock = socket.socket( socket.AF_INET, socket.SOCK_DGRAM ) sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, TTL) while True: sock.sendto ( DATA, (UDP_IP, int(UDP_PORT)) ) sleep(1) 

Save it to i.e. mcast.py and execute it like this:

python mcast.py <destination> <port> 

Change TTL in the script if you whant the traffic to reach further down in the network.

Ich brauche ein Drittanbieter-Tool Intenso Mohammad Bagher Saberi vor 12 Jahren 0