linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Plugin Development getting peer ip.
@ 2014-03-17 15:41 Greg
  2014-03-17 16:12 ` Charlie Brady
  2014-03-17 16:19 ` walter harms
  0 siblings, 2 replies; 3+ messages in thread
From: Greg @ 2014-03-17 15:41 UTC (permalink / raw)
  To: linux-ppp

Hey guys,

I was wondering if anyone could tell me how to get the ip address from 
the client when using ip_up notifier?

Also, with the ip_down notifier.

I'm attempting to track the bandwidth usage and connection via the above 
notifiers.  Any help would be greatly appreciated.

-- 
Thank you,
Greg Borbonus
*Nix Server administrator


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Plugin Development getting peer ip.
  2014-03-17 15:41 Plugin Development getting peer ip Greg
@ 2014-03-17 16:12 ` Charlie Brady
  2014-03-17 16:19 ` walter harms
  1 sibling, 0 replies; 3+ messages in thread
From: Charlie Brady @ 2014-03-17 16:12 UTC (permalink / raw)
  To: linux-ppp


On Mon, 17 Mar 2014, Greg wrote:

> Hey guys,
> 
> I was wondering if anyone could tell me how to get the ip address from the
> client when using ip_up notifier?

You need to read the pppd dopcumentation. Look at '/etc/ppp/ip-up' in 'man 
pppd'.

> 
> Also, with the ip_down notifier.
> 
> I'm attempting to track the bandwidth usage and connection via the above
> notifiers.  Any help would be greatly appreciated.
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Plugin Development getting peer ip.
  2014-03-17 15:41 Plugin Development getting peer ip Greg
  2014-03-17 16:12 ` Charlie Brady
@ 2014-03-17 16:19 ` walter harms
  1 sibling, 0 replies; 3+ messages in thread
From: walter harms @ 2014-03-17 16:19 UTC (permalink / raw)
  To: linux-ppp

hi Greg,
according to the man page you can have up to 6 arguments:
  interface-name   tty-device   speed  local-IP-address   remote-IP-address ipparam

I guess you are searching for remote-IP-address.

re,
 wh


Am 17.03.2014 16:41, schrieb Greg:
> Hey guys,
> 
> I was wondering if anyone could tell me how to get the ip address from
> the client when using ip_up notifier?
> 
> Also, with the ip_down notifier.
> 
> I'm attempting to track the bandwidth usage and connection via the above
> notifiers.  Any help would be greatly appreciated.
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-17 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-17 15:41 Plugin Development getting peer ip Greg
2014-03-17 16:12 ` Charlie Brady
2014-03-17 16:19 ` walter harms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).