net/ipv4 sysctl - Programming help request

Greaves Tristan TM (Tristan.Greaves@icl.com)
Fri, 11 Dec 1998 14:08:22 -0000


Hi all,

Okay, I added the icmp_ignore_bogus_error_responses sysctl in
/proc/sys/net/ipv4 recently. That's fine - It's boolean and
simple.

Following Alan Cox's suggestions, I want to add another sysctl which
simply holds the last 3 (or whatever) IPs that have sent such bogus
error responses.

(This is so users can turn off the annoying repeating messages, but still
check which IPs are responsible).

What's the best way of putting this in? Essentially a Read-Only sysctl,
but where should I store the data?

C'mon, I'm sure there are some sysctl gurus out there just salivating at
the chance of helping here. ;)

Tris.

---
Tristan Greaves                        (Systems Integrator) 
Enterprise Solutions                 
ICL                                  Tel: +44 (0)1344 472512 
Lovelace Road                     Mobile: +44 (0)7970 194624 
Bracknell RG12 8SN                  Mail: Tristan.Greaves@icl.com
  

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/