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

关于DIR860以上arm架构的固件无法正常模拟的问题 #32

Closed
winmt opened this issue Apr 29, 2022 · 14 comments
Closed

关于DIR860以上arm架构的固件无法正常模拟的问题 #32

winmt opened this issue Apr 29, 2022 · 14 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@winmt
Copy link

winmt commented Apr 29, 2022

我用的物理机是Kali 2021.11的版本,当我在模拟运行DIR-860L_v1.00的固件时,一切都看似正常地启动起来了:
1
这是一个armel架构的固件,而当我用nmap扫端口的时候,却发现无法扫到任何开启的端口,并且在Kali上也无法ping通固件的网桥
2
之后,我又测试了DIR860以上版本的一些固件包,发现mips架构都是可正常仿真模拟的,而arm架构都会出现上述的问题
不知道是否有其他师傅遇到过和我类似的问题,有没有什么比较好的解决办法呢?谢谢!

@fxc233
Copy link

fxc233 commented May 1, 2022

i meet the same problem

@winmt
Copy link
Author

winmt commented May 1, 2022

我换成了官方所说的Kali 2020.04最适配版,依然存在这个问题。
能否麻烦作者师傅解答一下?谢谢! @liyansong2018

@fxc233
Copy link

fxc233 commented May 1, 2022

The problem may be related to this error report

图片

@liyansong2018
Copy link
Owner

大家稍安勿躁,这个固件我之前并没有测试过,也不在主页的支持列表上。我来下载相应的固件看看这个问题,可能是上游firmadyne引入的。

@winmt
Copy link
Author

winmt commented May 2, 2022

大家稍安勿躁,这个固件我之前并没有测试过,也不在主页的支持列表上。我来下载相应的固件看看这个问题,可能是上游firmadyne引入的。

多谢师傅,麻烦了。

@liyansong2018
Copy link
Owner

已经修复了nvram部分问题,但是仍然不能ping通虚拟机网络。

iptables v1.4.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

初步推断,是由arm版本的内核不支持某些特性导致的。
已经排除

  • brctl 网桥配置问题
  • route 路由问题

@liyansong2018 liyansong2018 added help wanted Extra attention is needed question Further information is requested bug Something isn't working labels May 2, 2022
@liyansong2018
Copy link
Owner

很遗憾,这个问题没有办法完全解决,这是firmadyne自身的bug。

@liyansong2018 liyansong2018 reopened this May 4, 2022
@winmt
Copy link
Author

winmt commented May 5, 2022

很遗憾,这个问题没有办法完全解决,这是firmadyne自身的bug。

收到,谢谢。
另外,请问这是D-Link系列arm架构路由firmadyne不支持,还是大多数arm架构的路由firmadyne都不支持呢?

@liyansong2018
Copy link
Owner

liyansong2018 commented May 5, 2022

应该是部分路由器不支持。这个问题后续可以进一步跟进,看看能否有更好的解决方案。

目前来看,固件中的服务都能够正常拉起,就是宿主机和虚拟机之间的网络不通。

@winmt
Copy link
Author

winmt commented May 5, 2022

应该是部分路由器不支持。这个问题后续可以进一步跟进,看看能否有更好的解决方案。

目前来看,固件中的服务都能够正常拉起,就是宿主机和虚拟机之间的网络不通。

好的,谢谢您的回复。

@liyansong2018
Copy link
Owner

@winmt @fxc233 已修复该问题,请运行 git fetch 同步项目最近更新。

@liyansong2018
Copy link
Owner

@fxc233 This bug has been fixed and you can try the latest version.

@winmt
Copy link
Author

winmt commented May 7, 2022

@winmt @fxc233 已修复该问题,请运行 git fetch 同步项目最近更新。

已测试,可正常启动,并能成功打通一些CVE,感谢您的帮助!

@fxc233
Copy link

fxc233 commented May 7, 2022

@liyansong2018 Thanks for the quick fix and release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants