[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checking the functioning of an ipchains module
- To: Noam Meltzer <tsnoam(at-nospam)zahav.net.il>
- Subject: Re: checking the functioning of an ipchains module
- From: mulix <mulix(at-nospam)actcom.co.il>
- Date: Sun, 2 Dec 2001 01:42:26 +0200 (IST)
- Cc: guy keren <choo(at-nospam)actcom.co.il>, Max Kovgan <smcmaugh(at-nospam)techst02.technion.ac.il>, IGLU <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <1007245574.1223.2.camel@givald>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On 2 Dec 2001, Noam Meltzer wrote:
> 10x to mulix i got the direction I needed. There's a directory
> "/proc/net/ip_masq/" (accurate for ipchains on 2.2.20, i dunno about
> netfilter) which has information about all the modules loaded. Specific
> to the module i was intersted about - ip_masq_icq.o there's a subdir in
> the directory, called "icq" which has much more information.
> What I didn't understand/foundout is if I can change information there
> "live" (like when you do "echo "1" > /proc/sys/net/ipv4/ip_forward").
assumption: this directory is documented.
problem: find the documentation.
solution: check google, and then check the relevant mailing list
archives, in this order.
more plausible assumption: this directory is not documented anywhere.
problem: figure out if you can change values.
solution: use the source, luke. luckily for you, it's a self contained
piece of code (the ip_masq_icq module), so you dont have to grep around
the whole kernel. read it, look for inline comments, look for any
comments dealing with the /proc file system. with a bit of digging and
luck, you'll find out.
--
mulix
http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il