Date: Mon, 26 Dec 2011 09:34:21 -0500 From: Jason Hellenthal <jhell@DataIX.net> To: Rajneesh Kumar <iwc2010005@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Can we do perform a C style file Read/Write from within a ARP module Message-ID: <20111226143421.GB17435@DataIX.net> In-Reply-To: <CA%2BDF=vy3s1mEGaCoQdZWaws%2BE0=D7JvNO6BRbFeJv6VDxS=JXA@mail.gmail.com> References: <CA%2BDF=vy3s1mEGaCoQdZWaws%2BE0=D7JvNO6BRbFeJv6VDxS=JXA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
See siftr(4). This module writes to a file. On Mon, Dec 26, 2011 at 07:13:46PM +0530, Rajneesh Kumar wrote: > Hello sir/madam, > > I am new to this. Kindly reply. > > I am modifying the native ARP version to thwart any ARP Poisoning attack > against my machine. I need to save some additional data to achieve my idea. > So, My question is, can I do a file read/write operation using C code from > within any ARP function (precisely from in_arpinput() function in > net/if_ether.c) ? > If no, how can I do it? > If yes, at what location my files would reside? Can I access those files > after system reboot? or it will be in some temporary location and flushed > off after every reboot? > Thank You. > > -- > Regards, > Rajneesh > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- ;s =;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111226143421.GB17435>