Re: [Clamav-users] Compilation of clamav 0.94.1 failing on AIX 5.3
On 2008-11-09 08:44, ANANT S ATHAVALE wrote: > Dear Edwin, > > I installed bash by downloading RPM from AIX Linux toolkit. Tried > configuring and compiling under bash, but it resulted in same error. > > Finally, I modified the source. Wherever this error was coming, > replaced "TARGET_OS_TYPE" with aix5.3.0.0, "TARGET_ARCH_TYPE" with > ppc, and "TARGET_CPU_TYPE" with powerpc. These values were available > in file called 'x'. After this, I could compile and use clamav > 0.94.1. This input may give developers, the fix for my problem in > future releases. > > There was a similar bugreport, where we couldn't determine why target.h was not created: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1171 The code that generates target.h did not change since 0.94, so its very strange. For some reason this code: ac_need_target_h_file=`echo target.h` produces ac_need_target_h_file=x Can you try the patch below on the original 0.94.1 sources, run configure, and see if it compiles? diff --git a/configure b/configure index eafc3c8..872d6d0 100755 --- a/configure +++ b/configure @@ -2214,7 +2214,7 @@ ac_need_target_h_file_new=true -ac_need_target_h_file=`echo target.h` +ac_need_target_h_file=target.h ac_need_target_h_prefix=`echo target | sed -e 'y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:' -e 's:[^A-Z0-9_]::g'` # target_os0=`echo "$target_os" | sed -e 'y:abcdefghijklmnopqrstuvwxyz.-:ABCDEFGHIJKLMNOPQRSTUVWXYZ__:' -e 's:[^A-Z0-9_]::g'` diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index faf30bf..9ab7f11 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -117,7 +117,7 @@ AC_DEFUN([AC_CREATE_TARGET_H_UPPER], [AC_REQUIRE([AC_CANONICAL_CPU_ARCH]) AC_REQUIRE([AC_CREATE_TARGET_H_FILE]) changequote({, })dnl -ac_need_target_h_file=`echo ifelse($1, , target.h, $1)` +ac_need_target_h_file=ifelse($1, , target.h, $1) ac_need_target_h_prefix=`echo ifelse($2, , target, $2) | sed -e 'y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:' -e 's:[^A-Z0-9_]::g'` # target_os0=`echo "$target_os" | sed -e 'y:abcdefghijklmnopqrstuvwxyz.-:ABCDEFGHIJKLMNOPQRSTUVWXYZ__:' -e 's:[^A-Z0-9_]::g'` Best regards, --Edwin ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Compilation of clamav 0.94.1 failing on AIX 5.3
Dear Edwin, I installed bash by downloading RPM from AIX Linux toolkit. Tried configuring and compiling under bash, but it resulted in same error. Finally, I modified the source. Wherever this error was coming, replaced "TARGET_OS_TYPE" with aix5.3.0.0, "TARGET_ARCH_TYPE" with ppc, and "TARGET_CPU_TYPE" with powerpc. These values were available in file called 'x'. After this, I could compile and use clamav 0.94.1. This input may give developers, the fix for my problem in future releases. Thanks and regards, ANANT. Quoting Török Edwin <[EMAIL PROTECTED]>: > On 2008-11-08 12:53, ANANT S ATHAVALE wrote: >> I used, configure --disable-clamav --disable-shared options. >> >> >> > > Hi, > > Did 0.94 compile? > >> But, it is failing with following messages... > > Do you have a target.h file? > > Try running configure under bash (instead of ksh). > > Best regards, > --Edwin > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
Quoting Dennis Peterson <[EMAIL PROTECTED]>: > ANANT S ATHAVALE wrote: >> Quoting Dennis Peterson <[EMAIL PROTECTED]>: >> >>> ANANT S ATHAVALE wrote: Dear Developers, When we run, clamscan, it gives output similar to the one below. Apart from the information shown below, I would like to have one more filed that indicates the date/time of the last update of signature. What I mean is, it should be easy for me to know, whether I have latest updates. I have not checked, whether some optional option of clamscan can show it or not. Sorry, if I it is already there. Let me know, if that feature is already there. Regards, ANANT. >>> Run freshclam -v >> >> Thanks, >> >> My freshclam runs on a system which is connected to internet. Later >> we transfer the signature files to a system connected to Intranet only >> by a continuous defined procedure at definite intervals. I would like >> to check the status of those signatures on Intranet. >> > > ssh hostname.intranet sigtool -i daily.cld > > ssh hostname.intranet sigtool -i main.cld Thanks, It works as expected. Regards, ANANT. > > dp > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
ANANT S ATHAVALE wrote: > Quoting Dennis Peterson <[EMAIL PROTECTED]>: > >> ANANT S ATHAVALE wrote: >>> Dear Developers, >>> >>> When we run, clamscan, it gives output similar to the one below. Apart >>> from the information shown below, I would like to have one more filed >>> that indicates the date/time of the last update of signature. What I >>> mean is, it should be easy for me to know, whether I have latest >>> updates. I have not checked, whether some optional option of clamscan >>> can show it or not. Sorry, if I it is already there. Let me know, if >>> that feature is already there. >>> >>> Regards, >>> ANANT. >>> >> Run freshclam -v > > Thanks, > > My freshclam runs on a system which is connected to internet. Later > we transfer the signature files to a system connected to Intranet only > by a continuous defined procedure at definite intervals. I would like > to check the status of those signatures on Intranet. > ssh hostname.intranet sigtool -i daily.cld ssh hostname.intranet sigtool -i main.cld dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
Quoting Dennis Peterson <[EMAIL PROTECTED]>: > ANANT S ATHAVALE wrote: >> Dear Developers, >> >> When we run, clamscan, it gives output similar to the one below. Apart >> from the information shown below, I would like to have one more filed >> that indicates the date/time of the last update of signature. What I >> mean is, it should be easy for me to know, whether I have latest >> updates. I have not checked, whether some optional option of clamscan >> can show it or not. Sorry, if I it is already there. Let me know, if >> that feature is already there. >> >> Regards, >> ANANT. >> > > Run freshclam -v Thanks, My freshclam runs on a system which is connected to internet. Later we transfer the signature files to a system connected to Intranet only by a continuous defined procedure at definite intervals. I would like to check the status of those signatures on Intranet. > > dp > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
Dear ANANT, Are you using FreshClam to update your signatures? If so, you can check the logs. You can write a shell script to call clamscan and have it do a tail and grep on the FreshClam log. Jim Dear Developers, When we run, clamscan, it gives output similar to the one below. Apart from the information shown below, I would like to have one more filed that indicates the date/time of the last update of signature. What I mean is, it should be easy for me to know, whether I have latest updates. I have not checked, whether some optional option of clamscan can show it or not. Sorry, if I it is already there. Let me know, if that feature is already there. Regards, ANANT. OPPs -- sorry about the top post. Jim ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
Dear ANANT, Are you using FreshClam to update your signatures? If so, you can check the logs. You can write a shell script to call clamscan and have it do a tail and grep on the FreshClam log. Jim Dear Developers, When we run, clamscan, it gives output similar to the one below. Apart from the information shown below, I would like to have one more filed that indicates the date/time of the last update of signature. What I mean is, it should be easy for me to know, whether I have latest updates. I have not checked, whether some optional option of clamscan can show it or not. Sorry, if I it is already there. Let me know, if that feature is already there. Regards, ANANT. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
ANANT S ATHAVALE wrote: > Dear Developers, > > When we run, clamscan, it gives output similar to the one below. Apart > from the information shown below, I would like to have one more filed > that indicates the date/time of the last update of signature. What I > mean is, it should be easy for me to know, whether I have latest > updates. I have not checked, whether some optional option of clamscan > can show it or not. Sorry, if I it is already there. Let me know, if > that feature is already there. > > Regards, > ANANT. > Run freshclam -v dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Twitter
Dear Developers, When we run, clamscan, it gives output similar to the one below. Apart from the information shown below, I would like to have one more filed that indicates the date/time of the last update of signature. What I mean is, it should be easy for me to know, whether I have latest updates. I have not checked, whether some optional option of clamscan can show it or not. Sorry, if I it is already there. Let me know, if that feature is already there. Regards, ANANT. --- SCAN SUMMARY --- Known viruses: 458581 Engine version: 0.94.1 Scanned directories: 1 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Time: 2.140 sec (0 m 2 s) Quoting Nigel Horne <[EMAIL PROTECTED]>: > Folks, > > Notifications of ClamAV signature updates are now available via our > Twitter feed at http://twitter.com/clamav. The notifications include > information about > the number of signatures added and the total number of signatures in the > ClamAV database. > > We hope to include other information on that feed later so please feel > free to let us know suggestions, but remember that "twittiquette" means that > we don't wish > to flood the feed with too much information. > > -Nigel Horne > > -- > Nigel Horne, [EMAIL PROTECTED] > Director of Product Management (ClamAV), Sourcefire, > http://www.sourcefire.com > +44 1226 241048 or +1 706 705 4022 FAX: +44 870 705 9334, Skype: nigelhorne > > Come to Las Vegas to see the latest in Sourcefire and open source > innovation. > Register at www.bossconference.com by November 30th to save $200! > > > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Compilation of clamav 0.94.1 failing on AIX 5.3
Quoting Török Edwin <[EMAIL PROTECTED]>: > On 2008-11-08 12:53, ANANT S ATHAVALE wrote: >> I used, configure --disable-clamav --disable-shared options. >> >> >> > > Hi, > > Did 0.94 compile? YES. > >> But, it is failing with following messages... > > Do you have a target.h file? > > Try running configure under bash (instead of ksh). bash is not installed in AIX 5.3. > > Best regards, > --Edwin > ___ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] SubmitDetectionStats: Not enough recent data for submission
On Fri, 7 Nov 2008, Chris wrote: > For instance if I have a commonly reported signature, > Sanesecurity.Phishing.Cur.1266.UNOFFICIAL, is this reported or is it > only malware that is in the 'Official' ClamAv database reported? I'd like to know this as well, since we have a lot of custom signatures that wouldn't be interesting to the rest of the world and we might not want to make famous in any case. Jeffrey Moskot System Administrator [EMAIL PROTECTED] ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] FW: How to Uninstall ClamAV?
Mac Carter wrote: > Recently, I attempted to un-install ClamXav as part of an effort to diagnose > some kernel panics that have been happening on my MacBook Pro (OS 10.5.5). A > search shows there are NO files on my computer with the name ³clam² (partial > or whole). However, I still get regular Console log alerts saying: Did you kill the freshclam process? dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] FW: How to Uninstall ClamAV?
ClamXav installs clamav into /usr/local/clamXav/ by default. Also, make sure in your startup items freshclam is not set to run. Simon Hollingshead [EMAIL PROTECTED] Messages sent from this email are digitally signed by Thawte. Please do not be worried if you see an attachment named smime.p7s, this is the cryptographic signature. On 8/Nov/2008, at 15:46, Mac Carter wrote: Recently, I attempted to un-install ClamXav as part of an effort to diagnose some kernel panics that have been happening on my MacBook Pro (OS 10.5.5). A search shows there are NO files on my computer with the name “clam” (partial or whole). However, I still get regular Console log alerts saying: ClamAV update process started at Wed Nov 5 11:00:01 2008 SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES See the FAQ at http://www.clamav.net/support/faq for an explanation. WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.94 Recommended version: 0.94.1 DON'T PANIC! Read http://www.clamav.net/support/faq main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven) Downloading daily-8560.cdiff [100%] ERROR: chdir_tmp: Can't create directory ./clamav-f9dc174c76669ec538d13826ea6f7885 WARNING: Incremental update failed, trying to download daily.cvd Downloading daily.cvd [100%] daily.cvd updated (version: 8576, sigs: 20858, f-level: 35, builder: guitar) Database updated (458830 signatures) from database.clamav.net (IP: 208.72.56.53) WARNING: Clamd was NOT notified: Can't connect to clamd through /tmp/clamd.socket How is it possible to still get these alerts? Where is the Clamav on my computer that is causing these alerts and how can I un-install it completely? Cheers, Arthur Carter ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml smime.p7s Description: S/MIME cryptographic signature ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] FW: How to Uninstall ClamAV?
Recently, I attempted to un-install ClamXav as part of an effort to diagnose some kernel panics that have been happening on my MacBook Pro (OS 10.5.5). A search shows there are NO files on my computer with the name ³clam² (partial or whole). However, I still get regular Console log alerts saying: > ClamAV update process started at Wed Nov 5 11:00:01 2008 > SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES > See the FAQ at http://www.clamav.net/support/faq for an explanation. > WARNING: Your ClamAV installation is OUTDATED! > WARNING: Local version: 0.94 Recommended version: 0.94.1 > DON'T PANIC! Read http://www.clamav.net/support/faq > main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven) > Downloading daily-8560.cdiff [100%] > ERROR: chdir_tmp: Can't create directory > ./clamav-f9dc174c76669ec538d13826ea6f7885 > WARNING: Incremental update failed, trying to download daily.cvd > Downloading daily.cvd [100%] > daily.cvd updated (version: 8576, sigs: 20858, f-level: 35, builder: guitar) > Database updated (458830 signatures) from database.clamav.net (IP: > 208.72.56.53) > WARNING: Clamd was NOT notified: Can't connect to clamd through > /tmp/clamd.socket How is it possible to still get these alerts? Where is the Clamav on my computer that is causing these alerts and how can I un-install it completely? Cheers, Arthur Carter ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] Twitter
Folks, Notifications of ClamAV signature updates are now available via our Twitter feed at http://twitter.com/clamav. The notifications include information about the number of signatures added and the total number of signatures in the ClamAV database. We hope to include other information on that feed later so please feel free to let us know suggestions, but remember that "twittiquette" means that we don't wish to flood the feed with too much information. -Nigel Horne -- Nigel Horne, [EMAIL PROTECTED] Director of Product Management (ClamAV), Sourcefire, http://www.sourcefire.com +44 1226 241048 or +1 706 705 4022 FAX: +44 870 705 9334, Skype: nigelhorne Come to Las Vegas to see the latest in Sourcefire and open source innovation. Register at www.bossconference.com by November 30th to save $200! ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] clamav-milter installation question
Hi there, On Sat, 8 Nov 2008 Allen, Geoff wrote: > > Hongwei Li wrote: > > One question: I could not find config file for clamav-milter. > > [snip] > > Should there be a config file for clamav-milter? If yes, where is it? > > If no, how to configure it? > > As a new user of ClamAV, this also confused me! > > It uses clamd.conf. I couldn't find this documented anywhere. The man > page simply refers to "the config file" but never says what file is used > as the default. I don't know what man page you're looking at, but the one I'm looking at doesn't use that expression anywhere, and indeed it does tell you about clamd.conf. You do need to learn how to use man pages. Agreed, they tend to brevity. Even terseness. After installing ClamAV, the man pages are also installed. For example to see the man pages for clamd or clamav-milter, type man clamd or man clamav-milter If you look near the bottom you'll see a 'see also' section, that's where it generally tells you what else you might need to read. They are man pages too. (All man pages follow pretty much the same format, the standard has been fairly well developed over the past 35 years... :) In general man pages have the information that you need, but you have to read carefully. Some man pages are better than others of course, but the ClamAV pages are pretty good. At the bottom of the clamd man page you'll see that the first item in the 'see also' list is clamd.conf(5). In the clamav-milter page it's (coincidentally) the 5th item in the list. The '5' in parentheses after clamd.conf tells you what section of the manual the man page is stored. You can omit it under certain (most) circumstances but you can type man 5 clamd.conf to make sure you have the right page. Look at the title at the top of the man page, you'll see the section number there, too. Try typing man man for more information about man. Learn about it. It's a great tool. -- 73, Ged. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [Clamav-users] Compilation of clamav 0.94.1 failing on AIX 5.3
On 2008-11-08 12:53, ANANT S ATHAVALE wrote: > I used, configure --disable-clamav --disable-shared options. > > > Hi, Did 0.94 compile? > But, it is failing with following messages... Do you have a target.h file? Try running configure under bash (instead of ksh). Best regards, --Edwin ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] Compilation of clamav 0.94.1 failing on AIX 5.3
I used, configure --disable-clamav --disable-shared options. But, it is failing with following messages... Making all in clamd gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c mv -f .deps/output.Tpo .deps/output.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT cfgparser.o -MD -MP -MF .deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c mv -f .deps/getopt.Tpo .deps/getopt.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o `test -f '../shared/network.c' || echo './'`../shared/network.c ../shared/network.c: In function 'r_gethostbyname': ../shared/network.c:84: warning: passing argument 2 of 'gethostbyname_r' from incompatible pointer type mv -f .deps/network.Tpo .deps/network.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c mv -f .deps/options.Tpo .deps/options.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/special/include -g -O2 -MT clamd.o -MD -MP -MF .deps/clamd.Tpo -c -o clamd.o clamd.c clamd.c: In function 'main': clamd.c:293: error: expected ')' before 'TARGET_OS_TYPE' make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Please let me know, how to solve this problem. Regards, Anant Athavale. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml