You are on page 1of 33

ClamWin program code 2004 - 2009 ClamWin Development Team Updated to ClamWin Free Antivirus 0.95.2 .clam in.

com

Table of Contents
!ntroduction.......................................................................................................................................... " !nstallation !nstructions........................................................................................................................ 4 Con#iguration........................................................................................................................................5 $eneral.............................................................................................................................................5 Filters............................................................................................................................................... % !nternet Updates...............................................................................................................................& 'ro()................................................................................................................................................* +c,eduled +cans.............................................................................................................................. 9 -mail Alerts................................................................................................................................... .0 Arc,ives......................................................................................................................................... .. File /ocations................................................................................................................................ .2 0eports........................................................................................................................................... ." -mail +canning.............................................................................................................................. .4 Advanced....................................................................................................................................... .4 Usage.................................................................................................................................................. .% 0un #rom t,e +tart 1enu............................................................................................................... .% 0un #rom t,e s)stem tra) icon........................................................................................................% +c,eduled +cans............................................................................................................................ .& 1+ 2utloo3 !ntegration................................................................................................................. .& Windo s -(plorer !ntegration........................................................................................................& Advanced 2peration........................................................................................................................... .* 1odi#)ing ClamWin4s De#ault Con#iguration............................................................................... .* 0unning a 5irus +can #rom t,e Command /ine.............................................................................* Updating t,e 5irus Data6ase #rom t,e Command /ine................................................................ .* $etting Updates #rom a /ocal +erver............................................................................................ .9 1anuall) Updating t,e 5irus Data6ase..........................................................................................9 FA78 Fre9uentl) As3ed 7uestions.................................................................................................... 20 Trou6les,ooting..................................................................................................................................2. Appendi( A 8 :o to 0un ClamWin #rom CD or U+;.....................................................................2" Using t,e CD<U+;.........................................................................................................................25 Appendi( ; 8 $=U $-=-0A/ 'U;/!C /!C-=+-.........................................................................2%

Introduction
ClamWin is a grap,ical #ront-end to t,e ClamA5 anti-virus so#t are t,at runs on 1icroso#t Windo s. An eas) to use installer program is provided. Features include8

+c,eduler - set up scans to run at a de#ined time Automatic virus data6ase updates via t,e !nternet Automatic noti#ications o# ne ClamWin releases +tandalone virus scanner +canning o# programs t,at are loaded in memor) Conte(t menu integration to 1icroso#t Windo s -(plorer - rig,t clic3 on a #ile to scan it 1icroso#t 2utloo3 add-in to scan incoming and outgoing e-mails

'lease note t,at ClamWin Antivirus does not include an on-access real-time scanner> t,at is> )ou need to manuall) scan a #ile in order to detect a virus. T,e 1icroso#t 2utloo3 add-in> ,o ever> ill delete a virus-in#ected attac,ment automaticall)> it,out an) intervention #rom t,e user.

Installation Instructions
Do nload t,e latest installer #rom .clam in.com. Close all running programs ?especiall) 2utloo3 and ClamWin@> t,en dou6le-clic3 on t,e do nloaded #ile to run it. !# )ou alread) ,ave a cop) o# ClamWin installed> )ou can upgrade it 6) simpl) running t,e installer #or a later version> and installing on top o# t,e e(isting version. A#ter clic3ing Next on t,e initial screen> t,e licence terms ill 6e displa)ed. T,is program is released under t,e $=U $eneral 'u6lic /icense. Aou must agree to t,e terms o# t,is licence to use t,is program. T,e installation program ill also install 6inar) #iles #rom Clam Anti-5irus ? .clamav.net@> ,ic, is also distri6uted under t,e $=U $eneral 'u6lic /icense. 2n t,e ne(t screen t,e installer ill as3 )ou ,et,er )ou ant to ma3e ClamWin availa6le to ever) user o# t,e computer> or Bust to )oursel#. T,e recommended setting ,ere is CAn)one ,o uses t,is computerD. =e(t> )ou ill 6e as3ed ,ere )ou ould li3e ClamWin to 6e installed. T,e de#ault option is sensi6le> and )ou s,ould onl) c,ange it i# )ou ,ave a particular reason to do so. =e(t> )ou ill 6e as3ed ,ic, parts o# t,e program to install. T o selections ?ClamA5 Files and ClamWin Files@ are gre)ed out and cannot 6e de-selected. T,is is 6ecause t,ese #iles are essential #or t,e program4s correct operation. T,e ot,er options are as #ollo s8 Integration with Windows Explorer8 !# t,is option is selected> an e(tra option is added to Windo s -(plorer4s rig,t-clic3 menu> allo ing #iles to 6e scanned 9uic3l) and easil). Integration with Microsoft Outlook8 !# t,is option is selected> and i# 1icroso#t 2utloo3 is installed> an 2utloo3 add-in ill 6e installed> ,ic, ill c,ec3 all incoming and outgoing e-mails #or viruses automaticall). =ote t,at t,is option ill onl) appear i# 1icroso#t 2utloo3 ?not 1+ 2utloo3 -(press@ is installed. International Help Files8 T,is section ,as su6-sections #or di##erent languages. Alt,oug, ClamWin is not )et availa6le in localised versions> mem6ers o# t,e communit) ,ave provided translations o# t,e ,elp #iles and<or manual. +electing t,e relevant languages in t,is section ill install t,ese translated ,elp #iles<manuals. =e(t> )ou ill 6e as3ed ,ic, +tart 1enu #older ClamWin4s icons s,ould 6e placed in. ;) de#ault> a ne #older named ClamWin Anti irus ill 6e created> and t,e icons placed in t,at. T,e ne(t screen as3s i# )ou ould li3e to do nload virus data6ase #iles as soon as t,e program is installed. !t is a good idea to update t,e virus data6ase #iles as soon as possi6le. =ote ,o ever t,at i# )ou connect to t,e internet using a pro()> )ou s,ould #irst con#igure t,e pro() settings 6e#ore )ou can do nload t,e updates> so )ou ill need to do t,is at a later stage. T,is screen also gives )ou t,e option to ,ave a s,ortcut icon placed on t,e des3top. T,e last screen displa)s a summar) o# t,e options t,at ,ave 6een selected. To install ClamWin it, t,e selected options> clic3 Install. To go 6ac3 and c,ange some options> clic3 ! "ack. !# )ou selected #ownload $irus #ata%ase Files> t,is ill 6e done once t,e program is installed. Aou ill need to 6e connected to t,e !nternet.

Configuration
To con#igure ClamWin> eit,er rig,t-clic3 on t,e s)stem tra) icon and select Configure ClamWin> or> #rom t,e main program indo > select &references #rom t,e 'ools menu. A dialogue it, eleven ta6s ill 6e displa)ed ?i# )ou do not ,ave t,e 1icroso#t add-in installed> t,e ta6 C-mail +canningD ill not 6e displa)ed@. Clic3ing O( ill close t,e dialogue 6o( and save an) c,anges made. Clic3ing Cancel ill close t,e dialogue 6o( it,out saving an) c,anges.

-ac, o# t,e ta6s is discussed 6elo .

General
T,is ta6 ,as options t,at control ClamWin4s 6e,aviour ,en scanning> and ,at ClamWin s,ould do a6out in#ected #iles. T,e )canning Options control ClamWin4s 6e,aviour ,en scanning. An) com6ination o# options can 6e selected. T,e options are as #ollo s8 #ispla* Infected Files Onl*+ W,en ClamWin is running a scan> it displa)s t,e names o# t,e #iles as it scans t,em. !# t,is option is selected> ClamWin ill onl) displa) t,e names o# #iles t,at ,ave 6een detected as in#ected. +electing t,is option ma) slig,tl) increase scanning speed. )can In )u%directories+ +elect t,is option to ,ave ClamWin scan su6directories as ell as t,e director) speci#ied. #ispla* File )canned , &rogress Indicator+ !# t,is option is selected> ClamWin ill displa) t,e name o# t,e #ile t,at is at t,at moment 6eing scanned> it, t,e progress in percentages 6et een 6rac3ets. For arc,ives> a rotating line ill 6e s,o n> indicating t,e scan is proceeding. T,e Infected Files options control determine ,at action ClamWin s,ould ta3e i# it detects a virus. 2nl) one option can 6e selected. T,e options are8 -eport Onl*+ !# t,is option is selected> ClamWin onl) reports t,at a virus as #ound.

-emo e ./se Carefull*0+ !# t,is option is selected> ClamWin ill permanently delete t,e in#ected #ile. T,e #ile ill not 6e placed in Windo s4 0ec)cle ;in. Mo e 'o 1uarantine Folder+ !# t,is option is selected> ClamWin ill move t,e in#ected #ile to t,e designated #older. To c,ange t,e #older> enter t,e pat, in t,e te(t 6o(> or clic3 on t,e 222 6utton to 6ro se to a #older. !# a #ile it, t,e same name is alread) present in t,e 9uarantine #older> t,en ClamWin ill append a dot #ollo ed 6) a num6er to t,e ne #ile> to avoid over- riting t,e e(isting #ile. -.g. i# a #ile named eicar.com is in t,e 9uarantine #older> and a virus is #ound in a #ile named eicar.com> t,en t,e second cop) ill 6e moved to t,e 9uarantine #older and renamed to eicar.com.000> a t,ird cop) ould 6e moved and renamed to eicar.com.001> etc. Finall)> t,e /nload Infected &rograms from Computer Memor* option determines ,et,er ClamWin s,ould tr) to unload a #ile #rom memor)> i# it detects it to 6e in#ected ,ile per#orming a memor) scan. T,is is necessar) to success#ull) 9uarantine suc, a #ile.

Filters
2n t,is ta6> ClamWin can 6e con#igured to scan onl) certain t)pes o# #iles> or to ignore certain t)pes o# #iles. T,e t o can 6e com6ined to give greater control over ,at t)pes o# #iles are scanned.

+peci#ic #iles can 6e #iltered 6) speci#)ing t,e #ull pat,> e.g.8


C:\Path\to\folder\File.ext

Folders can 6e #iltered 6) speci#)ing t,e pat,> and including a E at t,e end> e.g.8
C:\Path\to\folder\*

Note that * will not match \, so if you want to include or exclude a folder with all sub-folders you need to use a regular expression syntax and add .* (dot star) at the end

<C:\\Path\\to\\folder\\.*>

!egular expressions are enclosed in "# tags and \\ is needed because \ is a reser$ed character. 0egular e(pressions can 6e used #or greater #le(i6ilit)> 6ut must 6e contained it,in angle 6rac3ets ?F0egular-(pressionG@. !n#ormation a6out regular e(pressions> including tutorials> are readil) availa6le on t,e e6. Hust use )our #avourite searc, engine to searc, #or regular expression tutorial. ;) de#ault> t,e #ollo ing patterns are e(cluded #rom virus scans8 E.d6( ?used 6) 1icroso#t 2utloo3 -(press to store e-mails etc.@ E.t66 ?used 6) 0itla6s T,e ;atI to store e-mails etc.@ E.pst ?used 6) 1icroso#t 2utloo3 to store data@ E.dat E.log E.evt E.ns# E.nt# E.c,m ?Windo s ,elp #iles@

Internet Updates
2n t,is ta6> )ou can control ,o ClamWin gets updates to t,e virus data6ase.

Ena%le Automatic $irus #ata%ase /pdates+ W,en t,is option is selected> t,en ClamWin ill automaticall) c,ec3 #or and do nload data6ase updates. :o o#ten it c,ec3s and at ,at time can 6e set 6) t,e user. !# ClamWin is not running ?or t,e computer is s itc,ed o##@ at t,e time speci#ied> t,e update ill 6e applied t,e ne(t time ClamWin is started ? ,ic, ill normall) 6e t,e ne(t time t,e computer is s itc,ed on@. T,e onl) e(ception is i# t,e update #re9uenc) is set to J or3da)sJ> in ,ic, case it on4t do an)t,ing until 1onda). T,e address o# t,e server to 6e 9ueried can 6e set manuall). 1ost users ill ant to leave t,is at t,e de#ault setting ?data6ase.clamav.net@. :o ever> i# )ou ,ave a local server t,at mirrors data6ase.clamav.net> )ou can enter its address instead. For a list o# mirrors> c,ec3 out ,ttp8<< .clamav.net. Warn if $irus data%ase is Out of #ate+ !# t,is option is selected> ClamWin ill arn )ou ,en )our data6ase is not actual an)more. /pdate $irus #ata%ase On 3ogon+ !# t,is option is selected> ClamWin ill c,ec3 #or data6ase updates ,en a user logs on to t,e 'C. Notif* A%out New ClamWin -eleases+ !# t,is option is selected> ClamWin ill c,ec3 #or ne releases. T,is c,ec3 is run #ive minutes a#ter startup o# ClamWin> and ever) 24 ,ours a#ter t,at.

Proxy
!# )ou connect to t,e !nternet via a pro() server> enter t,e details on t,is ta6. !# not> leave t,e details 6lan3. 1ost users do not use a pro() server> and so can sa#el) ignore t,is ta6.

Scheduled Scans
T,is ta6 allo s t,e user to con#igure ClamWin to run scans at certain times. Details o# sc,eduled scans are displa)ed. To add a scan> clic3 t,e Add 6utton> t,en set t,e description> #re9uenc)> time> and #older to scan.

An e(isting sc,eduled scan can 6e c,anged 6) clic3ing t,e Edit 6utton> or removed 6) clic3ing t,e -emo e 6utton. +c,eduled scans can 6e activated or deactivated 6) clic3ing on t,e appropriate 6utton. A deactivated scan ill not run at t,e sc,eduled time.

Email Alerts

To ,ave ClamWin send an e-mail report ,en a virus is detected> c,ec3 t,e )end Email Alert On $irus #etection option. Fill in t,e details #or )our +1T' server> and t,e details #or t,e message ?su6Bect> #rom address> to address@. =ote8 some +1T' servers do not re9uire a user name K pass ord. !# t,is is t,e case> leave t,ese settings 6lan3. To test t,e settings> clic3 t,e )end 'est Email 6utton. W,en t,is option is selected> ClamWin ill send an e-mail report ,enever a virus is #ound. T,is email ill include t,e name o# t,e computer t,at t,e e-mail as sent #rom> and a cop) o# t,e scan log.

Archives
ClamWin can c,ec3 t,e #iles in arc,ive #iles ?suc, as .Lip #iles@ #or viruses.

T,is ta6 allo s t,e user to select ,et,er or not ClamWin s,ould c,ec3 inside arc,ive #iles> and set t,e ma(imum siLe o# arc,ive #iles to 6e c,ec3ed> t,e ma(imum num6er o# #iles to 6e e(tracted> and t,e ma(imum num6er o# su6-arc,ives to 6e e(tracted. !t s,ould 6e noted t,at scanning it,in arc,ives can slo do n a scan> so disa6ling scanning o# arc,ives ma) reduce t,e time ta3en #or a scan to complete.

