mirror of
https://github.com/telephone/LookingGlass.git
synced 2026-04-25 07:56:01 +03:00
[GH-ISSUE #32] Ping / MTR not working #22
Labels
No labels
enhancement
enhancement
enhancement
pull-request
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LookingGlass#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @s4m4n on GitHub (May 19, 2015).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/32
I just installed the LookingGlass for testing and noticed that MTR and ping are not working, Host and Traceroute are working fine. I tried making changes to Ping function to below:
return $this->procExecute('ping --help', $host);
It didn't returned anything either. null reponse.
Also, file permissions are fine and there is no error log.
Any idea?
@telephone commented on GitHub (May 19, 2015):
What OS?
The problem is permission (SUID) based. The short of it is ping and MTR need root permission to open a socket, but some OS' have tighter privileges which prevent your web user (www-user) from accessing the commands.
Try these commands:
@s4m4n commented on GitHub (May 19, 2015):
Well, It was SElinux :) Thanks