Re: java script auto refresh
"Paul Robert Marino" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
I agree that having an option in the config file would be good idea. I wrote this patch because my operations staff was complaining that it was impractical to have some one sit in front of the web browser pointed at prewikka and clicking a button every so often to get updates. For the most part they just want to be able to glance at it every so often and see whats happened in the last 5 minutes while they are doing other things. On 6/29/07, Gene Ramon Gomez <[email protected]> wrote: > > The second item below would actually be detrimental for large-scale SOCs > (which are present in every enterprise datacenter I know of). Usually > what you see in those types of environments is a screen that sits > somewhere and just queues events 24x7. Making the user log in every so > often isn't really a good idea because there's technically no > "user"...it's a room full of operations people watching it, and no one > is really at the keyboard. > I would suggest that, if this is implemented, it be optional. > > - Ramon > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Paul Robert > Marino > Sent: Thursday, June 28, 2007 7:54 PM > To: [email protected] > Subject: [prelude-devel] java script auto refresh > > I started to upload patches to implement a java script auto apply for > ticket # 231 there are two more patches that need to be uploaded however > i got a message about too many posts from ip addresses in the last hour > so i will try to upload the last two latter > > > I changed my idea a little to a auto apply because of several issues due > to some differences between how java script handle refreshes of a page > which was posted. I found the refresh had different results on different > browsers so instead I added an auto submit apply. i also added a field > on in the menu on the left side which specifies how often to apply, I > named it "Auto Update Time" in the menu. the new field takes seconds > however it can also take 1:10 for one minute and ten seconds or 1:20:10 > for one hour twenty minutes and ten seconds, and 0 disables the timer. > there are still two more things to be done these are nice to haves but > it is fully functional and very useful as it is now > > 1) a check box should to enable/disable the timer if some one could do > the python coding i already have the java script code to make it work i > just had some trouble figuring out how to make the check box work > correctly in the form. it does not have to have any meaning to the > python its self i just had trouble getting the check box to keep state > after an apply. my patches should point out where this code change would > have to happen. > > 2) stop auto apply from updating the session expiration time i still > haven,t added a method to stop it from updating the session timeout so > if it is enabled the session will never time out this is actually a > good thing it the console is being used by a 24x7 operations staff > working out of a secure operations center however it is not necessarily > ideal for a non secure desktop environment so while this is not a show > stopper in my opinion it is some thing that should be changed in the > future. this will also require an additional hidden field to be added to > to the form as with the first one if some one would write the python > code i can quickly add the java script to use the field > > these changes shouldn't take to long it just I have several other > projects to work on and I have already expended the time my employer > will allow me to spend on it right now. most of the work has already > been done its just the last two minor details that have to be finished. > _______________________________________________ > Prelude-devel site list > [email protected] > http://www.prelude-ids.org/mailman/listinfo/prelude-devel > _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel