Re: [Clamav-users] Nude links on www.clamav.org

2003-12-11 Thread Mark Mielke
On Thu, Dec 11, 2003 at 01:01:54PM +0800, Nicholas Chua wrote: > >I'm sorry to hear that you totally ignored that really important thing > >to us, Nicholas. I have the last question to you: Why did you buy > >www.clamav.org and what was your intention in doing it ? > ... I say, leave Nicholas alon

Re: [Clamav-users] freshclam updates failing: sudden appearance of "ERROR: Verification: MD5 verification error."

2004-01-12 Thread Mark Mielke
On Sun, Jan 11, 2004 at 05:50:38PM -0800, OpenMacNews wrote: > still no joy at 17:50 PST ... > -- On Sunday, January 11, 2004 8:05 PM -0500 "Christopher X. Candreva" > <[EMAIL PROTECTED]> wrote: > >On Sun, 11 Jan 2004, OpenMacNews wrote: > >>my db updates have *suddenly* stopped working afte

Re: [Clamav-users] How infectious is the GPL?

2004-06-21 Thread Mark Mielke
On Mon, Jun 21, 2004 at 06:20:14PM -0400, Tomasz Kojm wrote: > > > - link against libclamav > > > - directly use the virus databases > > > - include our code in your software (obvious ;-)) > > could he write a shim that is LGPL'd that links to libclamav? > Well, I don't know. This is a question to

Re: [Clamav-users] Clamd Socket Already Exist Error

2003-08-24 Thread Mark Mielke
On Sat, Aug 23, 2003 at 09:22:08PM +0200, Tomasz Kojm wrote: > On Fri, 22 Aug 2003 22:23:00 +0200 > Thomas Lamy <[EMAIL PROTECTED]> wrote: > > > You should stop clamd cleanly - eg. by sending the SIGTERM signal. > > > Best regards, > > > Tomasz Kojm > > What about the following pseudo-code at start

Re: [Clamav-users] Clamd Socket Already Exist Error

2003-08-24 Thread Mark Mielke
On Sat, Aug 23, 2003 at 08:04:34PM -0400, Mark Mielke wrote: > Use open(O_CREAT) to create the file, bind() to try to get exclusive > access to it, and listen() to begin accepting connections. > This behaviour should not be optional. This behaviour is how it should > have been do

Re: [Clamav-users] Clamd Socket Already Exist Error

2003-08-24 Thread Mark Mielke
I believe this is the wrong way of fixing this problem. To prove this, consider the race condition betweens stat(), connect() and bind(). Have you tried the documented method? Window 1: $ perl -e 'use Socket; socket($s, PF_UNIX, SOCK_STREAM, 0) || die "socket: $!\n"; bind($s, sockaddr_un("/tmp/f

Re: [Clamav-users] Clamd Socket Already Exist Error

2003-08-25 Thread Mark Mielke
On Sun, Aug 24, 2003 at 11:15:34PM +0200, Tomasz Kojm wrote: > On Sun, 24 Aug 2003 15:03:00 -0400 > Mark Mielke <[EMAIL PROTECTED]> wrote: > > This method is much easier, cleaner, contains no race conditions, etc. > I think Thomas patch is just fine. Do you prefer more l

Re: [Clamav-users] Clamd Socket Already Exist Error

2003-08-25 Thread Mark Mielke
On Sun, Aug 24, 2003 at 02:24:20PM +0200, Tomasz Kojm wrote: > > I believe the proper option is to use the properties of bind() as they > > were intended to be used. bind() should only succeed if no other file > > descriptors in the system are bound to the named UNIX socket. > clamd works in this w

Re: [Clamav-users] Clamd Socket Already Exist Error [REPOST]

2003-08-27 Thread Mark Mielke
On Tue, Aug 26, 2003 at 05:53:57PM +0200, Tomasz Kojm wrote: > > As I don't usually do networking in C, and there were one/some style > > complaints: Tomasz, are you accepting the patch as-is? > Of course, I do. However I'd like to see Mark's version and after that > we can update the CVS with the