what tool can generate random realistic HTTP, FTP, Telnet, SMTP traffic for a test bed environment? I need this traffic to stimulate normal working condition of my test environment. Thanks
Perhaps iperf (https://iperf.fr/) and omnet++ (https://omnetpp.org/) are candidates to what you seek. Students in their final year projects at university of Skövde use iperf to generate network traffic, mainly due to its simplicity. Omnet++ is a simulator, which can be connected to a real network. So, clients can reside in the real world and you can use simulated servers and vice versa. Can be more complex than your needs.
If you want all sorts of connections and protocols like used in a normal day to day home/office use, you might try this approach:
Use Wireshark to collect/record teaffic infirmation for as long as you can (have storage capacity), or just for a few days.
Create a sinple script to pick random package index from the collection and use the TCP client to send it as is.
Repeate the process with variable number of packages per minute to simulate a variable network use rate over time (lunch breaks, no browsing period etc.)
Hopefully, this simple solution can be extended and adapted to your needs.
Distributed Internet Traffic Generator - A tool for the generation of realistic network workload for emerging networking scenarios
D-ITG is a platform capable to produce IPv4 and IPv6 traffic by accurately replicating the workload of current Internet applications.
At the same time D-ITG is also a network measurement tool able to measure the most common performance metrics (e.g. throughput, delay, jitter, packet loss) at packet level.
D-ITG can generate traffic following stochastic models for packet size (PS) and inter departure time (IDT) that mimic application-level protocol behavior. By specifying the distributions of IDT and PS random variables, it is possible to choose different renewal processes for packet generation: by using characterization and modeling results from literature, D-ITG is able to replicate statistical properties of traffic of different well-known applications (e.g Telnet, VoIP , Voice Activity Detection, HTTP, FTP, SMTP, DNS, network games).
Perhaps iperf (https://iperf.fr/) and omnet++ (https://omnetpp.org/) are candidates to what you seek. Students in their final year projects at university of Skövde use iperf to generate network traffic, mainly due to its simplicity. Omnet++ is a simulator, which can be connected to a real network. So, clients can reside in the real world and you can use simulated servers and vice versa. Can be more complex than your needs.
iPerf3 is a tool for active measurements of the maximum achievable bandwidth on IP networks. It supports tuning of various parameters related to timing, buffers, and protocols (TCP, UDP, SCTP with IPv4 and IPv6). For each test, it reports the bandwidth, loss, and other parameters. ...