LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables ULOGd timestamping ? (https://www.linuxquestions.org/questions/linux-networking-3/iptables-ulogd-timestamping-338106/)

michaelsanford 06-28-2005 02:55 PM

iptables ULOGd timestamping ?
 
I don't really find oob_time_sec and oob_time_usec very useful for telling me when a packet came in, especailly since not every packet will carry that information. I need to know WHEN packets are being logged...why this isn't in-built I don't know.

I did one of these
ALTER TABLE `ulog` ADD `timestamp` DATETIME DEFAULT 'NOW()' NOT NULL AFTER `raw_mac`;

But of course that doens't work (timestamp is always 0000-00-00 00:00:00).

Any clever ideas ?


All times are GMT -5. The time now is 05:07 AM.