Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Ethereal: users

Saving session in plain text

 

 

Ethereal users RSS feed   Index | Next | Previous | View Threaded


version5 at gmail

Nov 12, 2006, 11:02 AM

Post #1 of 1 (3449 views)
Permalink
Saving session in plain text

-------------------
The Ethereal project is being continued at a new site. Please go to
http://www.wireshark.org and subscribe to wireshark-users [at] wireshark
Don't forget to unsubscribe from this list at
http://www.ethereal.com/mailman/listinfo/ethereal-users
-------------------

Hi,
I have a captured SIP session that I wish to replay using a python
script of mine. I require the saved packed dump to be in the form

REGISTER sip:127.0.0.1 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5066;rport;branch=z9hG4bKecjlzkte
Max-Forwards: 70
To: "Bleh <101>" <sip:101 [at] 127>
From: "Blah <101>" <sip:101 [at] 127>;tag=gaerh
Call-ID: dchafnkgbzxaavm [at] 127
CSeq: 396 REGISTER
Contact: <sip:101 [at] 127:5066>;expires=3600
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, REFER, NOTIFY, SUBSCRIBE
User-Agent: Bleh/0.4.2
Content-Length: 0

e.g plain text

I was wondering how I would go about getting ethereal to save the
session in this format. I could probably strip the libpcap headers
from each packet after I saved it but i'd prefer if there was an
easier way.

Thanks,
nnp

--
http://silenthack.co.uk
_______________________________________________
Ethereal-users mailing list
Ethereal-users [at] ethereal
http://www.ethereal.com/mailman/listinfo/ethereal-users

Ethereal users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.