Re: apache log entry

2001-08-02 Thread Peter Crystal
On Thu, Aug 02, 2001 at 08:35:36AM +0200, Wouter van Gils wrote:
> 
> 
> 
> [On 02 Aug, 2001, Curt Howland wrote in " RE: apache log entry "]
> > 
> > Yep, you've been asleep, or lucky. This is the Code Red virus.
> > 
> > What are you running? I run Boa 0.92 and it doesn't even skip a beat with
> > this "code red" idiocy.
> >
> 
> I'm running Apache/1.3.9 (Unix) Debian/GNU. It just handels the request
> like 'bad request'. So it doesn't seem to bother. 
> 
> I knew about the virus but didn't gave it much attention, so I did not
> knew what to expect in my logs now I know.

one suggested solution to it is something like

#---
LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so

RewriteEnging On
RewriteRule ^default.ida(.*)  http://someothersite.com/ [L,R]
#---


a bit rude ultimately though.

--
darkewolf/peter crystal
[EMAIL PROTECTED]



pgplLiq7WQlCc.pgp
Description: PGP signature


Re: apache log entry

2001-08-02 Thread Peter Crystal

On Thu, Aug 02, 2001 at 08:35:36AM +0200, Wouter van Gils wrote:
> 
> 
> 
> [On 02 Aug, 2001, Curt Howland wrote in " RE: apache log entry "]
> > 
> > Yep, you've been asleep, or lucky. This is the Code Red virus.
> > 
> > What are you running? I run Boa 0.92 and it doesn't even skip a beat with
> > this "code red" idiocy.
> >
> 
> I'm running Apache/1.3.9 (Unix) Debian/GNU. It just handels the request
> like 'bad request'. So it doesn't seem to bother. 
> 
> I knew about the virus but didn't gave it much attention, so I did not
> knew what to expect in my logs now I know.

one suggested solution to it is something like

#---
LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so

RewriteEnging On
RewriteRule ^default.ida(.*)  http://someothersite.com/ [L,R]
#---


a bit rude ultimately though.

--
darkewolf/peter crystal
[EMAIL PROTECTED]


 PGP signature


Re: Editing and storing encrypted files

2000-09-07 Thread Peter Crystal
On Wed, Sep 06, 2000 at 11:17:40PM +0200, Philipp Schulte wrote:
> On Wed, Sep 06, 2000 at 10:22:44PM +0200, Wouter Hanegraaff wrote: 
> 
> > Hi,
> > 
> > I have some files that I would like to store encrypted. Of course I can
> > just type them in, encrypt them using gpg and delete the original, but
> > that seems to be a bit of a kludge. It would mean the file is at some
> > time readable unencrypted (after saving in the editor), and forgetting
> > to turn off the backup file option in the editor when changing the file.
> 
> I solved this problem with a little script:
> 
> #!/bin/bash
> gpg .dev.gpg > /dev/null
> emacs .dev
> rm .dev.gpg
> gpg -r "Philipp Schulte" -e .dev
> rm .dev
> rm .dev~
> 

a nicer way of doing this would be to write a defun in emacs

my-load-file

so - it loads a file into a buffer - if the file has certain
traits that encrypted files do (ie: GPG headers) pipe it
through gpg file (mailcrypt does this nicely). 

and also write 

my-save-file

which does the opposite - and maybe we keep track of what files have to be 
encrypted.

C-x C-f calls my-load-file
C-x C-s calls my-save-file


of course emacs needs to be patches to only put its temp files in 
an encrypted loopback and we index them so we know where they 
are related.


peter 'darkewolf' crystal
--
email   : [EMAIL PROTECTED] || [EMAIL PROTECTED] || [EMAIL PROTECTED]
url : http://cyberpunks.org/darke/homepage.phtml
url : http://netverse.sourceforge.net/
url : http://walledcity.sourceforge.net/
gpg key : http://cyberpunks.org/keys/darke_gpg.asc 

Programming , Webdesign, AI theory, Paranoia, System Administration, 
Network Design, Problem Solutions

  A disciple of another sect once came  to Drescher as he was eating his
morning meal. "I would like to give you this personality test", said the
outsider, "because I want you to be happy." Drescher took the paper that
was offered him and put it into the toaster, saying: "I wish the toaster
to be happy, too."



pgpOiOvv05LFM.pgp
Description: PGP signature


Re: Editing and storing encrypted files

2000-09-07 Thread Peter Crystal

On Wed, Sep 06, 2000 at 11:17:40PM +0200, Philipp Schulte wrote:
> On Wed, Sep 06, 2000 at 10:22:44PM +0200, Wouter Hanegraaff wrote: 
> 
> > Hi,
> > 
> > I have some files that I would like to store encrypted. Of course I can
> > just type them in, encrypt them using gpg and delete the original, but
> > that seems to be a bit of a kludge. It would mean the file is at some
> > time readable unencrypted (after saving in the editor), and forgetting
> > to turn off the backup file option in the editor when changing the file.
> 
> I solved this problem with a little script:
> 
> #!/bin/bash
> gpg .dev.gpg > /dev/null
> emacs .dev
> rm .dev.gpg
> gpg -r "Philipp Schulte" -e .dev
> rm .dev
> rm .dev~
> 

a nicer way of doing this would be to write a defun in emacs

my-load-file

so - it loads a file into a buffer - if the file has certain
traits that encrypted files do (ie: GPG headers) pipe it
through gpg file (mailcrypt does this nicely). 

and also write 

my-save-file

which does the opposite - and maybe we keep track of what files have to be 
encrypted.

C-x C-f calls my-load-file
C-x C-s calls my-save-file


of course emacs needs to be patches to only put its temp files in 
an encrypted loopback and we index them so we know where they 
are related.


peter 'darkewolf' crystal
--
email   : [EMAIL PROTECTED] || [EMAIL PROTECTED] || [EMAIL PROTECTED]
url : http://cyberpunks.org/darke/homepage.phtml
url : http://netverse.sourceforge.net/
url : http://walledcity.sourceforge.net/
gpg key : http://cyberpunks.org/keys/darke_gpg.asc 

Programming , Webdesign, AI theory, Paranoia, System Administration, 
Network Design, Problem Solutions

  A disciple of another sect once came  to Drescher as he was eating his
morning meal. "I would like to give you this personality test", said the
outsider, "because I want you to be happy." Drescher took the paper that
was offered him and put it into the toaster, saying: "I wish the toaster
to be happy, too."


 PGP signature