Software :: Pdnsd - Backing Up Of Events Using Host?
Jan 7, 2010
I have a program that is grabbing incoming packets and doing a host name look up on them and then this is allowing me to display that information. I am using host to do this look up. The problem is that there is a significant amount of packets that are coming in and it is backing up because it it taking too long to do the lookups.
I was trying to use pdnsd to see if this would help to speed up the process, but it does not seem to be solving the problem. I was checking to see if there was anything out there that would allow me to accomplish my goal without the back up.
Running Fedora 10 and 11. Using Firestarter firewall.Does anyone know where Firestarter gets the Events which it displays?I do not find anything in /etc/firestarter/.I suspect Firestarter looks in a log file which Fedora keeps somewhere.
I am trying to setup auditing for NISPOM requirements using the built-in linux audit kernel which uses auditd and audit.rules for setup. I have been able to meet all other requirements, but I cannot find a way to audit user logout actions. My audit.rules file is listed below
Code: #This file contains the a sample audit configuration intended to # meet the NISPOM Chapter 8 rules.
am working an a worksheet where I need to lookup id in an other worksheet.The script works as long as I am staying on the same row. When pressing key up or enter the corresponmding lookup information is not placed on the very same row.In short terms, I want the lookup data to be enterd on the same row no matter what key I am pressing.
The script:
Private Sub Worksheet_Change(ByVal Target As Range) Dim cfind As Range On Error Resume Next If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub thisRow = ActiveCell.Row
[code].....
This example is set to Enter key procedure. So when the enter key is pressed, my current row will change by 1 so I have to compensate for that. All I want is that the data will be correctly enterd no matter what key I am pressing.
is there any way to trigger a command or script whenever a certain event happens in a application like firefox.or at least trigger a script on the launching of an application.
I just finished upgrading from 10.04 to 10.10 and converting from F-spot to Shotwell, including adding a large number of new photographs (>15 k).
On opening Shotwell today I found that all "tags" and "events", including those from the F-stop imported photos, have disappeared!! (strangely the photo ratings are maintained)
No amount of searching was able to relocate them. The modification date on the photo.db in the .shotwell folder is pre-problem, so I am holding out some hope that the relevant data have not been over-written.
I am not familiar with sql so do not know how to check the db (or restore the correct headers or whatever else is needed).
I want to separate the Apache2 Error log to log certain events in a specified file. For example: client denied by server configuration > denied.log Directory index forbidden by Options directive > forbidden.log I would like it add it to the logs as the events happen, and like the other logging systems, create new files when the current is full. i.e. denied.log.0
Users will write data on a samba shared folder at any give time. I need to execute a script as soon as some thing is written to that shared folder. What I need to know how to execute a script as soon as something some data is written to that shared folder.
Is there a way of changing the loud thump that announces the gdm login screen in Squeeze to something else? At the moment I cannot see how this can be easily done, other than turn event sounds off, which I don't want to do. Have I missed something? There seems to be very little event sound customisation in Squeeze, compared to Lenny.Also is there a way of getting Squeeze to play a short exit sound on logout or reboot? I know how to turn off the annoying system beep, that is there at the moment.
I use Mythbuntu 9.10 with an IMON PAD IR/VFD. Everything is fine except that two buttons (MyDVD and menu) fire their event twice. In that case, I'm not talking about a normal repetition in case of a long button press but they fire their initial events twice.
Here is what irw shows: 0000000029a3d5b7 00 MyDVD iMON-PAD 0000000029a3d5b7 00 MyDVD iMON-PAD 000000002ba385b7 00 Menu iMON-PAD 000000002ba385b7 00 Menu iMON-PAD
I pressed the buttons only once each - and not long enough for a repetition. For all other buttons it's fine. As far as I understand, using the .lirrc file to cope with repetitions is no valid approach (at least it didn't work for me) because the events are all numbered with "00", and not with "00", "01",... - so .lircrc is out of this, right?
What I need is a database that can show a Timeline and have the basic functions for searching by date and other criteria. Not in a hurry is for a future project. Any clues?
I have a program that receive user input. I want to run this program automatically without user interaction, and in order to do that I need to simulate key events. How can I do such a thing?
The program I am running is partly java and partly shell.
The shell part is easily done by using: ./prog.sh <parameters (Parameters being a file containing parameters) But the java doesn't work similarly.
I want to capture short randomly occurring events such as Sudden Interstellar Disturbances, Lightning, ion counting, etc. To do this I wish to use the LINE-IN port. My sensor would feed a signal of less that 2 volts but could be submitted via a voltage divider. Since the sound card captures 44100 events per second this should capture events I am looking at, I think, but maybe not. I would capture the sound buffer to a string or memory buffer every second (and half second so I can prevent overwriting of its buffer, then merge the two).
Every 60 seconds (for validation) I would run "time" and count full buffer transfers in between to time events. By effectively counting characters from the beginning of the processing buffer to the beginning of the event I could further refine the "time to event". I think I could then save a decent number of values or until no data received from the processing buffer to preserve the event. This I would output with event time (to within 1/44100 sec) along with the data points captured to a file.
Except for the outputting of info to a file I think I can scan a buffer for events within a second (while LINE-IN continues capturing data on that port). I believe I have a way to handle the outputting. I am asking if any of the processing of the previous buffer would interfere with the sound cards data capture on LINE-IN? There would be no disabling of interrupts. I am presuming that system interrupts would not effect the LINE-IN data capture. Is this true?
I have disabled GDM and start GNOME with gnome-session from .xinitrc . Now when i press Sleep button, GNOME says it cannot suspend. The same is with pressing suspend or hibernate buttons on Shutdown window. At the same time "sudo pm-suspend" and "sudo pm-hibernate" DO work. So, i would like to disable GNOME from listening to ACPI events and to configure everything via acpid scripts. I tried to stop acpid to see if GNOME will not receive events in this case, but it still does. So, the question: how can i stop GNOME from listening to ACPI events?
Is it possible to generate keyboard event "Ctrl+c" from a shell script code.? I have written a shell script to compile my application and copy it to the server home directory, inorder to run my application I need to start the server (by running a shell script). But before that I need to stop the the currently running instance of my server. To do that I have to generate a keyboard event (Ctrl+c which I press it manually). I want to automate the entire process by writing a shell script I am able to run the server just by adding ./run.sh in my shell script. But before that to stop my server can I generate a keyboard by using a shell script event(ctrL+C) to stop server.?
I've followed this guide [URL] after rebooting the system hang at: starting ati external events daemon [OK] This line start blinking for a while, then nothing happen. I am using a radeon hd 4225. (I'm booting with acpi=off).
The remote for my Pinnacle PCTV HD 800i is generating key code 116 for the power button on it, and acpid (debian/squeeze 2.0.6-1) merrily accepts this as if I pressed the power button on the case. It raises the same event "button/power PBTN 00000080 00000000" either way, so I can't tweak the handlers to respond to one or the other. And I don't think the source event source is available to the handlers.
acpid doesn't seem configurable at all in terms of ignoring an event source, and I don't know if you can selectively remap keys from a particular event source. Most of what I find are people try to get buttons to work, not disable them. Not that it seems to make any difference, but it's mapped to void in dumpkeys.
Code: keycode 116 = Do altgr control keycode 116 = VoidSymbol shift alt keycode 116 = VoidSymbol
I have it remapped in X for use in mythtv using xmodmap, which works fine. The acpid that came with debian/lenny didn't do this.
After the update on 7/03/10 edge+mouse button combo's don't work anymore, keyboard short cuts for the same function are still working. Example "Scale", keyboard short-cut ctrl-s working, edge+mouse button Right Edge - Right Mouse Button no action. Worked before...
In Fedora 12, I am trying to use a program that uses uinput to inject mouse events to control X applications. This worked with Fedora 9, but doesn't with Fedora 12. I see the following in my Xorg.0.log:
(II) config/hal: Adding input device Prototype IRPointer Device (II) LoadModule: "synaptics" (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so (II) Module synaptics: vendor="X.Org Foundation" compiled for 1.7.1, module version = 1.2.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0
[Code]...
The device is not a synaptics touchpad, and so the X load of the driver is incorrect. But I don't know how to get X to ignore it's own driver and use evdev. (Or even if that's the right thing.) A general explanation of how hal and evdev are related, for the current X server,
I was wondering if there is some way to determine when a file finishes writing to a directory on both Windows and Linux (obviously, they will probably be two different commands). This is mostly so that, instead of constantly polling a directory for new non-temp files, I can set up a program to simply listen for the completion of a write-to-disk (it seems better to do things that way).
Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.
There are more examples of the same,around 20 domain have the same problem.
I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.
this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.
The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.