Date: Tue, 30 Oct 2001 19:00:11 +0100 (MET) From: QUEVEDO BUSTILLOS Jose Federico <quevedo6@cuimail.unige.ch> To: freebsd-net@FreeBSD.ORG Subject: ng_pppoe accounting? Message-ID: <Pine.SOL.3.96.1011030184354.6564B-100000@cuisuna.unige.ch>
next in thread | raw e-mail | index | archive | help
Hi, I'm a newbie in netgraph structures and I will like to ask your advice about some PPPoE related ideas. I'm using a FreeBDS box with PPPoE installed and working as a gateway. My goal is to establish basic administration and accounting for PPPoE users. The basic accounting needs (not commercial goals) are: 1. Keep track of the MAC addresses and users names of the PPPoE connections to the gateway, store time connection of the session and traffic generated. 2. Dynamic assignation of IP address. (I think on two possibilities a) PPPoE assignation: when PADR arrives, the gw should look into a pool of IP adresses and assign one "before calling PPP". B) leave PPP the assignation and capture the IP in other way). Result: A log file produced with a session match of: MAC add - IP add - username - time of session. Should I touch the ng_pppoe code? or should I create a netgraph node to place between ng_node and ng_ppp? Am I on the good way Thanks in advance, Federico Quevedo ................................................................. Federico Quevedo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.1011030184354.6564B-100000>