Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for raw IP pcap files #763

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

ticpu
Copy link
Contributor

@ticpu ticpu commented Oct 7, 2024

Files created from Wireshark by using "File -> Strip Headers" and that contain only the minimum amount of information to send RTP packets. No headers to strip in this case so set offset to 0.

Documentation for DLT_RAW / raw IP / link layer 12 is available at: https://github.com/the-tcpdump-group/libpcap/blob/master/pcap/dlt.h

@ticpu ticpu marked this pull request as draft October 7, 2024 19:13
Files created from Wireshark by using "File -> Strip Headers" and that
contain only the minimum amount of information to send RTP packets.
No headers to strip in this case so set offset to 0.

Documentation for DLT_RAW / raw IP / link layer 12 is available at:
https://github.com/the-tcpdump-group/libpcap/blob/master/pcap/dlt.h
@orgads
Copy link
Contributor

orgads commented Oct 8, 2024

LGTM.

@ticpu ticpu marked this pull request as ready for review October 8, 2024 14:59
@ticpu
Copy link
Contributor Author

ticpu commented Oct 8, 2024

I did some testing on my side and was able to get some calls using v4 and v6 using a raw capture.

@orgads orgads merged commit 87b18d2 into SIPp:master Oct 8, 2024
8 checks passed
@ticpu ticpu deleted the allow-using-raw-ip-pcap branch October 8, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants