LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-06-2010, 06:26 PM   #1
Abid Malik
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Rep: Reputation: -1
Question RTP Pakcets


Hi Everyone!

i want to know that how can we capture RTP packets from kernel stack. I mean that when we are using IP Telephony. There is a transformation of voice through RTP packets. So, i need to capture them. How can i do that please send me some piece of code or any logical concept.
 
Old 10-08-2010, 02:28 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,854

Rep: Reputation: 161Reputation: 161
You can monitor RTCP packet payload and get RTP port. And then you can capture RTP packet.
 
Old 10-09-2010, 04:51 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
RTP packets are UDP. You can get libpcap to do this. Or you can run a tool like wireshark and set the right filter.
 
Old 10-12-2010, 02:19 AM   #4
swap_chau
LQ Newbie
 
Registered: Oct 2010
Posts: 7

Rep: Reputation: 1
You can use ethereal or wireshark to capture any packet and you can analyze it as well. It shows all fields of packet separately.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rtp/Rtcp puneeth bhat Programming 9 07-19-2010 10:32 AM
rtp puneeth bhat Programming 1 04-09-2010 12:11 PM
why to trigger a NMI error after just receiving 35 pakcets? KoRiR Linux - Networking 0 04-10-2008 10:10 PM
RTP problem Madhukar Linux - Networking 1 02-08-2007 09:09 AM
Rtp Any One? sibtay Linux - Networking 0 08-08-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration