netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pppoe, /proc/net/pppoe wrong (extra entries)
@ 2008-01-29 14:36 Denys Fedoryshchenko
  0 siblings, 0 replies; only message in thread
From: Denys Fedoryshchenko @ 2008-01-29 14:36 UTC (permalink / raw)
  To: netdev; +Cc: paulus, mostrows

Hi again

I notice strange thing, with /proc/net/pppoe, not sure if it is bug, but for 
me it looks wrong.

cat /proc/net/pppoe
there is normal entries of users, but at the end i have 
....
00000D00 00:16:D3:0B:F9:34     eth1
00004000 00:50:22:00:1C:FC     eth1
00007E00 00:03:47:BD:34:25     eth1
00007E00 00:03:47:BD:34:25     eth1
00007E00 00:03:47:BD:34:25     eth1
00007E00 00:03:47:BD:34:25     eth1
00007E00 00:03:47:BD:34:25     eth1
....
and last entry duplicates till end.

i have script to get customers interfaces, so i am using it to calculate 
amount of users logged in

defaulthost ~ #cat /proc/net/pppoe |grep -i '00:03:47:BD:34:25'|wc -l
40
defaulthost ~ #cat /proc/net/pppoe |wc -l
113
defaulthost ~ #pppctrl |wc -l
73

It means there is 40 extra entries. 00:03:47:BD:34:25 host have established, 
but only one session. I am seeing similar issue on all remaining pppoe 
servers, extra entries with same mac at the end.

If you need more info or access, please let me know.

--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-29 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 14:36 pppoe, /proc/net/pppoe wrong (extra entries) Denys Fedoryshchenko

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).