File Locations
T,is ta6 allo s t,e locations o# t,e Clam+can program #ile> Fres,Clam program #ile ?t,e program used to retrieve data6ase updates@ and t,e virus data6ase to 6e altered. T,ese values are set during installation> and s,ould not normall) need to 6e altered. Do not change these settings unless you know what you are doing. !# t,e) are incorrectl) set> ClamWin ill stop or3ing.

Reports
T,is ta6 allo s t,e user to c,ange t,e location K name o# t,e log #iles. 1ost users ill not need to c,ange t,ese settings.

Aou can also ena6le or disa6le t,e displa) o# pop-up noti#ication messages on t,is ta6. ;) de#ault> suc, messages are ena6led. Unc,ec3ing t,e #ispla* &op4up Notification Messages In 'ask%ar c,ec36o( ill prevent status messages appearing ,en viruses are detected> t,e virus data6ase is

updated> etc.

Email Scanning
T,is ta6 is displa)ed onl)> i# t,e 1icroso#t 2utloo3 add-in is installed.

T,e user can decide to scan #or incoming email messages and<or outgoing email messages.

Advanced
T,is ta6 ,as #our settings. T,e de#ault settings ill 6e #ine #or most users.

'reat Files As Mail%oxes+ !# selected> ClamWin ill parse all #iles as i# t,e) ere 1!1- e-mail messages ?e.g. Uni(</inu( mail6o(es> .eml #iles saved #rom 2utloo3 -(press@. =ote t,at non1!1- #iles can 6e scanned it, t,is option selected> 6ut t,is ill slo t,e scan do n. Extract Attachments and Macros from M) Office #ocuments+ !# selected> ClamWin ill c,ec3 #or macro viruses in 1+ 2##ice documents. 'r* to )can Executa%le Files Onl*+ !# selected> ClamWin ill c,ec3 onl) e(ecuta6le #iles. Additional Clamscan Command 3ine &arameters+ !# )ou ant to use Clamscan command line options t,at are not currentl) supported 6) ClamWin> )ou can add t,em ,ere. 3imit 3og File )i5e 'o+ 2lder logs ill 6e deleted ,en necessar) to 3eep t,e log #ile it,in t,e speci#ied siLe. )canner &riorit*+ T,is can 6e set to /o or =ormal> and determines ,o t,e C'U c)cles are split 6et een ClamWin and ot,er running applications. T,e de#ault setting is /o ,ic, ma) ma3e scans slo er> 6ut s,ould ,ave less impact on ot,er applications.

Usage
T,ere are several a)s to use ClamWin8

0un #rom t,e +tart menu 0un #rom t,e s)stem tra) icon +c,eduled scans 2utloo3 integration Windo s -(plorer integration

T,is section ill discuss eac, met,od in turn

Run from the Start

enu

;) de#ault> during installation> a program group named JClamWin AntivirusJ is created> ,ic, contains J5irus +cannerJ> ,elp<manual and uninstaller. +electing C5irus +cannerD ill start ClamWin it, t,e main indo open> as s,o n 6elo 8

To scan a #ile or a #older> simpl) select it in t,e main indo > and clic3 t,e )can 6utton ?or clic3 File 6 )can Files in t,e menu or clic3 t,e last icon in t,e tool6ar@. 1ultiple #iles<#olders can 6e selected 6) ,olding do n t,e Control or )hift 3e) ,ilst clic3ing. To scan all programs t,at are currentl) loaded in memor)> select File 6 )can Memor*. 1emor) scanning can also 6e started using t,e t,ird icon in t,e tool6ar.

Run from the system tray icon


To run ClamWin #rom t,e s)stem tra) icon> eit,er dou6le-clic3 on t,e icon or rig,t-clic3 and select Open ClamWin. ClamWin ill 6e started it, t,e main indo open> as a6ove.

T,e s)stem tra) icon allo s ot,er options to 6e selected on rig,t-clic38 #ownload $irus #ata%ase /pdate8 T,is ill cause ClamWin to c,ec3 #or updates to t,e virus data6ase> and do nload an) updates t,at are availa6le. Configure ClamWin8 T,is ill displa) ClamWin4s pre#erences dialogue> ,ere ClamWin4s settings can 6e altered. )cheduler8 !# t,e mouse is moved over t,is option> a su6menu ill 6e displa)ed. From t,is su6-menu> sc,eduled scans can 6e con#igured> alread) con#igured sc,eduled scans can 6e run> or running scans can 6e stopped. #ispla* -eports8 !# t,e mouse is moved over t,is option> a su6-menu ill 6e displa)ed. From t,is su6-menu> t,e C5irus Data6ase Update 0eportD or C5irus +can 0eportD can 6e vie ed. Check 3atest $ersion8 T,is ill open t,e de#ault 6ro ser at t,e ClamWin e6 site> and c,ec3 t,e installed version o# ClamWin. T,e page ill displa) a message s,o ing t,e latest version availa6le> and ,et,er or not t,e latest version is installed> along it, a lin3 to t,e do nload page> so t,at a ne er version can 6e do nloaded i# re9uired. $isit ClamWin We%site8 T,is ill open t,e de#ault 6ro ser at t,e ClamWin e6 site.

Scheduled Scans
+c,eduled scans can 6e set up in t,e pre#erences dialogue ?Tools G 're#erences G +c,eduled +cans@ or #rom s)stem tra) icon ?+c,eduler G Con#igure +c,eduler@. !# a sc,eduled scan is set up> ClamWin ill run a scan at t,e speci#ied time> it,out interrupting t,e user. !# a virus is #ound> a 6alloon noti#ication ill appear a6ove t,e s)stem tra) icon ?note8 t,e 6alloon noti#ication #eature does not or3 in Windo s 9*@. T,e action ta3en 6) ClamWin on detecting a virus ill 6e determined 6) ,at ,as 6een set in t,e 7eneral ta6 o# t,e pre#erences dialogue.

S !utloo" Integration
!# 2utloo3 is installed on t,e computer> and t,e Integration with Microsoft Outlook option as selected during t,e installation o# ClamWin> t,en ClamWin ill scan all incoming and outgoing emails #or viruses. T,is is done entirel) automaticall)> it, no user intervention re9uired. !# an incoming e-mail ,as a virus attac,ed> t,e virus attac,ment is replaced it, a report #ile.

#indo$s Explorer Integration


!# t,e Integration with Windows Explorer option as selected during t,e installation o# ClamWin> an e(tra option ?)can For $iruses With ClamWin@ ill 6e added to t,e Windo s -(plorer rig,t-clic3 menu. 0ig,t-clic3ing on a #ile or #older and selecting t,is option ill scan t,e #ile or #older #or viruses> providing a 9uic3 and simple a) to scan suspicious #iles.

