Re: RE: [Clamav-devel] why don't write portable code

2006-04-01 Thread BSCH
Brian A. Reiter
  If you could compile clamav at Win32, it maybe have little fix to src. So 
now, it has a module Clamav-win32. My mean, it has not must. You could 
maintenance ONE src. Not to have the module of Clamav-win32. If want to use in 
Win32. Only compile it. Now we have use in win32, we must patch the src, and 
compile. Though, we could compile it in Cygwin, but the execustive must have 
DLL with Cygwin.



=== 2006-04-01 08:07:53 您在来信中写道:===

X-Gmail-Received: 7fb57286f11b0f23703c9d0c4a2d27a4c38d3b00
Delivered-To: [EMAIL PROTECTED]
Received: by 10.36.39.5 with SMTP id m5cs36786nzm;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Received: by 10.54.93.12 with SMTP id q12mr640685wrb;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Return-Path: [EMAIL PROTECTED]
Received: from aj.catt.com (aj.catt.com [64.18.103.6])
by mx.gmail.com with ESMTP id 29si482937wrl.2006.03.31.16.07.49;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Received-SPF: pass (gmail.com: domain of [EMAIL PROTECTED] designates 
64.18.103.6 as permitted sender)
Received: from aj.catt.com (localhost [127.0.0.1])
   by aj.catt.com (Postfix) with ESMTP id 4B82E156002;
   Fri, 31 Mar 2006 19:07:47 -0500 (EST)
Received: from rs19.luxsci.com (rs19.luxsci.com [65.61.136.23])
   by aj.catt.com (Postfix) with ESMTP id 90D6F10DA44
   for clamav-devel@lists.clamav.net;
   Fri, 31 Mar 2006 19:07:44 -0500 (EST)
Received: from prometheus (pool-72-75-60-71.washdc.east.verizon.net
   [72.75.60.71]) (authenticated bits=0)
   by rs19.luxsci.com (8.13.6/8.13.6) with ESMTP id k3107eZi018708
   (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
   for clamav-devel@lists.clamav.net; Fri, 31 Mar 2006 18:07:41 -0600
From: Brian A. Reiter [EMAIL PROTECTED]
To: 'ClamAV Development' clamav-devel@lists.clamav.net
Subject: RE: [Clamav-devel] why don't write portable code
Date: Fri, 31 Mar 2006 19:07:32 -0500
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcZVFl8cPxgzSxkuRISADJDEue5QoQACR8zQ
In-Reply-To: [EMAIL PROTECTED]
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: ClamAV Development clamav-devel@lists.clamav.net
List-Id: ClamAV Development clamav-devel.lists.clamav.net
List-Unsubscribe: 
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel,
   mailto:[EMAIL PROTECTED]
List-Post: mailto:clamav-devel@lists.clamav.net
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: 
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel,
   mailto:[EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary2051393441==
Mime-version: 1.0
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--===2051393441==
Content-Type: multipart/signed; protocol=application/x-pkcs7-signature;
   micalg=SHA1; boundary==_NextPart_000_00C0_01C654F6.5CD55290

This is a multi-part message in MIME format.

--=_NextPart_000_00C0_01C654F6.5CD55290
Content-Type: text/plain;
   charset=us-ascii
Content-Transfer-Encoding: 7bit


  i know it maybe use some time to write it, but i think it 
 valuealbe. 
  ONE ENGINE IS A CORE OF SOFTWARE. and why don't you design 
 it indepent 
  platform? if possible, the directory maybe plot clearly, the same
 
 The engine is POSIX compliant.

And, in fact, Microsoft has made a POSIX-compliant executive sub-system
derived from OpenBSD and System V available for Windows NT 5+. It is called
Interix aka Services for UNIX and Subsystem for UNIX-based Applications
(SUA). Clamd and clamscan run fine under Interix.

Download SFU 3.5 here:
http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx

Subsystem for Unix-based Applications (SUA/Interix 5.2):
http://www.microsoft.com/windowsserver2003/r2/unixinterop/default.mspx

POSIX should be portable enough.

--=_NextPart_000_00C0_01C654F6.5CD55290--


--===2051393441==
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

___
http://lurker.clamav.net/list/clamav-devel.html

--===2051393441==--


= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
BSCH
[EMAIL PROTECTED]
  2006-04-01

___
http://lurker.clamav.net/list/clamav-devel.html


Re: RE: [Clamav-devel] why don't write portable code

2006-04-01 Thread BSCH
Brian A. Reiter!

  if engine design pure. the others could use the clamav engine to write 
anti-virus software. the software not to write by us. ALL could use the engine 
convenience.



=== 2006-04-01 08:07:53 您在来信中写道:===

X-Gmail-Received: 7fb57286f11b0f23703c9d0c4a2d27a4c38d3b00
Delivered-To: [EMAIL PROTECTED]
Received: by 10.36.39.5 with SMTP id m5cs36786nzm;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Received: by 10.54.93.12 with SMTP id q12mr640685wrb;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Return-Path: [EMAIL PROTECTED]
Received: from aj.catt.com (aj.catt.com [64.18.103.6])
by mx.gmail.com with ESMTP id 29si482937wrl.2006.03.31.16.07.49;
Fri, 31 Mar 2006 16:07:53 -0800 (PST)
Received-SPF: pass (gmail.com: domain of [EMAIL PROTECTED] designates 
64.18.103.6 as permitted sender)
Received: from aj.catt.com (localhost [127.0.0.1])
   by aj.catt.com (Postfix) with ESMTP id 4B82E156002;
   Fri, 31 Mar 2006 19:07:47 -0500 (EST)
Received: from rs19.luxsci.com (rs19.luxsci.com [65.61.136.23])
   by aj.catt.com (Postfix) with ESMTP id 90D6F10DA44
   for clamav-devel@lists.clamav.net;
   Fri, 31 Mar 2006 19:07:44 -0500 (EST)
Received: from prometheus (pool-72-75-60-71.washdc.east.verizon.net
   [72.75.60.71]) (authenticated bits=0)
   by rs19.luxsci.com (8.13.6/8.13.6) with ESMTP id k3107eZi018708
   (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
   for clamav-devel@lists.clamav.net; Fri, 31 Mar 2006 18:07:41 -0600
From: Brian A. Reiter [EMAIL PROTECTED]
To: 'ClamAV Development' clamav-devel@lists.clamav.net
Subject: RE: [Clamav-devel] why don't write portable code
Date: Fri, 31 Mar 2006 19:07:32 -0500
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcZVFl8cPxgzSxkuRISADJDEue5QoQACR8zQ
In-Reply-To: [EMAIL PROTECTED]
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: ClamAV Development clamav-devel@lists.clamav.net
List-Id: ClamAV Development clamav-devel.lists.clamav.net
List-Unsubscribe: 
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel,
   mailto:[EMAIL PROTECTED]
List-Post: mailto:clamav-devel@lists.clamav.net
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: 
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel,
   mailto:[EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary2051393441==
Mime-version: 1.0
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--===2051393441==
Content-Type: multipart/signed; protocol=application/x-pkcs7-signature;
   micalg=SHA1; boundary==_NextPart_000_00C0_01C654F6.5CD55290

This is a multi-part message in MIME format.

--=_NextPart_000_00C0_01C654F6.5CD55290
Content-Type: text/plain;
   charset=us-ascii
Content-Transfer-Encoding: 7bit


  i know it maybe use some time to write it, but i think it 
 valuealbe. 
  ONE ENGINE IS A CORE OF SOFTWARE. and why don't you design 
 it indepent 
  platform? if possible, the directory maybe plot clearly, the same
 
 The engine is POSIX compliant.

And, in fact, Microsoft has made a POSIX-compliant executive sub-system
derived from OpenBSD and System V available for Windows NT 5+. It is called
Interix aka Services for UNIX and Subsystem for UNIX-based Applications
(SUA). Clamd and clamscan run fine under Interix.

Download SFU 3.5 here:
http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx

Subsystem for Unix-based Applications (SUA/Interix 5.2):
http://www.microsoft.com/windowsserver2003/r2/unixinterop/default.mspx

POSIX should be portable enough.

--=_NextPart_000_00C0_01C654F6.5CD55290--


--===2051393441==
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

___
http://lurker.clamav.net/list/clamav-devel.html

--===2051393441==--


= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
BSCH
[EMAIL PROTECTED]
  2006-04-01

___
http://lurker.clamav.net/list/clamav-devel.html


Re: RE: [Clamav-devel] why don't write portable code

2006-04-01 Thread GiM
BSCH in message 'Re: [Clamav-devel] why don't write portable code' wrote:
 Brian A. Reiter!
 
   if engine design pure. the others could use the clamav engine to write
 anti-virus software. the software not to write by us. ALL could use the
 engine convenience.
 
   

I don't think you understand the differences between UNIX and Windows
platforms. Programming in these environments is totaly different, and
creating one universal engine wouldn't be reasonable.

And what problems do you see for others writing anti-virus software
on ClamAV basis?

btw: 1) I'm not a native english speaker, but it's quite hard o understand
 what you're trying to say (this and previous posts)
 2) stop top-posting, this is really annoying.

 main(int a[puts(Michał 'GiM' Spadliński)]){}
-- 
144722 lcamtuf I've found bug in sendmail
144724 lcamtuf what a suprise

___
http://lurker.clamav.net/list/clamav-devel.html


Re: Re: RE: [Clamav-devel] why don't write portable code

2006-04-01 Thread BSCH
GiM,您好!

I think you not to understand my mean.
your said Programming in these environments is totaly different, and
creating one universal engine wouldn't be reasonable. YOU COULD NOT PROOF 
IT.
The engine is pure! It only match signature one a file! match signature could 
use standar c or c++.

=== 2006-04-01 23:10:09 您在来信中写道:===

BSCH in message 'Re: [Clamav-devel] why don't write portable code' wrote:
 Brian A. Reiter!
 
   if engine design pure. the others could use the clamav engine to write
 anti-virus software. the software not to write by us. ALL could use the
 engine convenience.
 
  

I don't think you understand the differences between UNIX and Windows
platforms. Programming in these environments is totaly different, and
creating one universal engine wouldn't be reasonable.

And what problems do you see for others writing anti-virus software
on ClamAV basis?

btw: 1) I'm not a native english speaker, but it's quite hard o understand
 what you're trying to say (this and previous posts)
 2) stop top-posting, this is really annoying.

 main(int a[puts(Michał 'GiM' Spadliński)]){}
