UPNP测试

今天跑了一个程序,用upnp在路由器上循环打开新的端口映射,想测试这路由器最多能开几个映射。

测试结果记录如下:
Environment:
Router: TL-R410

Original Ports: 8 // 8 ports have existed in the upnp port mapping before testing.

OS: Debian 2.6
Server: nodejs v0.2.0 (modified)

Software Meta:
Language: javascript
Protocol: UPNP

Test Info.:
Beginning of ports's loop: 40001
End of ports' loop: 40100
Test Result:
Break at port: 40024
Total ports: 32

测试结果,是只能开32个port。而值得注意的是,32个port之后,发送upnp请求,路由仍然返回正常的回复报文,而没有错误。只是实际上没有继续开port了。

猜你喜欢

转载自joson-coney.iteye.com/blog/1183431