Installation Instructions
Do nload t,e latest installer #rom .clam in.com. Close all running programs ?especiall) 2utloo3 and ClamWin@> t,en dou6le-clic3 on t,e do nloaded #ile to run it. !# )ou alread) ,ave a cop) o# ClamWin installed> )ou can upgrade it 6) simpl) running t,e installer #or a later version> and installing on top o# t,e e(isting version. A#ter clic3ing Next on t,e initial screen> t,e licence terms ill 6e displa)ed. T,is program is released under t,e $=U $eneral 'u6lic /icense. Aou must agree to t,e terms o# t,is licence to use t,is program. T,e installation program ill also install 6inar) #iles #rom Clam Anti-5irus ? .clamav.net@> ,ic, is also distri6uted under t,e $=U $eneral 'u6lic /icense. 2n t,e ne(t screen t,e installer ill as3 )ou ,et,er )ou ant to ma3e ClamWin availa6le to ever) user o# t,e computer> or Bust to )oursel#. T,e recommended setting ,ere is CAn)one ,o uses t,is computerD. =e(t> )ou ill 6e as3ed ,ere )ou ould li3e ClamWin to 6e installed. T,e de#ault option is sensi6le> and )ou s,ould onl) c,ange it i# )ou ,ave a particular reason to do so. =e(t> )ou ill 6e as3ed ,ic, parts o# t,e program to install. T o selections ?ClamA5 Files and ClamWin Files@ are gre)ed out and cannot 6e de-selected. T,is is 6ecause t,ese #iles are essential #or t,e program4s correct operation. T,e ot,er options are as #ollo s8 Integration with Windows Explorer8 !# t,is option is selected> an e(tra option is added to Windo s -(plorer4s rig,t-clic3 menu> allo ing #iles to 6e scanned 9uic3l) and easil). Integration with Microsoft Outlook8 !# t,is option is selected> and i# 1icroso#t 2utloo3 is installed> an 2utloo3 add-in ill 6e installed> ,ic, ill c,ec3 all incoming and outgoing e-mails #or viruses automaticall). =ote t,at t,is option ill onl) appear i# 1icroso#t 2utloo3 ?not 1+ 2utloo3 -(press@ is installed. International Help Files8 T,is section ,as su6-sections #or di##erent languages. Alt,oug, ClamWin is not )et availa6le in localised versions> mem6ers o# t,e communit) ,ave provided translations o# t,e ,elp #iles and<or manual. +electing t,e relevant languages in t,is section ill install t,ese translated ,elp #iles<manuals. =e(t> )ou ill 6e as3ed ,ic, +tart 1enu #older ClamWin4s icons s,ould 6e placed in. ;) de#ault> a ne #older named ClamWin Anti irus ill 6e created> and t,e icons placed in t,at. T,e ne(t screen as3s i# )ou ould li3e to do nload virus data6ase #iles as soon as t,e program is installed. !t is a good idea to update t,e virus data6ase #iles as soon as possi6le. =ote ,o ever t,at i# )ou connect to t,e internet using a pro()> )ou s,ould #irst con#igure t,e pro() settings 6e#ore )ou can do nload t,e updates> so )ou ill need to do t,is at a later stage. T,is screen also gives )ou t,e option to ,ave a s,ortcut icon placed on t,e des3top. T,e last screen displa)s a summar) o# t,e options t,at ,ave 6een selected. To install ClamWin it, t,e selected options> clic3 Install. To go 6ac3 and c,ange some options> clic3 ! "ack. !# )ou selected #ownload $irus #ata%ase Files> t,is ill 6e done once t,e program is installed. Aou ill need to 6e connected to t,e !nternet.

How to Uninstall
.. !n order to uninstall ClamWin> go to control panel and launc, CAdd<0emove 'rogramsD t,en remove t,e ClamWin component. T,is ill uninstall ClamWin Free Antivirus #rom )our computer.
=ote8 ;) uninstalling ClamWin application> As3 Tool6ar ill not 6e removed.

2. !n order to uninstall t,e As3 Tool6ar> go to control panel and launc, CAdd<0emove 'rogramsD t,en remove t,e As3 Tool6ar component. T,is ill remove t,e Tool6ar #rom )our e6 6ro ser ?6ot, !- and Fire#o(@.

Advanced Operation
T,is section ,as details #or more advanced users.

odifying %lam#in&s 'efault %onfiguration


!# a cop) o# clam in.con# is in t,e ClamWin e(ecuta6le #iles director) ?JC8M'rogram FilesMClamWinM6inJ on a de#ault installation@> t,en t,e #irst time a user runs ClamWin> it ill use t,e contents o# t,is #ile as t,e de#ault con#iguration. !# )ou are to set up several ne user accounts on a computer> or i# )ou ,ave Bust installed ClamWin on a s)stem it, multiple users> it is recommended t,at )ou set up a de#ault con#iguration and cop) t,e clam in.con# #ile to t,is location.

Running a (irus Scan from the %ommand Line


ClamWin can 6e run #rom t,e command line> #rom a 6atc, #ile #or instance. For a #ull list o# parameters> navigate to t,e director) containing t,e e(ecuta6le #iles ?JC8M'rogram FilesMClamWinM6inJ on a de#ault installation@ and run
clamscan.exe --help

%he database directory must be specified, using the --database=F !"#$ % parameter. &n a default installation, the command to scan the entire C: dri$e would be
clamscan.exe --database=&C:\Pro'ram Files\Clam(in\db& --rec)rsi*e C:\

Note the use of the --rec)rsi*e parameter to ensure that sub-directories are scanned. 'hen run from the command line, a $alue will be returned, indicating whether or not a $irus was detected. &f no $irus is found, the return $alue will be (. &f a $irus is found, the return $alue is ). *ny other return $alue indicates an error.

Updating the (irus 'ata)ase from the %ommand Line


ClamWin uses freshclam.exe to update t,e virus data6ase. As it, t,e clamscan.exe scanning program> t,is can 6e run #rom a command line> 6atc, #ile> etc. For a #ull list o# parameters> navigate to t,e director) containing t,e e(ecuta6le #iles ?JC8M'rogram FilesMClamWinM6inJ on a de#ault installation@ and run
freshclam.exe +help

+oth the database directory and the configuration file must be specified. ,lam'in generates a freshclam configuration file on the fly, so you will ha$e to create your own. %he configuration file is a text file. -ee the ,lam*. documentation for full details of what can be included. * simple freshclam configuration file would ha$e the following lines (lines beginning with a / are comments)
, -%! of ser*er .here database )pdates are to be do.nloaded from , f this option is 'i*en m)ltiple times/ each .ill be tried in , the order 'i*en )ntil an )pdate is s)ccessf)ll0 do.nloaded $atabase1irror database.clama*.net , 2)mber of times to tr0 each mirror before mo*in' to the next one 1ax3ttempts 4

0nce a freshclam configuration file has been created, freshclam can be run with a

command similar to the one below


freshclam --datadir=&C:\$oc)ments and 5ettin's\3ll -sers\.clam.in\db& -confi'-file=&C:\Pro'ram Files\Clam(in\bin\freshclam.conf&

Getting Updates from a Local Server


&f you ha$e ,lam'in running on se$eral networ1ed computers, you may wish to ha$e a single computer downloading updates from the &nternet, with the others getting updates o$er the local networ1. %his can be done in the following way -et up a web ser$er that has the main.c$d and daily.c$d files in the web root directory. &t should be possible to download these files to the client pc2s by pointing a webbrowser at http 33405!-6!.6!N*763main.c$d and http 33405!-6!.6!N*763daily.c$d. &n ,lam'in2s Internet Updates configuration tab on the clients, enter the web ser$er2s &8 address or domain name in the Download Site text box. 9o not include anything other than the &8 address or domain name (eg 167.189.1.1 is correct, http:##167.189.1.1# is wrong). ,lam'in will then :uery the local web ser$er for updates, instead of a remote &nternet ser$er. %he files are a$ailable from www.clama$.net. 4ou can create a batch script that automatically downloads these files to the root of your webser$er using a tool such as wget, li1e .'et http:##:$;<1 %%=%:#main.c*d -= &:(";%==>:\main.c*d&
.'et http:##:$;<1 %%=%:#dail0.c*d -= &:(";%==>:\dail0.c*d&

Note that differential updates are currently impossible. 4ou would ha$e to mirror database.clama$.net, which is not supported for pri$ate use.

anually Updating the (irus 'ata)ase


%o update the $irus database manually, download the $irus database files main.c*d and dail0.c*d and copy them to ,lam'in2s $irus database folder, o$er-writing the existing files.
%he $irus database files can be downloaded from ,lam*.2s home page at www.clama$.net

FAQ: Fre uentl! As"ed Questions


Please see online version of FA* located at+ http+,,$$$-clam$in-com,content,category,.,/,0/,

Troubles#ooting

3his chapter descri)es solutions to the follo$ing issues+


W,en tr)ing to send a test e-mail alert> a message similar to t,e #ollo ing appears --mail clients t,at store messages in a single #ile Con#licts it, some versions o# Active')t,on 2utloo3 2000 does not restore ,en minimised

