端口碰撞在 Windows 7 下不起作用
我们在 Windows XP 下成功地使用了一个名为 knock.exe 的程序来敲入某些端口集,然后允许通过另一个端口上的 ssh 与远程计算机建立连接。该程序在 Windows XP 下运行良好,但在 Windows 7 下运行时间要长得多(没有错误消息),并且我无法连接到远程计算机。
如果我在未运行 Windows 7 的虚拟机内运行 Knock.exe,然后从 Windows 7 计算机使用 SSH 连接,则它可以工作。
请注意,当从 Windows 7 运行端口碰撞应用程序时,事件会传递到远程计算机,因为在运行 Knockd (Linux) 的远程计算机上使用本地计算机的 IP 地址进行日志记录。
我也尝试过使用来自sourceforge的knock7,但没有成功。
我尝试了许多其他变体,例如设置兼容模式和其他端口敲门应用程序,但没有成功。
这似乎是 Windows 7 行为(可能在 Vista 中引入)相对于 Windows XP 行为的变化。
最好不必运行虚拟机来进行端口碰撞。
任何建议将不胜感激。 谢谢!
We have been using a program called knock.exe successfully under Windows XP to knock on some set of ports which will then allow a connection to be established via ssh on another port to a remote machine. This program worked fine under Windows XP, but under Windows 7 it takes a lot longer to run (gives no error messages) and I am unable to connect to the remote machine.
If i run knock.exe inside a VM not running Windows 7 then connect using SSH from the Windows 7 machine, then it works.
Note that when running the port knocking application from Windows 7, the events get through to the remote machine because there is logging with the ip address of the local machine on the remote machine running knockd (linux).
I have also tried using knock7 from sourceforge with no success.
I have tried many other variations such as setting compatibility mode, and other port knocking applications with no success.
It seems like this is a change in the Windows 7 behaviour (possibly introduced in Vista) from the Windows XP behaviour.
It would be better to not have to run a VM just to do port knocking.
Any suggestions would be much appreciated.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用cygwin版本的knock.exe
use cygwin version of knock.exe