找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: gzprk

[pppoe] 有没有人研究出PPPOE-Server首次登陆弹通知啊

[复制链接]
发表于 2007-2-13 03:23:15 | 显示全部楼层
如何只在第一次弹出,想来有两个方法一个是在html里使用cookie,一个是在ROS里使用NTH那个来判断转发,可惜哇,至今不明白那个NTH是什么道理
routeros
回复

使用道具 举报

发表于 2007-2-13 15:30:45 | 显示全部楼层
Nth's Mean
nth (integer,integer: 0..15,integer{0,1}) - match a particular Nth packet received by the rule. One of 16 available counters can be used to count packets Every - match every Every+1th packet. For example, if Every=1 then the rule matches every 2nd packet Counter - specifies which counter to use. A counter increments each time the rule containing nth Packet - match on the given packet number. The value by obvious reasons must be between 0 and Every. If this option is used for a given counter, then there must be at least Every+1 rules with this option, covering all values between 0 and Every inclusively.
Los valores de NTH para 2 wanes son:
1,1,0 1er 1,1,1 2do
Los valores de NTH para 3 wanes son:
2,4,0 1er 2,4,1 2do 2,4,2 3er
routeros
回复

使用道具 举报

发表于 2007-2-13 17:50:42 | 显示全部楼层
护花凌大哥,惭愧!还是没看懂
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-27 14:29 , Processed in 0.036957 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表