If your desired topic is not included here2 please see the FA* located at+ http+,,$$$-clam$in-com,content,category,.,/,0/,

Pro)lem+ #hen trying to send a test e1mail alert2 a message similar to the follo$ing appears
Co)ld not send the email. Please ens)re 0o) are connected to the internet. "rror: 51>P instance has no attrib)te ?soc@?

or
Co)ld not send the email. Please ens)re 0o) are connected to the internet. "rror: 51>P 3->A extension not s)pported b0 ser*er

+olution8 T,e +1T' server settings are rong. =ote t,at man) !+'4s do not re9uire a user name K pass ord #or t,e +1T' server. Tr) leaving t,ese settings 6lan3.

E1mail clients that store messages in a single file

+ome e-mail clients ?e.g. T,e ;atI@ store all messages in a single #ile. 2t,ers store eac, e-mail as a separate #ile. !# ClamWin #inds a virus attac,ed to an e-mail> it ill consider t,e entire #ile ?i.e. all t,e e-mails in t,at #ile@ to 6e in#ected. T,ere#ore> t,e entire #ile ill 6e removed or moved to 9uarantine. Aou ma) is, to set t,e Filters ?see t,e instructions on con#iguring ClamWin@ so t,at t,ese #iles are not scanned. Users o# T,e ;atI ma) 6e interested to 3no t,at 1arco 'ontello ,as ritten a plug-in t,at allo s T,e ;atI to use ClamWin to scan attac,ments. 1ore details are availa6le at 1arco4s e6 site.

%onflicts $ith ActivePython

:aving p)t,on installed s,ould not 6e a pro6lem i# )ou ,ave p)t,on 2." and p) in"2-20. ?,ttp8<<source#orge.net<proBects<p) in"2<@ installed. !t seems t,at versions o# Active+tate p)t,on t,at come it, in"2all-.%" ?no p) in"2@ create a D// con#lict. +o i# )ou ,ave Active')t,on 2."> Bust install p) in"2 and it s,ould 6e #ine.

!utloo" 0444 does not restore $hen minimised

W,en ClamWin is installed> 2utloo3 2000 ma) not restore properl) #rom 6eing minimiLed. !nstalling 2##ice 2000 +ervice 0elease .a ?+0-.a@ ill #i( t,is pro6lem> and is generall) recommended> as it includes a num6er o# 6ug #i(es and securit) #i(es. Full details and do nloads are availa6le at ,ttp8<< .microso#t.com<do nloads<details.asp(NFamil)!DOAF%C*D0"-&%""45;4-A;9%-&95--%5%F2A2Kdispla)langO-= or ,ttp8<<tin)url.com<(s)(

Appendi$ A : How to %un Cla&'in fro& CD or US(


Introduction
T,is tutorial e(plains ,o to create a CD or U+; 3e) it, ClamWin> to allo a Windo s 'C to 6e scanned #or viruses it,out ,aving to install ClamWin. =ote t,at t,e CD<U+; 3e) is not 6oota6le> and so can onl) 6e used on a or3ing Windo s 'C. T,e 'C t,at is used to create t,e CD<U+; ill need to ,ave ClamWin installed> and 6e a6le to cop) #iles<#olders to a CD or U+; 3e).

T#e eas! wa! : )ortable Cla&'in


T,e eas) a) is to use t,e pre-6uilt porta6le version o# ClamWin> ,ic, can 6e #ound at ,ttp8<<porta6leapps.com<apps<utilities<clam inPporta6le. =ote t,at t,e maintainers o# t,is 'orta6le ClamWin are not a##iliated it, t,e ClamWin team> so t,e team mig,t not 6e a6le to ans er all )our 9uestions regarding t,is version. Also> ClamWin 'orta6le mig,t 6e some versions 6e,ind t,e o##icial ClamWin release.

)reparation
+tart 6) installing t,e latest version o# ClamWin> and do nload t,e latest virus de#initions. +ee t,e ClamWin manual #or #ull details on ,o to do t,is. =ote t,at> i# )ou are going to create a CD> )ou ill not 6e a6le to update t,e virus de#initions it,out creating a ne CD> since a CD is read-onl).

Cop! Folders
Create a or3ing #older in a convenient location to ,old t,e #iles t,at are to 6e copied onto CD<U+;> e.g. C:\Clam(in-C$. !n t,e or3ing #older> create a #older named Clam(in. Cop) t,e contents o# t,e ClamWin program #older into C:\Clam(in-C$\Clam(in. ;) de#ault> t,e ClamWin program #older is installed to C:\Pro'ram Files\Clam(in Create #olders named lo'> db and B)arantine in C:\Clam(in-C$\Clam(in. Cop) t,e ClamWin data6ase #iles ?all #iles in t,e db #older@ into C:\Clam(inC$\Clam(in\db. !n Windo s 2000<Q'> t,e ClamWin data6ase #older de#aults to C:\$oc)ments and 5ettin's\-5"%231"\.clam.in\db> ,ere -5"%231" is )our login name ?i# it as installed #or a single user@ or C:\$oc)ments and 5ettin's\3ll -sers\.clam.in\db ?i# it as installed #or all users@. Cop) t,e #ollo ing into a te(t #ile named C:\Clam(in-C$\Clam(in\bin\clam.in.conf
C5ched)leD path = .\ CClam3ED clamscan = .\clamscan.exe enablembox = 0 maxfiles = F00 infectedonl0 = 0 database = ..\db incl)depatterns =

scanole7 = 1 excl)depatterns = *.dbxGC!31( 2<5"PG*.tbbGC!31( 2<5"PG*.pstGC!31( 2<5"PG*.datG C!31( 2<5"PG*.lo'GC!31( 2<5"PG*.nsfGC!31( 2<5"PG*.ntfGC!31( 2<5"PG*.chm maxsiHe = 10 scanarchi*es = 1 priorit0 = !o. maxrec)rsion = F maxlo'siHe = 1 mo*einfected = 0 deb)' = 0 lo'file = ..\lo'\Clam5can!o'.txt scanrec)rsi*e = 1 freshclam = .\freshclam.exe B)arantinedir = ..\B)arantine remo*einfected = 0 C- D reportinfected = 1 tra0notif0 = 0 standalone = 1 C-pdatesD db)pdatelo'file = ..\lo'\Clam-pdate!o'.txt enable = 1 dbmirror = database.clama*.net )pdateonlo'on = 0 freB)enc0 = $ail0 .ee@da0 = 7 time = 17:00:00 C"mail3lertsD enable = 0 from = clam.inI0o)rdomain to = adminI0o)rdomain smtppass.ord = smtp)ser = smtphost = smtpport = 7F s)bJect = Clam(in Eir)s 3lert CProx0D host = pass.ord = port = 4179 )ser =

Aou s,ould no ,ave t,e #ollo ing #olders8


C:\Clam(in-C$ C:\Clam(in-C$\Clam(in\bin C:\Clam(in-C$\Clam(in\db C:\Clam(in-C$\Clam(in\lib C:\Clam(in-C$\Clam(in\lo' C:\Clam(in-C$\Clam(in\B)arantine

Cop! Files to CD*US(


=o )ou Bust need to cop) t,e contents o# C:\Clam(in-C$ to a CD or U+; 3e). Do not cop) t,e C:\Clam(in-C$ #older itsel#> onl) t,e contents. -(actl) ,o t,is is done ill depend on ,et,er a CD or U+; 3e) is to 6e used> and ,at so#t are is to 6e used.

Using the %',US5


To use it> insert t,e CD<U+; into t,e 'C to 6e scanned. 0un ClamWin 6) dou6le-clic3ing on t,e Clam(in.exe #ile in t,e Clam(in\bin #older. ClamWin s,ould operate normall)> 6ut i# run #rom CD or read-onl) U+; drive> it ill ,ave t,e #ollo ing restrictions8

Files ill not 6e 9uarantined !nternet updates ill not or3 're#erences cannot 6e c,anged

T,ese restrictions ill not appl) i# it is run #rom a U+; drive it, read- rite permissions.

Appendi$ ( : +,U +-,-%A. )U(.IC .IC-,S5ersion 2> Hune .99. Cop)rig,t ?C@ .9*9> .99. Free +o#t are Foundation> !nc. 59 Temple 'lace> +uite ""0> ;oston> 1A 02...-."0& U+A -ver)one is permitted to cop) and distri6ute ver6atim copies o# t,is license document> 6ut c,anging it is not allo ed.

)rea&ble
T,e licenses #or most so#t are are designed to ta3e a a) )our #reedom to s,are and c,ange it. ;) contrast> t,e $=U $eneral 'u6lic /icense is intended to guarantee )our #reedom to s,are and c,ange #ree so#t are - to ma3e sure t,e so#t are is #ree #or all its users. T,is $eneral 'u6lic /icense applies to most o# t,e Free +o#t are Foundation4s so#t are and to an) ot,er program ,ose aut,ors commit to using it. ?+ome ot,er Free +o#t are Foundation so#t are is covered 6) t,e $=U /i6rar) $eneral 'u6lic /icense instead.@ Aou can appl) it to )our programs> too. W,en e spea3 o# #ree so#t are> e are re#erring to #reedom> not price. 2ur $eneral 'u6lic /icenses are designed to ma3e sure t,at )ou ,ave t,e #reedom to distri6ute copies o# #ree so#t are ?and c,arge #or t,is service i# )ou is,@> t,at )ou receive source code or can get it i# )ou ant it> t,at )ou can c,ange t,e so#t are or use pieces o# it in ne #ree programsR and t,at )ou 3no )ou can do t,ese t,ings. To protect )our rig,ts> e need to ma3e restrictions t,at #or6id an)one to den) )ou t,ese rig,ts or to as3 )ou to surrender t,e rig,ts. T,ese restrictions translate to certain responsi6ilities #or )ou i# )ou distri6ute copies o# t,e so#t are> or i# )ou modi#) it. For e(ample> i# )ou distri6ute copies o# suc, a program> ,et,er gratis or #or a #ee> )ou must give t,e recipients all t,e rig,ts t,at )ou ,ave. Aou must ma3e sure t,at t,e)> too> receive or can get t,e source code. And )ou must s,o t,em t,ese terms so t,e) 3no t,eir rig,ts. We protect )our rig,ts it, t o steps8 ?.@ cop)rig,t t,e so#t are> and ?2@ o##er )ou t,is license ,ic, gives )ou legal permission to cop)> distri6ute and<or modi#) t,e so#t are. Also> #or eac, aut,or4s protection and ours> e ant to ma3e certain t,at ever)one understands t,at t,ere is no arrant) #or t,is #ree so#t are. !# t,e so#t are is modi#ied 6) someone else and passed on> e ant its recipients to 3no t,at ,at t,e) ,ave is not t,e original> so t,at an) pro6lems introduced 6) ot,ers ill not re#lect on t,e original aut,ors4 reputations. Finall)> an) #ree program is t,reatened constantl) 6) so#t are patents. We is, to avoid t,e danger t,at redistri6utors o# a #ree program ill individuall) o6tain patent licenses> in e##ect ma3ing t,e program proprietar). To prevent t,is> e ,ave made it clear t,at an) patent must 6e licensed #or ever)one4s #ree use or not licensed at all. T,e precise terms and conditions #or cop)ing> distri6ution and modi#ication #ollo .

+,U +eneral )ublic .icense Ter&s and Conditions for Cop!ing/ Distribution and 0odification
0. T,is /icense applies to an) program or ot,er or3 ,ic, contains a notice placed 6) t,e cop)rig,t ,older sa)ing it ma) 6e distri6uted under t,e terms o# t,is $eneral 'u6lic /icense. T,e J'rogramJ> 6elo > re#ers to an) suc, program or or3> and a J or3 6ased on t,e 'rogramJ means

eit,er t,e 'rogram or an) derivative or3 under cop)rig,t la 8 t,at is to sa)> a or3 containing t,e 'rogram or a portion o# it> eit,er ver6atim or it, modi#ications and<or translated into anot,er language. ?:ereina#ter> translation is included it,out limitation in t,e term Jmodi#icationJ.@ -ac, licensee is addressed as J)ouJ. Activities ot,er t,an cop)ing> distri6ution and modi#ication are not covered 6) t,is /icenseR t,e) are outside its scope. T,e act o# running t,e 'rogram is not restricted> and t,e output #rom t,e 'rogram is covered onl) i# its contents constitute a or3 6ased on t,e 'rogram ?independent o# ,aving 6een made 6) running t,e 'rogram@. W,et,er t,at is true depends on ,at t,e 'rogram does. .. Aou ma) cop) and distri6ute ver6atim copies o# t,e 'rogram4s source code as )ou receive it> in an) medium> provided t,at )ou conspicuousl) and appropriatel) pu6lis, on eac, cop) an appropriate cop)rig,t notice and disclaimer o# arrant)R 3eep intact all t,e notices t,at re#er to t,is /icense and to t,e a6sence o# an) arrant)R and give an) ot,er recipients o# t,e 'rogram a cop) o# t,is /icense along it, t,e 'rogram. Aou ma) c,arge a #ee #or t,e p,)sical act o# trans#erring a cop)> and )ou ma) at )our option o##er arrant) protection in e(c,ange #or a #ee. 2. Aou ma) modi#) )our cop) or copies o# t,e 'rogram or an) portion o# it> t,us #orming a or3 6ased on t,e 'rogram> and cop) and distri6ute suc, modi#ications or or3 under t,e terms o# +ection . a6ove> provided t,at )ou also meet all o# t,ese conditions8 a@ Aou must cause t,e modi#ied #iles to carr) prominent notices stating t,at )ou c,anged t,e #iles and t,e date o# an) c,ange. 6@ Aou must cause an) or3 t,at )ou distri6ute or pu6lis,> t,at in ,ole or in part contains or is derived #rom t,e 'rogram or an) part t,ereo#> to 6e licensed as a ,ole at no c,arge to all t,ird parties under t,e terms o# t,is /icense. c@ !# t,e modi#ied program normall) reads commands interactivel) ,en run> )ou must cause it> ,en started running #or suc, interactive use in t,e most ordinar) a)> to print or displa) an announcement including an appropriate cop)rig,t notice and a notice t,at t,ere is no arrant) ?or else> sa)ing t,at )ou provide a arrant)@ and t,at users ma) redistri6ute t,e program under t,ese conditions> and telling t,e user ,o to vie a cop) o# t,is /icense. ?-(ception8 i# t,e 'rogram itsel# is interactive 6ut does not normall) print suc, an announcement> )our or3 6ased on t,e 'rogram is not re9uired to print an announcement.@ T,ese re9uirements appl) to t,e modi#ied or3 as a ,ole. !# identi#ia6le sections o# t,at or3 are not derived #rom t,e 'rogram> and can 6e reasona6l) considered independent and separate or3s in t,emselves> t,en t,is /icense> and its terms> do not appl) to t,ose sections ,en )ou distri6ute t,em as separate or3s. ;ut ,en )ou distri6ute t,e same sections as part o# a ,ole ,ic, is a or3 6ased on t,e 'rogram> t,e distri6ution o# t,e ,ole must 6e on t,e terms o# t,is /icense> ,ose permissions #or ot,er licensees e(tend to t,e entire ,ole> and t,us to eac, and ever) part regardless o# ,o rote it. T,us> it is not t,e intent o# t,is section to claim rig,ts or contest )our rig,ts to or3 ritten entirel) 6) )ouR rat,er> t,e intent is to e(ercise t,e rig,t to control t,e distri6ution o# derivative or collective or3s 6ased on t,e 'rogram. !n addition> mere aggregation o# anot,er or3 not 6ased on t,e 'rogram it, t,e 'rogram ?or it, a or3 6ased on t,e 'rogram@ on a volume o# a storage or distri6ution medium does not 6ring t,e ot,er or3 under t,e scope o# t,is /icense.

