发表文章

[C] v2.0.0 在80港工作得不好? v2.0.0 not work well at port 80?[nodogsplash]

jiqianghu 2017-10-9 28

在 v2.0.0 设置端口80时, 浏览器很长时间没有响应。
我使用 wireshark, 在浏览器和路由器之间找不到 http 数据包。
可能是防火墙问题?
我的么是 openwrt15.05 与 libmicrohttpd 图书馆。

(V2.0.0 与其他口岸是确定的;V0.9 在端口80处正常。

原文:

Browser is long time no response when set port 80 at v2.0.0.
I use wireshark and find no http packets between browser and router.
Maybe a firewall issue?
My envirement is openwrt15.05 with libmicrohttpd library.

(V2.0.0 with other port is ok; V0.9 is ok at port 80.)

相关推荐
最新评论 (12)
mwarning 2017-10-9
1

注意 v2.0.0 还没有被释放。
nodogsplash 正在运行吗?

原文:

Be aware that v2.0.0 has not been released yet.
Is nodogsplash running?

bluewavenet 2017-10-9
2

@jiqianghu
在 OpenWrt (或 LEDE) NodogSplash 将与 uHTTPd 冲突, 默认情况下也在端口80上。
您是否有在端口80上运行 NDS 的特定要求?

原文:

@jiqianghu
On OpenWrt (or LEDE) NodogSplash will conflict with uHTTPd, also on port 80 by default.
Do you have a specific requirement to run NDS on port 80?

jiqianghu 2017-10-9
3

@mwarning :
启用它。

@bluewavenet :
我设置 uhttpd 另一个端口, 并设置 NDS 在80。
如果 NDS V2 支持端口 80, url 地址将显示完美。我知道 v0.9 支持80成功。

原文:

@mwarning :
enabled it.

@bluewavenet :
I set uhttpd another port, and set NDS at 80.
If NDS V2 support port 80, the url address will show perfect. I know v0.9 supports 80 successfully.

jiqianghu 2017-10-9
4

而另一个问题, 为了构建它, openwrt1505 似乎没有 libmicrohttpd-no-ssl, 我用 libmicrohttpd 改成文件 comile ok。它依赖于其他 ssl 库。

原文:

And another issue, to build it, openwrt1505 seems no libmicrohttpd-no-ssl, I change the make file with libmicrohttpd to comile ok. It depends other ssl libs.

bluewavenet 2017-10-9
5

@jiqianghu有可能是一个 bug, 我没有测试这一点。
使用 NDS 运行尝试:
http://openwrt.lan:2050/images/splash.jpg

http://openwrt.lan:80/images/splash.jpg
这些 url 中的任何一个都生成图像吗?

原文:

@jiqianghu There may well be a bug, I have not tested this.
With NDS running try:
http://openwrt.lan:2050/images/splash.jpg
and
http://openwrt.lan:80/images/splash.jpg
Does either of these URLs produce an image?

bluewavenet 2017-10-9
6

@jiqianghu
在正常操作中, 作为热点, 不需要 https 支持, 因为现在所有的设备都在端口80上通过内置的捕获门户检测进行初始请求, 而不管浏览器中可能设置的 "主页" 是什么。因此, 构建将用于 libmicrohttpd-no-ssl 删除不必要的代码, 并大大减少安装的大小。
这将是一个很好的事情, 有 https 支持一些专门的应用程序, 但总是会产生一个证书错误, 据我所知。

原文:

@jiqianghu
In normal operation as a hotspot, https support is not needed as all devices these days do an initial request on port 80 via their built in Captive Portal Detection regardless of any "home page" that may be set in the browser. So the build will be for libmicrohttpd-no-ssl to remove unnecessary code and significantly reduce the installed size.
It would be a nice thing to have https support for some specialised applications, but would always produce a certificate error as far as I can see.

jiqianghu 2017-10-9
7

@bluewavenet
现在有反应了
但飞溅. html $imagesdir 未更改。

星期二 1月10日 21:29:27 2017 守护程序. 调试 nodogsplash [24049]: originurl: http://g.cn/
星期二 1月10日 21:29:27 2017 守护程序. 调试 nodogsplash [24049]: splashpageurl: http://192.168.1.1:80/splash.html?redir=http%3a%2f%2fg.cn%2f

原文:

@bluewavenet
It has response now.
But the splash.html $imagesdir is not changed.

Tue Jan 10 21:29:27 2017 daemon.debug nodogsplash[24049]: originurl: http://g.cn/
Tue Jan 10 21:29:27 2017 daemon.debug nodogsplash[24049]: splashpageurl: http://192.168.1.1:80/splash.html?redir=http%3a%2f%2fg.cn%2f

bluewavenet 2017-10-9
8

端口80或端口2050?
你是否因某种原因改变了 $imagesdir?

原文:

port 80 or port 2050?
Are you changing $imagesdir for some reason?

jiqianghu 2017-10-9
9

显示的是飞溅, 但它的图像不能看到。打开 html 源代码, $imagesdir 在 broswser 不更改。

原文:

the splash is shown, but it's image can not see. Open html source code, $imagesdir is not changed at broswser.

bluewavenet 2017-10-9
10
bluewavenet 2017-10-9
11

我认为你需要使用的东西, 而不是端口 80, 因为它将试图重定向到它自己, 你可以结束在一个循环.....。

原文:

I think you need to use something other than port 80 as it will be trying to redirect to its self and you can end up in a loop.....

bluewavenet 2017-10-9
12

我不认为这是一个 bug。在我看来, 让 NDS 在端口80上为初始页提供服务是没有任何意义的。

原文:

I don't see this as a bug. It does not make any sense to have NDS serve the splash page on port 80 in my opinion.

返回
发表文章
jiqianghu
文章数
3
评论数
4
注册排名
60905