Skip to contentSkip to conversation

iptables counters and proc

DISCUSSION Narendra Prabhu B 1 participant 1 message Sep 28, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

hi

pls excuse me know if this idea is silly ......

i am working on iptables library "libiptc" .. to count the number bytes crossing a chain ... i am targeting the program for ISPs .... could be used to draw customized graphs..... i am using libiptc for counting
but how do i write the data in the proc filesystem .. i thought it was more modular to write the data in the proc filesystem. But i have not done any kernel programming before .. can anyone tell me how to go about pls send the urls of the docs i am suppose to read to do the above ..

bye
narendra

------
In the middle of difficulty..... lies Opportunity. (Albert Einstein)
-------------------------------------------------------------------
Narendra Prabhu. B Free Software at its product-ive best.
DeepRoot Linux http://www.deeproot.co.in

		---- Server Appliances ----
	  ---- Linux Support and Services ----

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