-- 
144722 lcamtuf I've found bug in sendmail
144724 lcamtuf what a suprise

___
http://lurker.clamav.net/list/clamav-devel.html

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
BSCH
[EMAIL PROTECTED]
  2006-04-02

___
http://lurker.clamav.net/list/clamav-devel.html


RE: Re: RE: [Clamav-devel] why don't write portable code

2006-04-01 Thread Nigel Horne
 GiM,您好!
 
 your said Programming in these environments is totaly different, and
 creating one universal engine wouldn't be reasonable. YOU COULD 
 NOT PROOF IT.
 The engine is pure! It only match signature one a file! match 
 signature could use standar c or c++.

I strongly suggest that we all stop feeding the troll.
 
 BSCH
 [EMAIL PROTECTED]
   2006-04-02

-Nigel

___
http://lurker.clamav.net/list/clamav-devel.html


Re: [Clamav-devel] why don't write portable code

2006-03-31 Thread Tomasz Kojm
On Sat, 1 Apr 2006 05:19:35 +0800
梁飞 [EMAIL PROTECTED] wrote:

 clamav-devel,您好!
 
 why don't you write portable code?

http://en.wikipedia.org/wiki/POSIX

 if some function must use  dependent platform API, we could implement it
 using macro at runtime. e.g, visit a directory are difference in Linux and
 Win32. We could implement a VisitDirectory fuction in LibClamav, and use
 it. The implement of VisitDirectory fuction depend on macro at runtime. i
 think engine is pure, and portable. if that, we could easier to portable it
 in diffent OS.