". Aou ma) cop) and distri6ute t,e 'rogram ?or a or3 6ased on it> under +ection 2@ in o6Bect code or e(ecuta6le #orm under t,e terms o# +ections . and 2 a6ove provided t,at )ou also do one o# t,e #ollo ing8 a@ Accompan) it it, t,e complete corresponding mac,ine-reada6le source code> ,ic, must 6e distri6uted under t,e terms o# +ections . and 2 a6ove on a medium customaril) used #or so#t are interc,angeR or> 6@ Accompan) it it, a ritten o##er> valid #or at least t,ree )ears> to give an) t,ird part)> #or a c,arge no more t,an )our cost o# p,)sicall) per#orming source distri6ution> a complete mac,inereada6le cop) o# t,e corresponding source code> to 6e distri6uted under t,e terms o# +ections . and 2 a6ove on a medium customaril) used #or so#t are interc,angeR or> c@ Accompan) it it, t,e in#ormation )ou received as to t,e o##er to distri6ute corresponding source code. ?T,is alternative is allo ed onl) #or noncommercial distri6ution and onl) i# )ou received t,e program in o6Bect code or e(ecuta6le #orm it, suc, an o##er> in accord it, +u6section 6 a6ove.@ T,e source code #or a or3 means t,e pre#erred #orm o# t,e or3 #or ma3ing modi#ications to it. For an e(ecuta6le or3> complete source code means all t,e source code #or all modules it contains> plus an) associated inter#ace de#inition #iles> plus t,e scripts used to control compilation and installation o# t,e e(ecuta6le. :o ever> as a special e(ception> t,e source code distri6uted need not include an)t,ing t,at is normall) distri6uted ?in eit,er source or 6inar) #orm@ it, t,e maBor components ?compiler> 3ernel> and so on@ o# t,e operating s)stem on ,ic, t,e e(ecuta6le runs> unless t,at component itsel# accompanies t,e e(ecuta6le. !# distri6ution o# e(ecuta6le or o6Bect code is made 6) o##ering access to cop) #rom a designated place> t,en o##ering e9uivalent access to cop) t,e source code #rom t,e same place counts as distri6ution o# t,e source code> even t,oug, t,ird parties are not compelled to cop) t,e source along it, t,e o6Bect code. 4. Aou ma) not cop)> modi#)> su6license> or distri6ute t,e 'rogram e(cept as e(pressl) provided under t,is /icense. An) attempt ot,er ise to cop)> modi#)> su6license or distri6ute t,e 'rogram is void> and ill automaticall) terminate )our rig,ts under t,is /icense. :o ever> parties ,o ,ave received copies> or rig,ts> #rom )ou under t,is /icense ill not ,ave t,eir licenses terminated so long as suc, parties remain in #ull compliance. 5. Aou are not re9uired to accept t,is /icense> since )ou ,ave not signed it. :o ever> not,ing else grants )ou permission to modi#) or distri6ute t,e 'rogram or its derivative or3s. T,ese actions are pro,i6ited 6) la i# )ou do not accept t,is /icense. T,ere#ore> 6) modi#)ing or distri6uting t,e 'rogram ?or an) or3 6ased on t,e 'rogram@> )ou indicate )our acceptance o# t,is /icense to do so> and all its terms and conditions #or cop)ing> distri6uting or modi#)ing t,e 'rogram or or3s 6ased on it. %. -ac, time )ou redistri6ute t,e 'rogram ?or an) or3 6ased on t,e 'rogram@> t,e recipient automaticall) receives a license #rom t,e original licensor to cop)> distri6ute or modi#) t,e 'rogram su6Bect to t,ese terms and conditions. Aou ma) not impose an) #urt,er restrictions on t,e recipients4 e(ercise o# t,e rig,ts granted ,erein. Aou are not responsi6le #or en#orcing compliance 6) t,ird parties to t,is /icense. &. !#> as a conse9uence o# a court Budgment or allegation o# patent in#ringement or #or an) ot,er reason ?not limited to patent issues@> conditions are imposed on )ou ? ,et,er 6) court order>

agreement or ot,er ise@ t,at contradict t,e conditions o# t,is /icense> t,e) do not e(cuse )ou #rom t,e conditions o# t,is /icense. !# )ou cannot distri6ute so as to satis#) simultaneousl) )our o6ligations under t,is /icense and an) ot,er pertinent o6ligations> t,en as a conse9uence )ou ma) not distri6ute t,e 'rogram at all. For e(ample> i# a patent license ould not permit ro)alt)-#ree redistri6ution o# t,e 'rogram 6) all t,ose ,o receive copies directl) or indirectl) t,roug, )ou> t,en t,e onl) a) )ou could satis#) 6ot, it and t,is /icense ould 6e to re#rain entirel) #rom distri6ution o# t,e 'rogram. !# an) portion o# t,is section is ,eld invalid or unen#orcea6le under an) particular circumstance> t,e 6alance o# t,e section is intended to appl) and t,e section as a ,ole is intended to appl) in ot,er circumstances. !t is not t,e purpose o# t,is section to induce )ou to in#ringe an) patents or ot,er propert) rig,t claims or to contest validit) o# an) suc, claimsR t,is section ,as t,e sole purpose o# protecting t,e integrit) o# t,e #ree so#t are distri6ution s)stem> ,ic, is implemented 6) pu6lic license practices. 1an) people ,ave made generous contri6utions to t,e ide range o# so#t are distri6uted t,roug, t,at s)stem in reliance on consistent application o# t,at s)stemR it is up to t,e aut,or<donor to decide i# ,e or s,e is illing to distri6ute so#t are t,roug, an) ot,er s)stem and a licensee cannot impose t,at c,oice. T,is section is intended to ma3e t,oroug,l) clear ,at is 6elieved to 6e a conse9uence o# t,e rest o# t,is /icense. *. !# t,e distri6ution and<or use o# t,e 'rogram is restricted in certain countries eit,er 6) patents or 6) cop)rig,ted inter#aces> t,e original cop)rig,t ,older ,o places t,e 'rogram under t,is /icense ma) add an e(plicit geograp,ical distri6ution limitation e(cluding t,ose countries> so t,at distri6ution is permitted onl) in or among countries not t,us e(cluded. !n suc, case> t,is /icense incorporates t,e limitation as i# ritten in t,e 6od) o# t,is /icense. 9. T,e Free +o#t are Foundation ma) pu6lis, revised and<or ne versions o# t,e $eneral 'u6lic /icense #rom time to time. +uc, ne versions ill 6e similar in spirit to t,e present version> 6ut ma) di##er in detail to address ne pro6lems or concerns. -ac, version is given a distinguis,ing version num6er. !# t,e 'rogram speci#ies a version num6er o# t,is /icense ,ic, applies to it and Jan) later versionJ> )ou ,ave t,e option o# #ollo ing t,e terms and conditions eit,er o# t,at version or o# an) later version pu6lis,ed 6) t,e Free +o#t are Foundation. !# t,e 'rogram does not speci#) a version num6er o# t,is /icense> )ou ma) c,oose an) version ever pu6lis,ed 6) t,e Free +o#t are Foundation. .0. !# )ou is, to incorporate parts o# t,e 'rogram into ot,er #ree programs ,ose distri6ution conditions are di##erent> rite to t,e aut,or to as3 #or permission. For so#t are ,ic, is cop)rig,ted 6) t,e Free +o#t are Foundation> rite to t,e Free +o#t are FoundationR e sometimes ma3e e(ceptions #or t,is. 2ur decision ill 6e guided 6) t,e t o goals o# preserving t,e #ree status o# all derivatives o# our #ree so#t are and o# promoting t,e s,aring and reuse o# so#t are generall).

