Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating SMTP traffic

Status
Not open for further replies.

Greasemonkey1

Technical User
Jun 12, 2002
47
US
I am loooking for ideas about how to generate SMTP traffic for a Lab. We are trying to use Ethereal (sniffer) to capture smtp traffic and analyze it.


Thanks you for you help and any wild ideas you might that you can throw out there would greatly be appreciated.


Regards

Phu
 
Phu,

there are numerous ways to do this. My first thought would be to look on CPAN and see if there are any PERL libraries that interface with SMTP servers because PERL is such a simple language to use for automating repetitive tasks like this.


I found 187 packages on a search for SMTP. There are relay packages, client packages, server packages, multi-part packages and even monitoring packages.

As far as generating traffic is concerned, I would probably want to do some form of traffic analysis BEFORE I created a tool to test with, so that I could generate representative traffic to search through. You really don't have to capture the whole messages. Packet headers should be enough to give you an idea of the general size of messages and their frequency.

If you want to go a step farther, you could look at headers and see what formats the messages generally take, like the mime types and number and size of attachments.

pansophic
 
Pansophic

Thanks you for you replies it was really helpful. I am not familiar with Pearl, but I will visit the website tonite when I get home. All I am trying to do is use a program can Ethereal and have it capture SMTP traffic. That is the main part, then I can have my fellow classmen go in and look into the headers and etc.. to learn it for themselves.

Again thanks for your Replies and if you want I can sent you an email of the lab I soon will create when I am finish.

Regards

Phu Nguyen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top