ClamAV was not designed for win32 and to use it effectively on this platform
one would need to redesign the whole engine, implement new features and
provide specialised signature updates.

-- 
   oo. Tomasz Kojm [EMAIL PROTECTED]
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Fri Mar 31 23:52:56 CEST 2006


signature.asc
Description: PGP signature
___
http://lurker.clamav.net/list/clamav-devel.html


Re: Re: [Clamav-devel] why don't write portable code

2006-03-31 Thread 梁飞
Tomasz Kojm,您好!

but in fact, engine is pure. Most of commercial AV has Linux and Win32 
version. so...
the engine could be design the independ OS, why don't you code that?
i know it maybe use some time to write it, but i think it valuealbe. ONE 
ENGINE IS A CORE OF SOFTWARE. and why don't you design it indepent platform?
if possible, the directory maybe plot clearly, the same functions maybe in 
ONE DIRECTORY. it's a little suggestion.


=== 2006-04-01 05:54:50 您在来信中写道:===

On Sat, 1 Apr 2006 05:19:35 +0800
梁飞 [EMAIL PROTECTED] wrote:

 clamav-devel,您好!
 
 why don't you write portable code?

http://en.wikipedia.org/wiki/POSIX

 if some function must use  dependent platform API, we could implement it
 using macro at runtime. e.g, visit a directory are difference in Linux and
 Win32. We could implement a VisitDirectory fuction in LibClamav, and use
 it. The implement of VisitDirectory fuction depend on macro at runtime. i
 think engine is pure, and portable. if that, we could easier to portable it
 in diffent OS.

ClamAV was not designed for win32 and to use it effectively on this platform
one would need to redesign the whole engine, implement new features and
provide specialised signature updates.

-- 
   oo. Tomasz Kojm [EMAIL PROTECTED]
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Fri Mar 31 23:52:56 CEST 2006
___
http://lurker.clamav.net/list/clamav-devel.html


= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
梁飞
[EMAIL PROTECTED]
  2006-04-01

___
http://lurker.clamav.net/list/clamav-devel.html


Re: [Clamav-devel] why don't write portable code

2006-03-31 Thread Tomasz Kojm
On Sat, 1 Apr 2006 06:21:53 +0800
梁飞 [EMAIL PROTECTED] wrote:

 Tomasz Kojm,您好!
 
   but in fact, engine is pure. Most of commercial AV has Linux and
 Win32 version. so... the engine could be design the independ OS, why don't
 you code that?

http://www.clamav.net/abstract.html#pagestart

Clam AntiVirus is a GPL anti-virus toolkit for UNIX.[...]


 i know it maybe use some time to write it, but i think it
 valuealbe. ONE ENGINE IS A CORE OF SOFTWARE. and why don't you design it
 indepent platform? if possible, the directory maybe plot clearly, the same

The engine is POSIX compliant.

-- 
   oo. Tomasz Kojm [EMAIL PROTECTED]
  (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\  Sat Apr  1 00:54:35 CEST 2006


signature.asc
Description: PGP signature
___
http://lurker.clamav.net/list/clamav-devel.html


RE: [Clamav-devel] why don't write portable code

2006-03-31 Thread Brian A. Reiter

  i know it maybe use some time to write it, but i think it 
 valuealbe. 
  ONE ENGINE IS A CORE OF SOFTWARE. and why don't you design 
 it indepent 
  platform? if possible, the directory maybe plot clearly, the same
 
 The engine is POSIX compliant.

And, in fact, Microsoft has made a POSIX-compliant executive sub-system
derived from OpenBSD and System V available for Windows NT 5+. It is called
Interix aka Services for UNIX and Subsystem for UNIX-based Applications
(SUA). Clamd and clamscan run fine under Interix.

Download SFU 3.5 here:
http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx

Subsystem for Unix-based Applications (SUA/Interix 5.2):
http://www.microsoft.com/windowsserver2003/r2/unixinterop/default.mspx

POSIX should be portable enough.
___
http://lurker.clamav.net/list/clamav-devel.html