,o 'arrant!
... ;-CAU+- T:- '02$0A1 !+ /!C-=+-D F0-- 2F C:A0$-> T:-0- !+ =2 WA00A=TA F20 T:- '02$0A1> T2 T:- -QT-=T '-01!TT-D ;A A''/!CA;/- /AW. -QC-'T W:-= 2T:-0W!+- +TAT-D != W0!T!=$ T:- C2'A0!$:T :2/D-0+ A=D<20

2T:-0 'A0T!-+ '025!D- T:- '02$0A1 JA+ !+J W!T:2UT WA00A=TA 2F A=A S!=D> -!T:-0 -Q'0-++-D 20 !1'/!-D> !=C/UD!=$> ;UT =2T /!1!T-D T2> T:!1'/!-D WA00A=T!-+ 2F 1-0C:A=TA;!/!TA A=D F!T=-++ F20 A 'A0T!CU/A0 'U0'2+-. T:- -=T!0- 0!+S A+ T2 T:- 7UA/!TA A=D '-0F201A=C- 2F T:'02$0A1 !+ W!T: A2U. +:2U/D T:- '02$0A1 '025- D-F-CT!5-> A2U A++U1T:- C2+T 2F A// =-C-++A0A +-05!C!=$> 0-'A!0 20 C200-CT!2=. .2. != =2 -5-=T U=/-++ 0-7U!0-D ;A A''/!CA;/- /AW 20 A$0--D T2 != W0!T!=$ W!// A=A C2'A0!$:T :2/D-0> 20 A=A 2T:-0 'A0TA W:2 1AA 12D!FA A=D<20 0-D!+T0!;UT- T:- '02$0A1 A+ '-01!TT-D A;25-> ;- /!A;/T2 A2U F20 DA1A$-+> !=C/UD!=$ A=A $-=-0A/> +'-C!A/> !=C!D-=TA/ 20 C2=+-7U-=T!A/ DA1A$-+ A0!+!=$ 2UT 2F T:- U+- 20 !=A;!/!TA T2 U+- T:'02$0A1 ?!=C/UD!=$ ;UT =2T /!1!T-D T2 /2++ 2F DATA 20 DATA ;-!=$ 0-=D-0-D !=ACCU0AT- 20 /2++-+ +U+TA!=-D ;A A2U 20 T:!0D 'A0T!-+ 20 A FA!/U0- 2F T:- '02$0A1 T2 2'-0AT- W!T: A=A 2T:-0 '02$0A1+@> -5-= !F +UC: :2/D-0 20 2T:-0 'A0TA :A+ ;--= AD5!+-D 2F T:- '2++!;!/!TA 2F +UC: DA1A$-+. -=D 2F T-01+ A=D C2=D!T!2=+

How to Appl! T#ese Ter&s to 1our ,ew )rogra&s


!# )ou develop a ne program> and )ou ant it to 6e o# t,e greatest possi6le use to t,e pu6lic> t,e 6est a) to ac,ieve t,is is to ma3e it #ree so#t are ,ic, ever)one can redistri6ute and c,ange under t,ese terms. To do so> attac, t,e #ollo ing notices to t,e program. !t is sa#est to attac, t,em to t,e start o# eac, source #ile to most e##ectivel) conve) t,e e(clusion o# arrant)R and eac, #ile s,ould ,ave at least t,e Jcop)rig,tJ line and a pointer to ,ere t,e #ull notice is #ound. Fone line to give t,e program4s name and a 6rie# idea o# ,at it does.G Cop)rig,t ?C@ F)earG Fname o# aut,orG T,is program is #ree so#t areR )ou can redistri6ute it and<or modi#) it under t,e terms o# t,e $=U $eneral 'u6lic /icense as pu6lis,ed 6) t,e Free +o#t are FoundationR eit,er version 2 o# t,e /icense> or ?at )our option@ an) later version. T,is program is distri6uted in t,e ,ope t,at it ill 6e use#ul> 6ut W!T:2UT A=A WA00A=TAR it,out even t,e implied arrant) o# 1-0C:A=TA;!/!TA or F!T=-++ F20 A 'A0T!CU/A0 'U0'2+-. +ee t,e $=U $eneral 'u6lic /icense #or more details. Aou s,ould ,ave received a cop) o# t,e $=U $eneral 'u6lic /icense along it, t,is programR i# not> rite to t,e Free +o#t are Foundation> !nc.> 59 Temple 'lace> +uite ""0> ;oston> 1A 02...."0& U+A Also add in#ormation on ,o to contact )ou 6) electronic and paper mail. !# t,e program is interactive> ma3e it output a s,ort notice li3e t,is ,en it starts in an interactive mode8 $nomovision version %9> Cop)rig,t ?C@ )ear name o# aut,or $nomovision comes it, A;+2/UT-/A =2 WA00A=TAR #or details t)pe Ts,o 4. T,is is #ree so#t are> and )ou are elcome to redistri6ute it under certain conditionsR t)pe Ts,o c4 #or details. T,e ,)pot,etical commands Ts,o 4 and Ts,o c4 s,ould s,o t,e appropriate parts o# t,e $eneral

'u6lic /icense. 2# course> t,e commands )ou use ma) 6e called somet,ing ot,er t,an Ts,o Ts,o c4R t,e) could even 6e mouse-clic3s or menu items - ,atever suits )our program.

4 and

Aou s,ould also get )our emplo)er ?i# )ou or3 as a programmer@ or )our sc,ool> i# an)> to sign a Jcop)rig,t disclaimerJ #or t,e program> i# necessar). :ere is a sampleR alter t,e names8 Ao)od)ne> !nc.> ,ere6) disclaims all cop)rig,t interest in t,e program T$nomovision4 ? ,ic, ma3es passes at compilers@ ritten 6) Hames :ac3er. Fsignature o# T) CoonG> . April .9*9 T) Coon> 'resident o# 5ice T,is $eneral 'u6lic /icense does not permit incorporating )our program into proprietar) programs. !# )our program is a su6routine li6rar)> )ou ma) consider it more use#ul to permit lin3ing proprietar) applications it, t,e li6rar). !# t,is is ,at )ou ant to do> use t,e $=U /i6rar) $eneral 'u6lic /icense instead o# t,is /icense.

You might also like