/usr/share/pyshared/scapy/arch/solaris.py is in python-scapy 2.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
Customization for the Solaris operation system.
"""
# IPPROTO_GRE is missing on Solaris
import socket
socket.IPPROTO_GRE = 47
LOOPBACK_NAME="lo0"
from unix import *
|