Linux Netfilter discussions
 help / color / mirror / Atom feed
* Localtime problem
@ 2002-09-11 12:22 Roy
  2002-09-13  8:37 ` Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Roy @ 2002-09-11 12:22 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

Dear all,              
               Did anyone try this function well ?
               I put ulogd_LOCALTIME.c into ulogd-x/extensions directory,and replace Rule.make.in in ulogd-xxx/
               It has complied ulogd_LOCALTIME.so and installed.
               add the line 
                          plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
               in ulogd.conf
               Mysql info.
               local_time field value is 1031676302
               It's seems not work,Is my procedure correct ? Thanks for your comments.

Regards / Roy

[-- Attachment #2: Type: text/html, Size: 2349 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* LOCALTIME problem.
@ 2002-09-11 12:30 Roy
  2002-09-11 13:42 ` Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Roy @ 2002-09-11 12:30 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

Dear all,              
               Did anyone try this function well ?
               I put ulogd_LOCALTIME.c into ulogd-x/extensions directory,and replace Rule.make.in in ulogd-xxx/
               It has complied ulogd_LOCALTIME.so and installed.
               add the line 
                          plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
               in ulogd.conf
               Mysql info.
               local_time field value is 1031676302
               It's seems not work,Is my procedure correct ? Thanks for your comments.

Regards / Roy

[-- Attachment #2: Type: text/html, Size: 2382 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LOCALTIME problem.
  2002-09-11 12:30 LOCALTIME problem Roy
@ 2002-09-11 13:42 ` Antony Stone
  0 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2002-09-11 13:42 UTC (permalink / raw)
  To: netfilter

On Wednesday 11 September 2002 1:30 pm, Roy wrote:

> Dear all,
>                Did anyone try this function well ?
>                I put ulogd_LOCALTIME.c into ulogd-x/extensions
> directory,and replace Rule.make.in in ulogd-xxx/ It has complied
> ulogd_LOCALTIME.so and installed.
>                add the line
>                           plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
>                in ulogd.conf
>                Mysql info.
>                local_time field value is 1031676302
>                It's seems not work,Is my procedure correct ? Thanks for
> your comments.

Looks like a perfectly reasonable time value to me.

I've just done 'date +%s' on my machine and got 1031751577, so I guess you 
did yours yesterday about midnight, judging by the timezone in your email.

The value you are getting is seconds since midnight Jan 1st 1970.

Antony.

-- 

Having been asked to provide a reference for this man,
I can confidently state that you will be very lucky indeed
if you can get him to work for you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Localtime problem
  2002-09-11 12:22 Localtime problem Roy
@ 2002-09-13  8:37 ` Antony Stone
  0 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2002-09-13  8:37 UTC (permalink / raw)
  To: netfilter

On Wednesday 11 September 2002 1:22 pm, Roy wrote:

> Dear all,
>                Did anyone try this function well ?
>                I put ulogd_LOCALTIME.c into ulogd-x/extensions
> directory,and replace Rule.make.in in ulogd-xxx/ It has complied
> ulogd_LOCALTIME.so and installed.
>                add the line
>                           plugin /usr/local/lib/ulogd/ulogd_LOCALTIME.so
>                in ulogd.conf
>                Mysql info.
>                local_time field value is 1031676302
>                It's seems not work,Is my procedure correct ? Thanks for
> your comments.

What is wrong with this value ?   What's "not working" about it ?

It looks like a Unix timestamp representing seconds since midnight Jan 1st 
1970 to me.

Antony.

-- 

There are two possible outcomes.

If the result confirms the hypothesis, then you've made a measurement.
If the result is contrary to the hypothesis, then you've made a discovery.

 - Enrico Fermi


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-13  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-11 12:30 LOCALTIME problem Roy
2002-09-11 13:42 ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2002-09-11 12:22 Localtime problem Roy
2002-09-13  8:37 ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox