1

在我的示例中,我想构建一个应用程序,向加入网络的用户发送某种接口并在中心站(可能是路由器或中心服务器)进行管理。新用户对该界面的输入将被发送回中心站并进行控制。

这有多合理?向新发现的 IP 发送内容是否现实?

4

4 回答 4

2

只要您控制 DNS 服务器,您就可以将它们发送到您喜欢的任何 Web 服务器。

于 2010-02-18T16:16:36.010 回答
1

完全合理,但您需要一个带有开源固件的路由器,并且您需要使用该源代码的语言进行编程,并拥有工具链来构建固件的二进制文件。

于 2010-02-18T16:16:50.667 回答
1

我唯一能想到的就是NoCatAuth和朋友们。用户必须使用他们的网络浏览器,但大多数人已经习惯了。

于 2010-02-18T16:16:53.053 回答
0

Are you trying to FORCE the users to use your application (e.g. by selling these routers via an ISP), or are you expecting users to co-operate (e.g. inside a organisation's WAN)?

If the latter, it may be sufficient to set the DHCP server inside the router to serve the address of an HTTP proxy. That will get picked up by most OS/browsers. The proxy can then be used to control web-traffic - which pages they can see, and which ones are redirected to your own web-app.

If the user is considered an adversary, it would be trivial for them to override the proxy settings. In a LAN/WAN situation, you need to make sure nothing is connecting them to the outside world, except through the proxy.

于 2010-02-19T04:00:01.330 回答