CN100563257C - An Improved PPPoE Authentication Method - Google Patents
An Improved PPPoE Authentication Method Download PDFInfo
- Publication number
- CN100563257C CN100563257C CNB2006101222832A CN200610122283A CN100563257C CN 100563257 C CN100563257 C CN 100563257C CN B2006101222832 A CNB2006101222832 A CN B2006101222832A CN 200610122283 A CN200610122283 A CN 200610122283A CN 100563257 C CN100563257 C CN 100563257C
- Authority
- CN
- China
- Prior art keywords
- pppoe
- session
- main frame
- host
- access server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000000131 plasma-assisted desorption ionisation Methods 0.000 claims abstract description 8
- 230000000977 initiatory effect Effects 0.000 claims abstract description 5
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 230000005856 abnormality Effects 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 abstract description 9
- 238000012790 confirmation Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 238000013475 authorization Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- OYYYPYWQLRODNN-UHFFFAOYSA-N [hydroxy(3-methylbut-3-enoxy)phosphoryl]methylphosphonic acid Chemical compound CC(=C)CCOP(O)(=O)CP(O)(O)=O OYYYPYWQLRODNN-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种改进的PPPoE认证方法,在主机上配置存储部件,保存当前PPPoE拨号连接的PPPoE会话信息;当主机发起一次PPPoE连接后并成功地接入网络后,则该PPPoE连接的PPPoE会话信息将被保存在主机的存储部件上;当主机在异常状态下,需要重新发起PPPoE拨号时,主机将在发起PPPoE拨号请求包PADI之前,先发送一个PPPoE拆线包PADT,该数据包携带了前次的PPPoE会话信息,并将原来的PPPoE会话连接拆除。通过上述PPPoE认证方法,实现了主机在异常状态下,可快速地接入PPPoE拨号网络,从而极大地改善了用户的使用体验;同时,这种实现也减轻了网络运营商的设备负荷,极大的降低了用户的投诉及运营商的客户服务压力。
The invention discloses an improved PPPoE authentication method. A storage unit is configured on the host to save the PPPoE session information of the current PPPoE dial-up connection; The session information will be saved on the storage unit of the host; when the host needs to re-initiate PPPoE dial-up in an abnormal state, the host will send a PPPoE disconnection packet PADT before initiating the PPPoE dial-up request packet PADI. The previous PPPoE session information is deleted, and the original PPPoE session connection is removed. Through the above PPPoE authentication method, the host can quickly access the PPPoE dial-up network in an abnormal state, thereby greatly improving the user experience; at the same time, this realization also reduces the equipment load of the network operator, greatly The user's complaints and the operator's customer service pressure are greatly reduced.
Description
技术领域 technical field
本发明涉及网络接入技术中的认证技术领域,应用于计算机、网络机顶盒等网络设备上。The invention relates to the technical field of authentication in network access technology, and is applied to network devices such as computers and network set-top boxes.
背景技术 Background technique
目前,在网络接入技术领域,采用的认证技术主要有PPPoE/802.1X/Web认证等,其中以PPPoE技术在通信领域中使用得最普遍。如图1所示,为现有的关于PPPoE拨号接入网络的流程图:At present, in the field of network access technology, the authentication technologies used mainly include PPPoE/802.1X/Web authentication, among which PPPoE technology is most commonly used in the communication field. As shown in Figure 1, it is the flow chart of the existing PPPoE dial-up access network:
PPPoE接入认证分为两个阶段,发现阶段(Discovery stage)和PPP会话阶段(PPP Session stage)。其中:PPPoE access authentication is divided into two stages, discovery stage (Discovery stage) and PPP session stage (PPP Session stage). in:
(1)发现阶段(Discovery stage)主要分为4个步骤,包括了主机(host)发送初始化的广播包(PADI,PPPoE Active Discovery Initiation packet)、一个或多个接入服务器(Access Concentrator)回送应答包(PADO,PPPoEActive Discovery Offer packet)、主机再发送一个会话请求的单播包(PADR,PPPoE Active Discovery Request packet),被选中的接入服务器再回送一个会话确认包(PADS,PPPoE Active Discovery Session-confirmation packet)。(1) The discovery stage (Discovery stage) is mainly divided into 4 steps, including the host (host) sends the initialization broadcast packet (PADI, PPPoE Active Discovery Initiation packet), one or more access servers (Access Concentrator) send back the response Packet (PADO, PPPoE Active Discovery Offer packet), the host sends a session request unicast packet (PADR, PPPoE Active Discovery Request packet), and the selected access server sends back a session confirmation packet (PADS, PPPoE Active Discovery Session- confirmation packet).
当完成这些步骤后,参与认证的两端将建立一个会话(Session)连接,并知道该连接所对应的PPPoE会话标识符(SESSION_ID)和对方的以太网MAC地址,这些参数将唯一地定义该PPPoE Session连接。当主机接收到该会话确认(PADS)包后,主机与接入服务器将继续进入PPP会话阶段。此后的数据以单播方式发送,在整个会话过程中PPPoE SESSION_ID不改变。After completing these steps, the two ends participating in the authentication will establish a session (Session) connection, and know the PPPoE session identifier (SESSION_ID) corresponding to the connection and the Ethernet MAC address of the other party, these parameters will uniquely define the PPPoE Session connection. After the host receives the session confirmation (PADS) packet, the host and the access server will continue to enter the PPP session phase. The subsequent data is sent in unicast mode, and the PPPoE SESSION_ID does not change during the entire session.
当会话连接建立起来以后,主机或者接入服务器在任何时候均可以发送一个PPPoE拆除包(PADT,PPPoE Active Discovery Terminate packet)以拆除该会话连接。当收到PADT包后,任何的PPP数据流都不允许在该会话连接上发送了。After the session connection is established, the host or the access server can send a PPPoE teardown packet (PADT, PPPoE Active Discovery Terminate packet) at any time to tear down the session connection. After receiving the PADT packet, any PPP data flow is not allowed to be sent on the session connection.
(2)PPP会话阶段(PPP Session stage),主要分为链路建立(LinkEstablishment Phase)、认证授权(Authentication Phase)、网络层协议协商(Network-Layer Protocol Phase)、链路拆除(Link Termination Phase)等环节。其中,认证授权(Authentication Phase)是可选环节。(2) PPP Session stage (PPP Session stage), mainly divided into Link Establishment Phase, Authentication Phase, Network-Layer Protocol Phase, Link Termination Phase And so on. Among them, Authentication Phase is an optional link.
链路建立是会话双方通过交换配置数据包、线路测试及发送确认包而完成的;对于需要认证的链路(在电信运营中一般是需要的),需在链路建立后立即进行身份的认证与授权。要求支持认证的重试机制,在超过一定次数的尝试后仍失败,该链路将被拆除。Link establishment is completed by the two parties in the session by exchanging configuration data packets, line testing, and sending confirmation packets; for links that require authentication (generally required in telecom operations), identity authentication needs to be performed immediately after the link is established and authorization. It is required to support the retry mechanism of authentication, if it still fails after a certain number of attempts, the link will be torn down.
当认证授权通过后,网络层协议(如IP,IPX,或者AppleTalk等)将被相应的NCP(Network Control Protocol)选中并配置;之后,相应的网络层协议数据包才能承载在该PPP连接上。After the authentication and authorization are passed, the network layer protocol (such as IP, IPX, or AppleTalk, etc.) will be selected and configured by the corresponding NCP (Network Control Protocol); after that, the corresponding network layer protocol data packets can be carried on the PPP connection.
该PPP连接可以在任何时候被拆除,可以由以下原因导致该PPP的拆除:载波丢失、认证失败、链路质量差、空闲计时器时间到、管理性强制拆除等。当PPP拆除时,PPP将通知网络层协议采取合适的动作;同时通知物理层断开以强制断开该链路。The PPP connection can be removed at any time, and the removal of the PPP can be caused by the following reasons: carrier loss, authentication failure, poor link quality, idle timer timeout, administrative forced removal, etc. When PPP is torn down, PPP will notify the network layer protocol to take appropriate actions; at the same time, notify the physical layer to disconnect to forcibly disconnect the link.
但是,上述PPPoE认证技术在实际的网络运营中表现出一些需要改进的地方,主机(即PPPoE拨号客户端,以下同)在异常掉电(或强制关机)、主机无响应、主机与拨号MODEM之间的网线断开等情况下,局端的接入服务器(即PPPoE认证后台系统,以下同)需经过一段时间(timeout时间,一般为150秒)后,才能探测到该PPPoE会话已超时并断开该会话。如果该主机在此timeout时间之内再次发出PPPoE拨号请求,则该请求将被拒绝。这就是说,用户必须等待该timeout时间后才能重新接入网络。由此带来以下两个问题:However, the above-mentioned PPPoE authentication technology shows some areas to be improved in the actual network operation. The host (i.e. the PPPoE dial-up client, the same below) is abnormally powered off (or forced to shut down), the host does not respond, the host and the dial-up MODEM In the case of disconnection of the network cable, the access server at the central office (that is, the PPPoE authentication background system, the same below) needs a period of time (timeout time, generally 150 seconds) before detecting that the PPPoE session has timed out and disconnected. the session. If the host sends a PPPoE dial-up request again within this timeout, the request will be rejected. That is to say, the user must wait for the timeout before reconnecting to the network. This leads to the following two problems:
1)对网络运营商来说,接入服务器会接收到大量而重复的拨号请求,该请求本该接受而却被拒绝,由此浪费了大量的接入认证资源,同时也引起部分用户的误投诉;1) For network operators, the access server will receive a large number of repeated dialing requests, which should be accepted but rejected, thus wasting a lot of access authentication resources and causing some users to erroneously complaint;
2)对最终用户来说,很容易引起错觉,以为网络故障或本机故障;同时也大大的增加了用户接入网络的认证时间,认证的时间为原认证时长加上timeout时间,给用户的服务体验比较差,极大的影响了网络运营商的服务质量。2) For end users, it is easy to cause illusions, thinking that the network is faulty or the local machine is faulty; at the same time, it also greatly increases the authentication time for users to access the network. The authentication time is the original authentication duration plus timeout time, and the user The service experience is relatively poor, which greatly affects the service quality of network operators.
由此可见,对于异常掉电的主机,在PPP连接拆除的各种原因中:载波丢失、认证失败、链路质量差、空闲计时器时间到、管理性强制拆除等,只有空闲计时器时间到(timeout后)和管理性强制拆除这两种情况,才能拆除该PPP连接,而在该PPP会话连接没拆除之前的所有PPPoE拨号请求将被拒绝,因此导致了前面所述的两个问题的出现。It can be seen that, for a host that is abnormally powered off, among the various reasons for PPP connection teardown: carrier loss, authentication failure, poor link quality, idle timer timeout, administrative forced teardown, etc., only the idle timer timeout (after timeout) and administrative forced dismantling, the PPP connection can only be dismantled, and all PPPoE dial-up requests before the PPP session connection is dismantled will be rejected, thus leading to the emergence of the two problems mentioned above .
发明内容 Contents of the invention
为了解决这些问题,由于timeout时间不能太短,一般为150秒,因此只有从管理性强制拆除这个途径去想办法。事实上,当一个PPPoE会话建立起来以后或在会话保持时间内,主机或者接入服务器在任何时刻发送一个PADT包即可以拆除该PPP连接。当主机再发起一个PPPoE会话连接的时候,接入服务器才有可能允许该主机接入网络。In order to solve these problems, since the timeout time cannot be too short, generally 150 seconds, the only way to find a way is to remove it administratively. In fact, when a PPPoE session is established or within the session hold time, the host or access server can tear down the PPP connection by sending a PADT packet at any time. When the host initiates a PPPoE session connection again, the access server may allow the host to access the network.
本发明的目的就是提出一种主机在异常状态下的PPPoE认证方法。The purpose of the invention is to propose a PPPoE authentication method for a host in an abnormal state.
为了实现上述发明目的,本发明所述PPPoE认证方法采用的技术方案如下:In order to realize the above-mentioned purpose of the invention, the technical scheme that the PPPoE authentication method of the present invention adopts is as follows:
一种改进的PPPoE认证方法,在主机上配置存储部件,保存当前PPPoE拨号连接的PPPoE会话信息;当主机发起一次PPPoE连接后并成功地接入网络后,则该PPPoE连接的PPPoE会话信息将被保存在主机的存储部件上;当主机在异常状态下,需要重新发起PPPoE拨号时,主机将在发起PPPoE拨号请求包PADI之前,先发送一个PPPoE拆线包PADT,该数据包携带了前次的PPPoE会话信息,并将原来的PPPoE会话连接拆除。An improved PPPoE authentication method, configuring storage components on the host to save the PPPoE session information of the current PPPoE dial-up connection; when the host initiates a PPPoE connection and successfully accesses the network, the PPPoE session information of the PPPoE connection will be It is saved on the storage unit of the host; when the host needs to re-initiate PPPoE dial-up in an abnormal state, the host will send a PPPoE disconnection packet PADT before initiating the PPPoE dial-up request packet PADI. PPPoE session information, and disconnect the original PPPoE session connection.
上述存储部件为非易失性存储器。The above-mentioned storage unit is a non-volatile memory.
上述PPPoE认证方法包括以下具体步骤:The above-mentioned PPPoE authentication method includes the following specific steps:
(1)主机发起PPPoE拨号请求;(1) The host initiates a PPPoE dial-up request;
(2)主机发送PPPoE拆线包PADT,该PADT包携带了保存在主机存储部件中的前次PPPoE会话信息,该数据包将前次PPPoE拨号的连接拆除;如果前次的PPPoE会话已拆除,则接入服务器忽略该PADT包;(2) The host sends the PPPoE disconnection packet PADT, which carries the previous PPPoE session information stored in the host storage unit, and this data packet will remove the previous PPPoE dial-up connection; if the previous PPPoE session has been removed, Then the access server ignores the PADT packet;
(3)主机发送初始化广播包PADI,寻找接入服务器及需要的服务;(3) The host sends the initialization broadcast packet PADI, looking for the access server and the required services;
(4)一个或多个接入服务器发送应答包PADO,告知主机本接入服务器可以提供该服务及其可选的服务;如果接入服务器不能提供服务,则不做应答;(4) One or more access servers send a response packet PADO to inform the host that the access server can provide the service and its optional services; if the access server cannot provide the service, no response is made;
(5)主机发送会话请求的单播包PADR:主机检查其收到的所有PADO包,如果某个PADO包满足该主机的需求,则向对应的接入服务器发送PADR包,确认与该接入服务器的连接请求;(5) The host sends the unicast packet PADR of the session request: the host checks all the PADO packets it receives, and if a PADO packet meets the requirements of the host, it sends a PADR packet to the corresponding access server to confirm that it is compatible with the access server. server connection request;
(6)接入服务器发送会话确认包PADS:当接入服务器收到主机发送的PADR包后,生成一个唯一的SESSION_ID并发送给对端的主机,以示确认建立会话;(6) The access server sends the session confirmation packet PADS: After the access server receives the PADR packet sent by the host, it generates a unique SESSION_ID and sends it to the host at the opposite end to confirm the establishment of the session;
(7)主机保存该PPPoE连接的会话信息,包括PPPoE SESSION_ID和对端的以太网的MAC地址;(7) The host saves the session information of the PPPoE connection, including the MAC address of the PPPoE SESSION_ID and the Ethernet at the opposite end;
(8)进入PPP会话阶段,当该会话结束后,主机发送PPPoE拆线包PADT,清除相应的PPPoE会话信息,完成PPPoE会话。(8) Enter the PPP session stage, when the session ends, the host sends the PPPoE disconnection packet PADT, clears the corresponding PPPoE session information, and completes the PPPoE session.
上述PPP会话阶段进一步包括以下具体步骤:The above-mentioned PPP session stage further includes the following specific steps:
(8.1)PPP LCP链路配置协商,参与PPP会话的主机与接入服务器交换配置数据包,当双方的配置数据交换过程完成后,链路即被建立;(8.1) PPP LCP link configuration negotiation, the host participating in the PPP session exchanges configuration data packets with the access server, and when the configuration data exchange process of both parties is completed, the link is established;
(8.2)PPP PAP或CHAP身份验证;(8.2) PPP PAP or CHAP authentication;
(8.3)PPP NCP配置的请求与确认,完成关于网络层协议的选择与配置,不同网络层协议需要不同的配置;(8.3) Request and confirmation of PPP NCP configuration, complete the selection and configuration of network layer protocols, different network layer protocols require different configurations;
(8.4)客户业务数据传送过程;(8.4) Customer business data transmission process;
(8.5)主机发送PPP LCP链路拆除请求包,请求拆除PPP链路;(8.5) The host sends a PPP LCP link teardown request packet, requesting teardown of the PPP link;
(8.6)接入服务器发送PPP LCP链路拆除确认包,以示确认拆除该链路;(8.6) The access server sends a PPP LCP link removal confirmation packet to confirm the removal of the link;
(8.7)主机发送PPPoE拆线包PADT,清除相应的PPPoE会话信息,完成PPPoE会话。(8.7) The host sends the PPPoE disconnection packet PADT, clears the corresponding PPPoE session information, and completes the PPPoE session.
上述PPPoE会话信息包括PPPoE会话标识符SESSION_ID和对端的以太网MAC地址信息。The above PPPoE session information includes the PPPoE session identifier SESSION_ID and the Ethernet MAC address information of the opposite end.
本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:
通过上述PPPoE认证方法,实现了主机在异常状态下(主机在异常掉电(或强制关机)、主机无响应、主机与拨号MODEM之间的网线断开等),可快速地接入PPPoE拨号网络(比如通用的ADSL拨号网络),从而极大地改善了用户的使用体验。同时,这种实现也减轻了网络运营商的设备负荷,极大的降低了用户的投诉及运营商的客户服务压力。Through the above PPPoE authentication method, the host can quickly access the PPPoE dial-up network under abnormal conditions (the host is abnormally powered off (or forced to shut down), the host does not respond, the network cable between the host and the dial-up MODEM is disconnected, etc.) (such as the common ADSL dial-up network), thus greatly improving the user experience. At the same time, this implementation also reduces the equipment load of network operators, greatly reducing user complaints and operator customer service pressure.
1)实现简单,只需利用存储部件保存SESSION_ID和MAC地址信息,同时增加一个发送PADT包的步骤。1) The implementation is simple, only need to use the storage component to save the SESSION_ID and MAC address information, and add a step of sending the PADT packet at the same time.
2)现有的局端设备无需任何的调整,异常状态与正常状态下的PPPoE拨号过程给用户的使用体验没有明显区别。2) The existing central office equipment does not need any adjustment, and there is no obvious difference between the user experience of the PPPoE dial-up process in the abnormal state and the normal state.
3)在异常状态下,用户可以体验到快速的拨号联网服务,无需过长的Timeout等待时间。3) In an abnormal state, the user can experience fast dial-up networking services without a long Timeout waiting time.
4)本办法的实现方案,成本低廉,可广泛推广使用。4) The implementation scheme of this method has low cost and can be widely promoted and used.
附图说明 Description of drawings
图1为现有技术中关于PPPoE拨号接入网络的流程图;Fig. 1 is the flow chart about PPPoE dial-up access network in the prior art;
图2为本发明所述的PPPoE认证方法流程图。Fig. 2 is a flow chart of the PPPoE authentication method of the present invention.
具体实施方式 Detailed ways
下面结合实施例及附图对本发明作进一步详细说明,但本发明的实施方式并不局限于此。The present invention will be described in further detail below in conjunction with the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.
本发明提出了一种在异常状态下(例如:主机在异常掉电(或强制关机)、主机无响应、主机与拨号MODEM之间的网线断开等)的PPPoE认证的改进方法,在主机上配置非易失性存储部件(如EPROM等电介质,磁性媒质等),保存当前PPPoE拨号连接的PPPoE会话信息(包括SESSION_ID和对端的以太网MAC地址)。当主机发起一次PPPoE连接后并成功地接入网络后,则该PPPoE连接的PPPoE SESSION_ID和对端的以太网MAC地址将被保存在主机的存储部件上,该部件在掉电的情况下,仍可以保存上述数据。当主机异常掉电,并随即被立刻加电启动时,或在其它异常状态下,主机需要重新发起PPPoE拨号时,主机在发起PPPoE拨号请求包PADI之前,先发送一个PPPoE拆线包PADT。该数据包携带了前一次PPPoE会话的信息(PPPoE SESSION_ID和对端的以太网MAC地址),通过该PADT包把原来的PPPoE会话连接拆除,接入服务器即可以接受该主机新的PPPoE会话请求,并继续接下来的会话与数据传输过程。The present invention proposes an improved method for PPPoE authentication under abnormal conditions (for example: the host is abnormally powered off (or forced to shut down), the host has no response, the network cable between the host and the dial-up MODEM is disconnected, etc.). Configure non-volatile storage components (such as EPROM and other dielectric media, magnetic media, etc.), and save the PPPoE session information (including SESSION_ID and the Ethernet MAC address of the opposite end) of the current PPPoE dial-up connection. When the host initiates a PPPoE connection and successfully accesses the network, the PPPoE SESSION_ID of the PPPoE connection and the Ethernet MAC address of the opposite end will be saved on the storage unit of the host, and the unit can still Save the above data. When the host is abnormally powered off and then powered on immediately, or under other abnormal conditions, when the host needs to re-initiate PPPoE dial-up, the host sends a PPPoE disconnection packet PADT before sending the PPPoE dial-up request packet PADI. This data packet carries the information of the previous PPPoE session (PPPoE SESSION_ID and the Ethernet MAC address of the opposite end), and the original PPPoE session connection is removed through the PADT packet, and the access server can accept the new PPPoE session request of the host, and Continue with the next session and data transfer process.
如图2所示,本发明所述的PPPoE认证方法通过以下具体步骤实现:As shown in Figure 2, the PPPoE authentication method of the present invention is realized through the following specific steps:
1)主机发起PPPoE拨号请求;1) The host initiates a PPPoE dial-up request;
2)主机发送PPPoE拆线包(PADT),该PADT包携带了保存在主机存储部件中的前一次PPPoE会话信息,包括PPPoE SESSION_ID和对端的以太网MAC地址等信息,该数据包将把前次PPPoE拨号的连接拆除;如果前次PPPoE会话已拆除,则接入服务器忽略该PADT包;2) The host sends a PPPoE disconnection packet (PADT), which carries the previous PPPoE session information stored in the host storage unit, including information such as PPPoE SESSION_ID and the Ethernet MAC address of the opposite end. PPPoE dial-up connection disconnection; if the previous PPPoE session has been disconnected, the access server ignores the PADT packet;
3)主机发送初始化广播包(PADI),寻找接入服务器(PPPoE认证后台系统)及其需要的服务;3) The host sends the initialization broadcast packet (PADI) to find the access server (PPPoE authentication background system) and its required services;
4)一个或多个接入服务器(PPPoE认证后台系统)发送应答包(PADO),告知主机本接入服务器可以提供该服务及其它可选的服务;如果接入服务器不能提供服务,则不做应答;4) One or more access servers (PPPoE authentication background system) send a response packet (PADO) to inform the host that the access server can provide this service and other optional services; if the access server cannot provide the service, it will not do so answer;
5)主机发送会话请求的单播包(PADR):主机检查其收到的所有PADO包,如果某个PADO包满足该主机的需求,则向对应的接入服务器发送PADR包,确认与该接入服务器的连接请求;5) The host sends the unicast packet (PADR) of the session request: the host checks all the PADO packets it receives, and if a PADO packet meets the requirements of the host, it sends a PADR packet to the corresponding access server to confirm that it is compatible with the access server. Incoming server connection request;
6)接入服务器发送会话确认包(PADS):当接入服务器收到PADR包后,生成一个唯一的SESSION_ID并发送给对端的主机,以示确认建立会话;至此,主机与接入服务器两端的连接被唯一地定义;6) The access server sends a session confirmation packet (PADS): when the access server receives the PADR packet, it generates a unique SESSION_ID and sends it to the host at the opposite end to confirm the establishment of the session; so far, the host and the access server both ends connections are uniquely defined;
7)主机保存该PPPoE连接的会话信息,包括PPPoE SESSION_ID和对端的以太网MAC地址;7) The host saves the session information of the PPPoE connection, including PPPoE SESSION_ID and the Ethernet MAC address of the opposite end;
8)PPP LCP链路配置协商,参与PPP会话的两端(主机与接入服务器)交换配置数据包,当双方承认了他们协商的配置后,这样的配置数据交换过程即告完成,此时链路即被建立;8) PPP LCP link configuration negotiation, the two ends (host and access server) participating in the PPP session exchange configuration data packets. the road is established;
9)PPP PAP(或CHAP)身份认证,缺省情况下,不需要该步的身份认证;如需进行身份认证,则需在上述第(8)步的链路建立起来后立即进行,认证的协议(PAP或CHAP或其它认证协议)需在第(8)步的链路建立阶段由双方协商确定;9) PPP PAP (or CHAP) identity authentication, by default, the identity authentication of this step is not required; if identity authentication is required, it must be carried out immediately after the link in the above step (8) is established. The protocol (PAP or CHAP or other authentication protocol) needs to be negotiated and determined by both parties in the link establishment phase of step (8);
10)PPP NCP配置的请求与确认,完成关于网络层协议(如IP/IPX/AppleTalk等)的选择与配置,不同网络层协议需不同的配置;如果选择了IP协议,则对应的NCP协议称之为“PPP IPCP”;10) Request and confirmation of PPP NCP configuration, complete the selection and configuration of network layer protocols (such as IP/IPX/AppleTalk, etc.), different network layer protocols require different configurations; if the IP protocol is selected, the corresponding NCP protocol is called "PPP IPCP";
11)客户业务数据传送,经过前面的各个步骤,至此,可以进行相应的业务数据传输了;11) Customer business data transmission, through the previous steps, so far, the corresponding business data transmission can be carried out;
12)主机发送PPP LCP链路拆除请求包,请求拆除PPP链路;12) The host sends a PPP LCP link teardown request packet, requesting teardown of the PPP link;
13)接入服务器发送PPP LCP链路拆除确认包,以示确认拆除该链路;13) The access server sends a PPP LCP link removal confirmation packet to confirm the removal of the link;
14)主机发送PPPoE拆线包PADT,接入服务器清除相应的PPPoE会话信息,完成PPPoE会话。14) The host sends the PPPoE disconnection packet PADT, and the access server clears the corresponding PPPoE session information to complete the PPPoE session.
在上述各步骤中,步骤1~5为发现阶段(Discovery stage),后续的步骤6~14为PPP会话阶段(PPP Session stage)。与图1所示现有的PPPoE认证方法相比,本发明在主机重新发起PPPoE拨号之后,发起PPPoE拨号请求包PADI之前,增加了一道步骤——由主机向接入服务器发送一个PPPoE拆线包PADT,强制拆除原先建立的PPPoE会话连接;然后重新发送请求建立新的PPPoE会话连接,这样主机就无需等待timeout时间,即可迅速地接入PPPoE拨号网络,从而极大地改善了用户的使用体验。同时,该方法也减轻了网络运营商的设备负荷,极大的降低了用户的投诉及运营商的客户服务压力。In the above steps,
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006101222832A CN100563257C (en) | 2006-09-21 | 2006-09-21 | An Improved PPPoE Authentication Method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006101222832A CN100563257C (en) | 2006-09-21 | 2006-09-21 | An Improved PPPoE Authentication Method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1925489A CN1925489A (en) | 2007-03-07 |
| CN100563257C true CN100563257C (en) | 2009-11-25 |
Family
ID=37817955
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2006101222832A Expired - Fee Related CN100563257C (en) | 2006-09-21 | 2006-09-21 | An Improved PPPoE Authentication Method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100563257C (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101547158B (en) * | 2009-05-13 | 2013-04-10 | 杭州华三通信技术有限公司 | PADT message interaction method and device in PPPoE session |
| CN103209359A (en) * | 2012-01-16 | 2013-07-17 | 深圳长城开发科技股份有限公司 | Handling method for PPPOE (point-to-point protocol over Ethernet) access network anomaly of IP (Internet protocol) set top box |
| CN105429832A (en) * | 2015-11-09 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Dialing method and system based on PPPOE network, and router |
| CN109660424B (en) * | 2018-12-13 | 2020-07-24 | 四川天邑康和通信股份有限公司 | Method for solving PPPOE dialing failure of IPTV set-top box |
| CN111064642B (en) * | 2019-12-25 | 2021-12-03 | 深圳市网心科技有限公司 | Dialing networking method and related equipment thereof |
| CN111585852B (en) * | 2020-04-17 | 2021-05-18 | 武汉思普崚技术有限公司 | Double-stack dialing method, equipment and storage medium |
| CN112492089B (en) * | 2020-11-09 | 2022-05-24 | 普联技术有限公司 | Dialing method and system of communication equipment and communication equipment |
-
2006
- 2006-09-21 CN CNB2006101222832A patent/CN100563257C/en not_active Expired - Fee Related
Non-Patent Citations (2)
| Title |
|---|
| 宽带接入的认证管理方式分析. 黄文胜.现代通信,第7期. 2005 * |
| 高速网络用户接入认证技术研究. 董寅.交通与计算机,第23卷第5期. 2005 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1925489A (en) | 2007-03-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8488591B2 (en) | Method and system for video telephone communications set up, related equipment and computer program product | |
| WO2008106881A1 (en) | A ppp access method, corresponding system and access node device | |
| CN106452917B (en) | PPPOE internet account and password method of automatic configuration and system | |
| JP2003060675A (en) | Communication method, communication system, user terminal device, and communication connection program | |
| WO2008048937A2 (en) | Network connection fast recovery | |
| CN108307694B (en) | A kind of network connection information acquisition method and router | |
| CN100561969C (en) | A Broadband Access Method Based on PPPoE | |
| EP2525531B1 (en) | Method and network access device for enabling data forwarding between different physical media | |
| CN100563257C (en) | An Improved PPPoE Authentication Method | |
| WO2017080335A1 (en) | Pppoe network-based dialing method, dialing system, and router | |
| WO2008037212A1 (en) | An access terminal and a method for the terminal binding to the operator | |
| WO2007000120A1 (en) | An authentication access system, method and server | |
| CN101197837A (en) | Method and system for negotiating authentication mode of Ethernet point-to-point protocol | |
| WO2007107076A1 (en) | A broadband user access method and device | |
| US20050021760A1 (en) | PPPoE network system and reconnection method thereof | |
| EP2073432B1 (en) | Method for binding an access terminal to an operator and corresponding access terminal | |
| CN1270532C (en) | Method for supporting asymmetrie digital subscriber line access in embedded operating system | |
| CN100488148C (en) | Method for realizing interface backup for Ethernet-based point-to-point protocol conversation | |
| JP2001197082A (en) | Multi-channel communication control system and method | |
| WO2012051909A1 (en) | Method and device for obtaining ipv6 interface identifier | |
| CN100473038C (en) | Method for Supporting Multiple Ethernet Point-to-Point Protocol Sessions on the Same Ethernet Interface | |
| WO2016082454A1 (en) | Renegotiation processing method and device | |
| WO2009024064A1 (en) | Method of client accessing to third-party server, device and its system using the same | |
| US7817638B2 (en) | Method for promptly redialing a broadband access server | |
| JP2010514290A (en) | Network device and method for translating media access control address |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091125 Termination date: 20120921 |