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

can not play RTP if not logged in as root #368

Closed
stadelmannj opened this issue Sep 27, 2018 · 1 comment
Closed

can not play RTP if not logged in as root #368

stadelmannj opened this issue Sep 27, 2018 · 1 comment

Comments

@stadelmannj
Copy link

if I'm trying to play RTP when logged with a normal user, i get the following error:
Can't create raw IPv4 socket (need to run as root?): Operation not permitted.
and scenario stops.

SIPp is called with this command
sipp 192.168.2.8 -sf uac-hold.xml -m 1 -s +41993500670 -i 10.254.156.97 -mi 10.254.156.97 -t t1

anybody any idee how to fix this ?

@wdoekes
Copy link
Member

wdoekes commented May 20, 2019

Yes. You need CAP_NET_RAW capabilities for raw sockets when using pcap-replay.

See also #57 and #369.

You can do rtpstream without root though.

@wdoekes wdoekes closed this as completed May 20, 2019
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

No branches or pull requests

2 participants