Re: weird ipf/modinfo interaction on Solaris

This is a discussion on Re: weird ipf/modinfo interaction on Solaris within the IPFilter forums, part of the System Security and Security Related category; In some email I received from Casper.Dik@Sun.COM, sie wrote: > > Well, I just witnessed the exact ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-04-2004
Darren Reed
 
Posts: n/a
Default Re: weird ipf/modinfo interaction on Solaris

In some email I received from Casper.Dik@Sun.COM, sie wrote:
>
> Well, I just witnessed the exact same happening when logged in to home.
>
> I suppose it has something to do with:
>
> int _info(modinfop)
> struct modinfo *modinfop;
> {
> int ipfinst;
>
> ipfinst = mod_info(&modlink1, modinfop);
> #ifdef IPFDEBUG
> if (ipf_debug)
> cmn_err(CE_NOTE, "IP Filter: _info(%x) = %x",
> modinfop, ipfinst);
> #endif
> if (fr_running > 0)
> ipfsync();
> return ipfinst;
> }
>
>
> Darren can possibly comment on what the code does and what may cause the
> state information to be lost?


I believe this is a hangover from very early on and can probably
disappear now. What it is trying to do is use the kernel walking
through all of the modules as an indication that a device has
appeared or disappeared.

If I look at the current IPFilter code, the two lines:

if (fr_running > 0)
ipfsync();

are no longer present.

Are you seeing this with 3.4 or 4.1 ?

Darren
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0