idle timeout

2002-08-18 Thread xterm
I've been looking for some sort of utility (without success) that will look at
keyboard/mouse activity in X and then run a couple of commands.  I don't want
to log the current use out (aka: idled daemon), or lock the screen with
xscreensaver (already done).

I'm actually looking to automatically unmount a couple of partitions when I'm
away from the keyboard.  Specificly, my zip drive which has an encrypted
partition upon which my gnupg, ssh, etc keys are stored.  

I figure that even if someone snags the zip disk while I'm gone, since the
disk's partition is encoded with AES128 bit encryption, they should be fairly
safe and removing the disk or unmounting it will also make any email or
documents I have saved immediately unaccessable.

I figure it's better to be safe than sorry.

Ideas on how I might implement this?  I'm lost.

-- 
Take it easy,

[-] xterm [EMAIL PROTECTED]

Never underestimate the bandwidth of a station wagon full of
tapes hurtling down the highway.
  -- Andrew Tannenbaum



Re: Apache Log Files

2002-08-18 Thread Cristian Ionescu-Idbohrn
Matthew,

On Wed, 14 Aug 2002, Matthew Sackman wrote:

[snip]

 Does anyone know of a simple program that will return info on whois IP
 lookup in a set format?

You might want to have a look at this:

  http://www.blars.org/hinfo.html

It returns some interesting info in this format:

,
| Processing zesa.co.zw (196.2.69.9)
| abuse.net addresses:
| [EMAIL PROTECTED] (default, no info)
| 196.2.69.9 is zesa.co.zw
| 196.2.69.9 is in ORDB open relays as 127.0.0.2
| 196.2.69.9 is in osirusoft relays as 127.0.0.2
| Verified open relay
| 196.2.69.9 is in njabl as 127.0.0.2
| spam source or open relay
| 196.2.69.9 is in rfc-ignorant ipwhois as 127.0.0.6
`

It doesn't seem to be packaged for Debian, which is a pitty.


hth,
Cristian



Re: Apache Log Files

2002-08-18 Thread Blars Blarson
In article [EMAIL PROTECTED] 
[EMAIL PROTECTED] writes:
On Wed, 14 Aug 2002, Matthew Sackman wrote:
 Does anyone know of a simple program that will return info on whois IP
 lookup in a set format?
You might want to have a look at this:

  http://www.blars.org/hinfo.html

It returns some interesting info in this format:

,
| Processing zesa.co.zw (196.2.69.9)
| abuse.net addresses:
| [EMAIL PROTECTED] (default, no info)
| 196.2.69.9 is zesa.co.zw
| 196.2.69.9 is in ORDB open relays as 127.0.0.2
| 196.2.69.9 is in osirusoft relays as 127.0.0.2
| Verified open relay
| 196.2.69.9 is in njabl as 127.0.0.2
| spam source or open relay
| 196.2.69.9 is in rfc-ignorant ipwhois as 127.0.0.6
`

It doesn't seem to be packaged for Debian, which is a pitty.

Should I consider this a request?  I'm not a debian developer, but
packaging this would probably be a good first one starting as a new
maintainer, since I'm the upstream.

I've done some rewriting since the last time I've released, it's more
efficient on most non-us queries, as well as knowing about lacnic and
having some restructuring on the configuration.  It still needs a man
page, and some more work on the config setup.  (I just thought of a
few ideas on that while I was writing this.)

While hinfo does do whois queries (that part of the code started out
as a copy of the geektools whois server, but it has diverged
significantly), the results are not easy for a computer to parse since
the various whois servers aren't consistent.

The abuse.net and DNSBL sections of the code are consistent, but it
might be better to use them as examples of how to do it rather than
calling hinfo from a program.

-- 
Blars Blarson   [EMAIL PROTECTED]
http://www.blars.org/blars.html
Text is a way we cheat time. -- Patrick Nielsen Hayden



Re: Apache Log Files

2002-08-18 Thread matthew
On Sun, Aug 18, 2002 at 11:52:02AM +0200, Cristian Ionescu-Idbohrn wrote:
 Matthew,
 
 On Wed, 14 Aug 2002, Matthew Sackman wrote:
 
 [snip]
 
  Does anyone know of a simple program that will return info on whois IP
  lookup in a set format?
 
 You might want to have a look at this:
 
   http://www.blars.org/hinfo.html

Thank you to all who have replied. I have problems at the moment due to
a failed hard disc in my gateway, and my backup tape drive currently
being in another machine which I won't get back for a week plus I'm
about to go on holiday.

Bad timing huh!

Any way, thanks to all who have suggested ways forward. :)

Matthew
-- 
Matthew Sackman



Re: Apache Log Files

2002-08-18 Thread Cristian Ionescu-Idbohrn
On Sun, 18 Aug 2002, Blars Blarson wrote:

 In article [EMAIL PROTECTED] [EMAIL PROTECTED] writes:

[snip]

 You might want to have a look at this:
 
   http://www.blars.org/hinfo.html
 

[snip]

 It doesn't seem to be packaged for Debian, which is a pitty.

 Should I consider this a request?

Please do! I, for one, find it _very_ useful.

 I'm not a debian developer, but packaging this would probably be a
 good first one starting as a new maintainer, since I'm the upstream.

Good thinking (-;


Cheers,
Cristian




Re: idle timeout

2002-08-18 Thread Danny De Cock
On Sun, 18 Aug 2002, xterm wrote:

 I've been looking for some sort of utility (without success) that will
 look at keyboard/mouse activity in X and then run a couple of
 commands.  I don't want to log the current use out (aka: idled
 daemon), or lock the screen with xscreensaver (already done).

I think you might find xautolock quite interesting: description
Xautolock monitors the user activity on an X Window display.  If none is
detected within mins minutes, a program is started as specified by the
-locker option.  Xautolock will typically be used to lock the screen
(hence its primary name) but it really doesn't care what program you make
it start. /description

cu, danny.

 I'm actually looking to automatically unmount a couple of partitions
 when I'm away from the keyboard.  Specificly, my zip drive which has
 an encrypted partition upon which my gnupg, ssh, etc keys are stored.

 I figure that even if someone snags the zip disk while I'm gone, since
 the disk's partition is encoded with AES128 bit encryption, they
 should be fairly safe and removing the disk or unmounting it will also
 make any email or documents I have saved immediately unaccessable.

 I figure it's better to be safe than sorry.

 Ideas on how I might implement this?  I'm lost.



Re: [SECURITY] [DSA 149-1] New glibc packages fix security related problems

2002-08-18 Thread Joey Hess
Renee Landers wrote:
 But I choose to reboot since even init is linked with libc.  Obviously, 
 that's
 not always an option in a production environment.

Debian's libc6 package restarts init on upgrade (telinit u).

-- 
see shy jo