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

ARM64 builds support #9

Closed
ShutdownRepo opened this issue May 19, 2022 · 3 comments
Closed

ARM64 builds support #9

ShutdownRepo opened this issue May 19, 2022 · 3 comments
Labels
arm64 ARM64 support is involved

Comments

@ShutdownRepo
Copy link
Member

ShutdownRepo commented May 19, 2022

Configuration: MacBook Pro M1 Pro, macOS 12.3.1
Exegol install: wrapper v4.0.2b1, nightly image v.3cc234ea

On a standard nmap scan, it crashes with the following message.

# nmap -v -T4 -p 389 10.10.11.129
Starting Nmap 7.92 ( https://nmap.org ) at 2022-05-19 19:19 CEST
Initiating Ping Scan at 19:19
Scanning 10.10.11.129 [4 ports]
pcap_create(tun0) FAILED: tun0: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: Function not implemented.
Call to pcap_open_live() failed three times. There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with PACKET enabled.
 *BSD:  If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support.  If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
*WINDOWS:  Nmap only supports ethernet interfaces on Windows for most operations because Microsoft disabled raw sockets as of Windows XP SP2.  Depending on the reason for this error, it is possible that the --unprivileged command-line argument will help.
SOLARIS:  If you are trying to scan localhost or the address of an interface and are getting '/dev/lo0: No such file or directory' or 'lo0: No DLPI device found', complain to Sun.  I don't think Solaris can support advanced localhost scans.  You can probably use "-Pn -sT localhost" though.


QUITTING!
@ShutdownRepo ShutdownRepo added bug Something isn't working macOS/M1 labels May 19, 2022
@ShutdownRepo
Copy link
Member Author

This is due to the image architecture.

Exegol needs multi-arch images.

image

image

@ShutdownRepo
Copy link
Member Author

The issue should be fixed from 1efeb9f
Exegol images can now be built for AMD64 or ARM64 platforms (Apple Silicon M1 processors are ARM64 CPUs).
While the various CI/CD configured for Exegol don't build multi-processor images yet, an ARM64 image can be built locally with the following command: exegol install local. The arm64 profile can then be chosen.
The arm64 profile is the same thing as the fullone, but the linux/arm64platform is specified.

@ShutdownRepo ShutdownRepo changed the title SYN scans crash on M1 mac Various bugs on M1 mac May 29, 2022
@ShutdownRepo ShutdownRepo added the arm64 ARM64 support is involved label Jun 21, 2022
@ShutdownRepo ShutdownRepo changed the title Various bugs on M1 mac ARM64 builds support Jul 18, 2022
@ShutdownRepo
Copy link
Member Author

Fixed in #77

@ShutdownRepo ShutdownRepo removed the bug Something isn't working label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm64 ARM64 support is involved
Projects
Archived in project
Development

No branches or pull requests

1 participant