Session Timeout issue in pppoed
bikrant_ml at wlink.com.np
Thu Mar 10 20:28:46 PST 2005
There was a bug in our radius code :D
On Wednesday 09 March 2005 11:36, fooler wrote:
> ----- Original Message -----
> From: "Bikrant Neupane" <bikrant_ml at wlink.com.np>
> To: <freebsd-isp at freebsd.org>
> Cc: <freebsd-net at freebsd.org>
> Sent: Tuesday, March 08, 2005 11:01 PM
> Subject: Session Timeout issue in pppoed
> > Hi,
> > I have a pppoe server on FreeBSD 4.10.
> > I have configured my Radius Server ( radiator) to set Session-Timeout
> > parameter so that the clients who are using prepaid hour based service
> > get disconnected when their time is over. In the ppp.log file I see the
> > the Sessio-Timeout being accepted by the server. In the mean time the
> > same connection has another Session-Timeout parameter set whose value is
> > 0!! As
> > result the clients do not get dsconnected at the specified time.
> > I guess this is configuration issue/problem with ppp rather than pppoed.
> > this is a portion of my ppp.log file.
> > ppp: Phase: PPP Started (direct mode).
> > ppp: Phase: bundle: Establish
> > ppp: Phase: deflink: closed -> opening
> > ppp: Phase: deflink: Link is a netgraph node
> > ppp: Phase: deflink: Connected!
> > ppp: Phase: deflink: opening -> carrier
> > ppp: Phase: deflink: carrier -> lcp
> > ppp: Phase: bundle: Authenticate
> > ppp: Phase: deflink: his = none, mine = PAP
> > ppp: Phase: Pap Input: REQUEST (gomez5)
> > ppp: Phase: Radius: Request sent
> > ppp: Phase: Radius(auth): ACCEPT received
> > ppp: Phase: MTU 768
> > ppp: Phase: VJ enabled
> > ppp: Phase: Session-Timeout 29218 <<<<<
> > ppp: Phase: Session-Timeout 0 <<<<<
> > ppp: Phase: Pap Output: SUCCESS
> > ppp: Phase: deflink: lcp -> open
> > ppp: Phase: bundle: Network
> > ppp: Phase: Radius(acct): Accounting response received
> > Here is my ppp.conf file
> > default:
> > allow users
> > enable pap
> > allow mode direct
> > set mru 1492
> > set mtu 1492
> > set speed sync
> > set timeout 172800 #2 days: 48hrs
> > enable lqr
> > set ifaddr 202.79.xx.xx 202.79.xx.xx-202.79.xx.xx
> > load server
> > set radius /etc/radius.conf
> > accept dns
> > Any idea why this is happening?? Please suggest.
> pppoed is just a daemon processing the pppoe frames while (user) ppp is the
> one handling the session-timeout radius attribute once configured to use
> the radius service... the way i look at it, your radius server (radiator)
> is sending two session-timeout attributes which the user ppp accepted the
> two attributes and set the last value which is 0 (unlimited time)... try a
> tcpdump or your radiator utility if indeed your radius server is sending
> two session-timeout attributes...
> freebsd-net at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net