pptp acct Input and output gigawords support

View: New views
4 Messages — Rating Filter:   Alert me  

pptp acct Input and output gigawords support

by Eric-304 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
Can pptp support acct input and output gigawords attribute?
These attributes are sent from NAS to radius accounting server.

------------------------------------------------------------------------------

_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: pptp acct Input and output gigawords support

by Eric-304 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Michael,
The related link or document?I couldn't find any reply in search.
Another question:
I want vpn server disconnect users when their input traffic reached to a limit that is determined in radius server.
Can poptop do it?

On Mon, Jun 29, 2009 at 11:17 AM, Michael Da Silva Pereira <michael.dasilvapereira@...> wrote:
Hi Eric,

It would be better to ask this question on the PPP mailing list, the radius plugin is not directly tied to poptop, it's a PPP plugin.
Perhaps some development could be done regarding this, if I get a chance I'll have a look at the radius plugin myself and look at implementing a patch when I get a chance.

If I do so I'll post the patch, online.

Thanks,
Michael

2009/6/29 Eric <bbahar3@...>
Hi all,
Can pptp support acct input and output gigawords attribute?
These attributes are sent from NAS to radius accounting server.

------------------------------------------------------------------------------

_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server




--

Regards,
Michael da Silva Pereira
Mobile: +27 84 245 2376
Office: +27 11 251 2036


------------------------------------------------------------------------------

_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: pptp acct Input and output gigawords support

by Eric-304 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Can poptop support Session-Octets-Limit and Octets-Direction ? can it disconnect online users that reach to their limit if I add this attributes to dictionary ?


ed, Jul 1, 2009 at 1:18 AM, Michael Da Silva Pereira <michael.dasilvapereira@...> wrote:
Hi,

This can be done using attributes send to the radius client from your radius server:

# Limit session traffic
ATTRIBUTE           227     integer

# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
ATTRIBUTE       Octets-Direction        228     integer

I Don't think the radius plugin handles gigawords as of yet, perhaps a patch has been created by someone by now.
The problem is actually not PPPd it's actually the kernel with the 32bit integer for bytes used on a interface, this is were PPPd gets these values from.
So I was thinking of implementing a patch to do a count for wrap @ 4.2 Gigs and then send a gigawords, with the true amount of bytes (bytes + (4.2G * wraps counted)).

Thanks,
Michael

2009/6/30 Eric <bbahar3@...>

Thanks Michael,
The related link or document?I couldn't find any reply in search.
Another question:
I want vpn server disconnect users when their input traffic reached to a limit that is determined in radius server.
Can poptop do it?


On Mon, Jun 29, 2009 at 11:17 AM, Michael Da Silva Pereira <michael.dasilvapereira@...> wrote:
Hi Eric,

It would be better to ask this question on the PPP mailing list, the radius plugin is not directly tied to poptop, it's a PPP plugin.
Perhaps some development could be done regarding this, if I get a chance I'll have a look at the radius plugin myself and look at implementing a patch when I get a chance.

If I do so I'll post the patch, online.

Thanks,
Michael

2009/6/29 Eric <bbahar3@...>
Hi all,
Can pptp support acct input and output gigawords attribute?
These attributes are sent from NAS to radius accounting server.

------------------------------------------------------------------------------

_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server




--

Regards,
Michael da Silva Pereira
Mobile: +27 84 245 2376
Office: +27 11 251 2036




--

Regards,
Michael da Silva Pereira
Mobile: +27 84 245 2376
Office: +27 11 251 2036



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: pptp acct Input and output gigawords support

by James Cameron-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 07, 2009 at 09:20:57AM +0430, Eric wrote:
> Can poptop support Session-Octets-Limit and Octets-Direction ? can it
> disconnect online users that reach to their limit if I add this
> attributes to dictionary ?

This has nothing to do with pptpd.  You should find out if pppd will do
it.

--
James Cameron    mailto:quozl@...     http://quozl.netrek.org/

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server