ZORPGPL UHU FELHASZNÁLÓI KÉZIKÖNYV



Hasonló dokumentumok
A3050 ZE WiFi APP_IB_04218A-00_HU.indd :45:53

MT-FTA médiakonverter Kezelési útmutató

A3050 EU WiFi APP_IB_04215A-00_HU.indd :24:12

MT-FTA MÉDIAKONVERTER KEZELÉSI ÚTMUTATÓ

Az Open Data jogi háttere. Dr. Telek Eszter

BR-6258nL Quick Installation Guide

Az eszemélyi Kliens végfelhasználói szerződése -EULA

TestLine - Angol teszt Minta feladatsor

i m Watch smartwatch felhasznaloi kezikönyv és jótállási jegy

EW-7416APn v2 & EW-7415PDn

A HUEDU OpenLab iskolai alkalmazáscsomag Kovács Lajos

Belügyminisztérium. eszemélyi Kliens. Az eszemélyi Kliens végfelhasználói szerződése EULA

EW-7438RPn. Gyors telepítési útmutató / v1.2

IC-3140W Quick Installation Guide

Vállalati kockázatkezelés jelentősége

EN United in diversity EN A8-0206/419. Amendment

Könnyen bevezethető ITIL alapú megoldások a Novell ZENworks segítségével. Hargitai Zsolt Sales Support Manager Novell Hungary

USER MANUAL Guest user

Csatlakozás a BME eduroam hálózatához Setting up the BUTE eduroam network

Nagyvállalati Linux üzemeltetés Horváth Gábor Kálmán

Aktuális adózási és szabályozási kérdések a turizmusban 2012-es adóváltozások Személyi jövedelemadó

This document has been provided by the International Center for Not-for-Profit Law (ICNL).

ENROLLMENT FORM / BEIRATKOZÁSI ADATLAP

Utasítások. Üzembe helyezés

Angol Középfokú Nyelvvizsgázók Bibliája: Nyelvtani összefoglalás, 30 kidolgozott szóbeli tétel, esszé és minta levelek + rendhagyó igék jelentéssel

Nemzetközi vállalat - a vállalati szoftvermegoldások egyik vezető szállítója

Intézményi IKI Gazdasági Nyelvi Vizsga

SUSE Success Stories Varga Zsolt

Illesztőprogram küldése

Bevezetés a Modbus kommunikációba

Cloud computing. Cloud computing. Dr. Bakonyi Péter.


1. Gyakorlat: Telepítés: Windows Server 2008 R2 Enterprise, Core, Windows 7

Tudományos Ismeretterjesztő Társulat

(NGB_TA024_1) MÉRÉSI JEGYZŐKÖNYV

Néhány folyóiratkereső rendszer felsorolása és példa segítségével vázlatos bemutatása Sasvári Péter

USA Befektetési Útmutató

Az Ön kézikönyve PHILIPS BDP-3250

Telepítési gyorskalauz

ANGOL NYELV KÖZÉPSZINT SZÓBELI VIZSGA I. VIZSGÁZTATÓI PÉLDÁNY

Cloud computing Dr. Bakonyi Péter.

Gyorskalauz. Köszönti a SUSE Linux Enterprise Server! SUSE. Minimális rendszerkövetelmények. SUSE Linux Enterprise Server telepítés

Construction of a cube given with its centre and a sideline

Az egészségügyi munkaerő toborzása és megtartása Európában

Számítógépes Hálózatok GY 8.hét


Személyes adatváltoztatási formanyomtatvány- Magyarország / Personal Data Change Form - Hungary

G Data MasterAdmin 9 0 _ 09 _ _ # r_ e p a P ch e T 1

LHSimulations EULA (End-user Licence Agreement) Végfelhasználói licenc megállapodás

Az Ön kézikönyve ASUS RT-AC66U

Cashback 2015 Deposit Promotion teljes szabályzat

Directors and Officers Liability Insurance Questionnaire Adatlap vezetõ tisztségviselõk és felügyelõbizottsági tagok felelõsségbiztosításához

Az Ön kézikönyve PHILIPS HMP5000

Gyorskalauz. SUSE Linux Enterprise Server 11 SP3. Minimális rendszerkövetelmények. SUSE Linux Enterprise Server telepítés

FOSS4G-CEE Prágra, 2012 május. Márta Gergely Sándor Csaba

Hogyan használja az OROS online pótalkatrész jegyzéket?

Teszt topológia E1/1 E1/0 SW1 E1/0 E1/0 SW3 SW2. Kuris Ferenc - [HUN] Cisco Blog -

Széchenyi István Egyetem

3. MINTAFELADATSOR KÖZÉPSZINT. Az írásbeli vizsga időtartama: 30 perc. III. Hallott szöveg értése

This document has been provided by the International Center for Not-for-Profit Law (ICNL).

HASZNÁLATI ÚTMUTATÓ. Code: hu

Telepítési gyorskalauz

Tudás Reflektor. Copyright 2011; Kodácsy Tamás;

Lopocsi Istvánné MINTA DOLGOZATOK FELTÉTELES MONDATOK. (1 st, 2 nd, 3 rd CONDITIONAL) + ANSWER KEY PRESENT PERFECT + ANSWER KEY

Lexington Public Schools 146 Maple Street Lexington, Massachusetts 02420

Contact us Toll free (800) fax (800)

ACO burkolható fedlapok. ACO műszaki katalógus ACO Burkolható fedlapok UNIFACE PAVING SOLID

Ellenőrző lista. 2. Hálózati útvonal beállítások, kapcsolatok, névfeloldások ellenőrzése: WebEC és BKPR URL-k kliensről történő ellenőrzése.

SOPHOS simple + secure. A dobozba rejtett biztonság UTM 9. Kókai Gábor - Sophos Advanced Engineer Balogh Viktor - Sophos Architect SOPHOS

Az Ön kézikönyve SAMSUNG SCX-4216F

Személyes adatváltoztatási formanyomtatvány - Magyarország / Personal Data Change Form - Hungary

Tudományos Ismeretterjesztő Társulat

Judas 1 1 Judas 6. Judas

Using the CW-Net in a user defined IP network

13. gyakorlat Deák Kristóf

Payment Center. Rövid útmutató. Verzió 1.0.1

(Asking for permission) (-hatok/-hetek?; Szabad ni? Lehet ni?) Az engedélykérés kifejezésére a következő segédigéket használhatjuk: vagy vagy vagy

Telepítési gyorskalauz

Gyorskalauz SUSE Linux Enterprise Desktop 11

Affinium LED string lp w6300 P10

STUDENT LOGBOOK. 1 week general practice course for the 6 th year medical students SEMMELWEIS EGYETEM. Name of the student:

Samsung Universal Print Driver Felhasználói útmutató

DOAS változások, összefoglaló

ASUS GX800 lézeres játékegér

FELHASZNÁLÓI ÚTMUTATÓ. A MODEM SETUP for Nokia 6510 PROGRAMCSOMAGHOZ. Copyright Nokia Corporation Minden jog fenntartva.

Can/be able to. Using Can in Present, Past, and Future. A Can jelen, múlt és jövő idejű használata

Adózási kérdések az innováció és a K+F területén február 28.

ELOECMSzakmai Kongresszus2013

TRENDnetVIEW Pro szoftvert. ŸGyors telepítési útmutató (1)

Nyomtatók, kiegészítők és állványok kompatibilitási útmutatója

A számítástechnika gyakorlata WIN 2000 I. Szerver, ügyfél Protokoll NT domain, Peer to Peer Internet o WWW oftp opop3, SMTP. Webmail (levelező)

5.4.2 Laborgyakorlat: A Windows XP telepítése

bab.la Cümle Kalıpları: İş Sipariş İngilizce-Macarca

bab.la Cümle Kalıpları: İş Sipariş Macarca-İngilizce

Digitális fényképezőgép Szoftver útmutató

SUSE Studio 1.3 Hargitai Zsolt

Új fenomén a magyar biztosítási jogban: a biztosítottak közvetlen perlési joga a viszontbiztosítóval szemben a direkt biztosító csődje esetén

Számítógépes Hálózatok GY 9.hét

János. 1 1 Arról írunk nektek, ami kezdettől fogva volt. Arról, első levele

Átírás:

ZORPGPL UHU FELHASZNÁLÓI KÉZIKÖNYV

1.0b kiadás, a kézirat lezárva 2003. december 1-én. Copyright 2002, 2003, 2004, BalaBit IT Kft. A kiadvány tartalmának, illetve részeinek sokszorosítása abban az esetben engedélyezett, ha jelen licencet minden másolt példány tartalmazza. Jelen kiadványt más kiadvány részeként vagy egyéb termék kiegészítőjeként csak az UHU-Linux Kft előzetes engedélyével lehet forgalomba hozni. Utóbbi esetben az UHU-Linux Kft írásos hozzájárulásának másolatát a kiadványnak/terméknek tartalmaznia kell. A kiadványban szereplő információkat a szerzők legjobb tudásuk szerint állították össze, ennek ellenére hiba előfordulása nem kizárható. A szerzők és az UHU-Linux Kft. semmiféle felelősséget nem vállalnak és semmilyen anyagi kárért nem felelősek, amely bármilyen vélt, vagy valós módon a kiadványban leírtak alkalmazásából eredhet. A kiadvánnyal kapcsolatos javaslatokat, megjegyzéseket a következő e-mail címre kérjük elküldeni: doksi@uhulinux.hu A kiadvány készítésekor kizárólag szabad szoftverek kerültek felhasználásra. A nyomdai előkészítést a L A TEX tördelőprogram végezte. A teljes folyamat szabad felhasználású Linux operációs rendszer alatt zajlott le. Szerzők: a BalaBit IT Kft munkatársai Szerkesztette és kiegészítette: Hazai Géza janu@ubk.hu Szedés: L A TEX2e 3.14159 verzió A kiadvány a Magyar Linux Alapítvány (http://www.linuxalapitvany.hu) szervezésében készült

Tartalomjegyzék Előszó ix Az ismertetőről................................. xi Tartalmi összefoglaló............................. xi Termékengedély A termékengedély magyar fordítása..................... xv xxii 1. Bevezetés 1 1.1. A tűzfalakról általában.......................... 1 1.2. A termék áttekintése........................... 3 1.2.1. A Zorp jellemzői.......................... 3 1.3. Zorp biztonsági architektúra...................... 5 1.4. Az adatkezelés áttekintése........................ 7 1.5. Fontosabb fogalmak........................... 9 1.6. A program alapértelmezett működése................. 10 2. Telepítés előkészítése 13 2.1. A tűzfal policyjának előkészítése.................... 13 2.1.1. Elméleti tervezés......................... 13 2.1.2. Tervezés és dokumentálás a gyakorlatban........... 19 2.2. Rendszerkövetelmények......................... 20 2.2.1. Hardver követelmények..................... 20 2.2.2. Szoftver követelmények..................... 22 2.3. A hálózati tartomány előkészítése a Zorp telepítésére........ 22 2.3.1. A tűzfal helye a hálózati architektúrában........... 22 2.3.2. A hálózati eszközök........................ 23 2.3.3. IP címváltás............................ 23 2.3.4. DNS szerver............................ 24 2.3.5. E-mail szolgáltatás........................ 24 2.3.6. Web hozzáférés.......................... 25 2.3.7. SOCKS............................... 26 iii

iv TARTALOMJEGYZÉK 3. Telepítés 27 3.1. A Zorp disztribúciós CD-ROM...................... 27 3.2. Indítás és az első lépések........................ 27 3.3. Ha az egér nem működik......................... 29 3.4. A merevlemez formázása........................ 30 3.5. A telepítendő csomagok......................... 33 3.6. A grub telepítése, rendszerbetöltés................... 33 3.7. Felhasználók létrehozása........................ 35 3.7.1. Root jelszó megadása....................... 36 3.7.2. Új felhasználó létrehozása.................... 37 3.8. Hálózati kártyák beállítása....................... 37 3.9. Hálózati beállítások........................... 38 3.9.1. Névkiszolgáló megadása..................... 38 3.9.2. Keresési tartományok...................... 39 3.9.3. Hoszt nevek............................ 39 4. Beállítás 41 4.1. Template beállítások használata.................... 41 4.1.1. Az uzi működése......................... 41 4.2. Az operációs rendszer konfigurálása.................. 45 4.2.1. Modulok.............................. 45 4.2.2. Erőforrás korlátozások...................... 45 4.2.3. Kernel korlátozások....................... 46 4.2.4. Alkalmazások korlátozásai.................... 46 4.2.5. Helyi port tartomány....................... 47 4.2.6. IP forwarding........................... 47 4.2.7. IP cím spoofolás.......................... 47 4.2.8. TCP paraméterek......................... 47 4.3. Natív proxyk................................ 47 4.4. A csomagszűrő konfigurálása...................... 48 4.5. Zorp elemek................................ 50 4.5.1. Konfiguráció............................ 50 4.5.2. példányok leírása......................... 50 4.5.3. A Python alkalmazások osztályai................ 51 4.5.4. A Zorp bináris verziója...................... 51 4.5.5. A zorpctl script......................... 51 4.6. A Zorp konfigurálása a zui segítségével................ 51 5. Beállítások haladóknak 63 5.1. A Python áttekintése........................... 63 5.1.1. Modulok és Csomagok...................... 63 5.1.2. Parancsok............................. 64 5.1.3. Változók.............................. 65 5.1.4. Függvények meghatározása................... 65 5.1.5. Kivételek/hibák.......................... 66

TARTALOMJEGYZÉK v 5.1.6. Python osztályok......................... 66 5.2. A Zorp osztályainak áttekintése.................... 66 5.3. Minta Policy készítése.......................... 68 5.3.1. A hozzáférés ellenőrzés alapjai: a zónák............ 68 5.3.2. A Zorp alkalmazásokat indító funkciók............ 69 5.3.3. Szolgáltatás meghatározása................... 69 5.3.4. Listener létesítése......................... 70 5.3.5. Proxyk személyreszabása.................... 70 5.3.6. UDP szolgáltatás felállítása................... 71 6. Üzemeltetés és karbantartás 73 6.1. Futtatható alkalmazások........................ 73 6.2. A telepítés tesztje............................. 74 6.3. Integritás ellenőrzése........................... 75 6.4. A rendszernapló ellenőrzése....................... 75 6.5. Szolgáltatásaink követése........................ 75 6.6. A biztonságtechnika sebezhető pontjai................. 76 A. Kernel patchek 77 B. Szolgáltatás mátrix példa 79 C. IPTables beállítás példa 81 D. Zorp beállítás példa 85 E. Előre meghatározott proxyk listája 89 F. A disztribúciós CD-n lévő csomagok 105 G. Installálás karakteres képernyővel 117 G.1. A cél-merevlemez előkészítése...................... 120 G.2. A disztribúció másolása......................... 122 G.3. Konfigurálás................................ 123 G.4. A root jelszó beállítása.......................... 125 G.5. Az installálás befejezése......................... 125 G.5.1. Csomagok installálása...................... 125 G.5.2. További szoftverek hozzáadása................. 126

vi TARTALOMJEGYZÉK

Ábrák jegyzéke 1. Egy hipotetikus hálózati modell.................... xiii 1.1. A Zorp biztonsági felépítése....................... 5 1.2. A Zorp kezelésének áttekintése..................... 7 1.3. Outband autentikáció.......................... 11 2.1. Példa a hálózati topológiára....................... 22 3.1. Üdvözlő képernyő............................. 28 3.2. Segítség a telepítés mód kiválasztásához............... 29 3.3. UHU-Linux licenc............................. 30 3.4. Egér protokolljának és csatlakoztatásának kiválasztása....... 31 3.5. A merevlemez formázásának előkészítése............... 32 3.6. A csomagok felmásolása......................... 34 3.7. A csomagok beállítása.......................... 35 3.8. Rendszerbetöltés kiválasztása..................... 36 3.9. Hálózati kártyák beállítása....................... 37 3.10.Névkiszolgálók, tartományok, hosztok................. 38 3.11.A telepítés befejezése........................... 40 4.1. UZI DMZ menü.............................. 42 4.2. Szolgáltatások menü........................... 43 4.3. SMTP domain-ek............................. 45 4.4. DMZ szerver................................ 46 4.5. ZUI főmenü................................ 52 4.6. Új policy készítése............................ 53 4.7. Policy szerkesztés............................. 53 4.8. Zóna létrehozása............................. 55 4.9. Egy zóna címtartományának meghatározása............. 55 4.10.Alkalmazás szerkesztése......................... 56 4.11.Példány szerkesztése........................... 57 4.12.Szolgáltatás készítése.......................... 58 4.13.Szolgáltatás szerkesztése........................ 59 vii

viii ÁBRÁK JEGYZÉKE 4.14.Listener készítése............................. 60 4.15.Egy előre meghatározott proxy beillesztése.............. 61 4.16.Előre meghatározott proxyk részletes leírása............. 61 4.17.Előre meghatározott proxy készítése.................. 62 B.1. Szabály-mátrix minta.......................... 80 G.1. Üdvözlő képernyő............................. 117 G.2. Szakértői menü.............................. 119 G.3. Eszköz kiválasztása particionáláshoz................. 120 G.4. A root partíció felcsatolása....................... 121 G.5. Partíció választás felcsatoláshoz.................... 122 G.6. Csatolási pont megadása........................ 123 G.7. Partíció lecsatolása installálás közben................. 124 G.8. Az installálás befejezése......................... 125

Előszó Alkalmazási terület Ezt a könyvet az UHU-Linux Tűzfal verzióval most ismerkedő rendszergazdáknak készítettük. Feltételezzük, hogy az olvasó gyakorlati tudással rendelkezik a hálózatok és a hálózati adminisztráció terén. Kiknek szól ez a füzet? Az ismertetőt olyan rendszergazdáknak ajánljuk, akik még nem használták a Zorpot, és hálózatok kiépítéséért, azok karbantartásáért felelősek. Védjegyek A Zorp név és a Zorp logó, a BalaBit név és a BalaBit logó a BalaBit IT Kft. regisztrált védjegye. A Linux Linus Torvalds regisztrált védjegye. A Debian a Software in the Public Interest Inc. regisztrált védjegye. A Windows 95, 98, NT, 2000 a Microsoft Corporation regisztrált védjegyei. Az UHU-Linux név az UHU-Linux Kft. regisztrált névjegye. Termékverzió, CD-n található anyagok A ZorpGPL UHU aktuális verziója: 2.0.3. A DOC könyvtárban található az UHU Felhasználói kézikönyv 2003. április 14-én lezárt változata, valamint e dokumentáció előző, 2003. szeptember 2-án lezárt verziója. A CD-n található csomagok felsorolását az F. függelék tartalmazza. ix

x ELŐSZÓ Kapcsolatteremtés A ZorpGPL-t fejleszti és karbantartja BalaBit IT Biztonságtechnikai Kft. Csurgói út 20/b Budapest H-1116 Hungary Tel.: +36 1 371-0540 Fax: +36 1 208-0875 info@balabit.hu A ZorpGPL-t terjeszti UHU-Linux Kft Tolnai u. 6 8000 Székesfehérvár Tel.: +36 1 433 1878 Fax: +36 1 433 1890 info@uhulinux.hu Kereskedelmi információk A Zorp kereskedelmi változata a Balabit IT Kft-tól és viszonteladóitól szerezhető be. Értékesítési kérdésekkel kapcsolatban keresse a BalaBit IT Kft munkatársait közvetlenül a sales@balabit.hu e-mail címen. Támogatás A termékkel kapcsolatban technikai támogatás elérhető: Nyilvános levelezési lista: http://lists.balabit.hu/mailman/listinfo/zorp-hu Hivatalos támogatás információ: A ZorpGPL támogatására az UHU-Linux Kft levelezési listát üzemeltet, ami a tuzfal@uhulinux.hu címen érhető el. A listára a https://lists.uhulinux.hu/info/tuzfal címen lehet feliratkozni. Tanfolyamok A BalaBit rendszeresen tart hálózati határvédelemmel foglalkozó tanfolyamokat haladó GNU/Linux rendszeradminisztrátorok számára. További információkat a BalaBit honlapján talál: http://www.balabit.hu/training/

ELŐSZÓ xi Az ismertetőről Az ismertetőt olyan rendszergazdáknak készítettük, akik tisztában vannak a tűzfalak és a hálózati biztonságtechnika fontosságával. A Zorp egy olyan eszköz, amely teljes körű ellenőrzést biztosít a tranzit hálózati forgalom felett, és mindent megtesz annak érdekében, hogy a védett hálózat sértetlen maradjon az Internetről jövő támadásokkal szemben. Tartalmi összefoglaló az 1. fejezetben ismertetjük a tűzfalnál felhasznált technológiákat, a Zorp tulajdonságait és a telepítéséhez szükséges média csomagot. a 2. fejezetben leírjuk, milyen tennivalóink vannak a Zorp Professional telepítése előtt, illetve a biztonsági rendszertervezés és -kivitelezés alapszabályainak ismertetésén keresztül bemutatjuk, hogyan érdemes megtervezni egy informatikai biztonsági rendszert. a 3. fejezetben a Zorp Professional verzió telepítéséről és a ZUI használatáról lesz szó. a 4. fejezetben bemutatjuk, hogyan konfigurálhatjuk a tűzfalat a Zorp Felhasználói Interfészének (Zorp User Interface, továbbiakban ZUI) segítségével, mellette kitérünk a natív proxyk és a csomagszűrők javasolt konfigurációjára is az 5. fejezetben beszélünk a Zorp haladó szintű konfigurálásáról és a Pythonról. a 6. fejezetben szó lesz azokról a feladatokról, melyeket rendszeresen el kell végeznünk mint karbantartást. az A függelékben az ajánlott kernel patchek listáját és hozzáférhetőségüket találjuk. a B függelék tartalmazza a könyvben használt fiktív tűzfal policy mátrixát. a C függelék a B függelékben bemutatásra került tűzfal policyjához igazodó csomagszűrési beállításokat ismerteti. a D függelékben találjuk a B függelékben ismertetett mátrix alapján felépített policy.py-t E függelék: a ZUI-ba beépítettünk néhány előre megadott mintát, hogy egyszerűbb legyen a tűzfal policyjának kialakítása. Itt ezeket a mintákat soroljuk fel és fejtjük ki. az F függelékben felsoroljuk a Zorp Professional disztribúciós CD-n kínált programcsomag tartalmát.

xii ELŐSZÓ Feltételezett tudásanyag A könyv olvasóiról a tűzfalak alapszintű ismeretén kívül feltételezzük: A Linux rendszeradminisztráció felső fokú ismeretét. Az IP alapú hálózati adminisztráció felső fokú ismeretét. A csomagszűrés (iptables) felső fokú ismeretét. Továbbá feltételezzük, hogy olvasónk rendszerének felépítése nagyban hasonlít az alábbiakhoz: Hálózati szerkezet: telepíteni tud egy Linux szervert legalább két interfésszel, melyek közül az egyik internet-, a másik a privát hálózatra van kötve. Ajánljuk egy harmadik hálózati interfész használatát a DMZ (Demilitarized Zone) kialakításához. Feltételezzük, hogy rendelkezik regisztrált domain-névvel (pl.: mydomain.com), a szolgáltatást egy saját DNS (Domain Name System) szerver vagy az ISP biztosítja. Feltételezzük, hogy a mail szerver a DMZ-ben, a belső hálózaton található, vagy az ISP biztosít külső hozzáférést az elektronikus postához (pl. pop3 szerveren keresztül). Feltételezzük, hogy rendelkezik router IP-vel vagy egy olyan IP címmel, amely alapértelmezett átjáróként (gateway) működik. Feltételezzük, hogy legalább két publikus IP címmel rendelkezik, az egyik az alapértelmezett átjáró, a másik a tűzfal publikus (külső) interfésze. Továbbá feltételezzük, hogy a privát hálózat és a demilitarizált zónában (DMZ) található hálózat előre megadott privát IP címekkel rendelkezik. (A címek kijelölését a privát belső hálón az RFC1918 szabvány tartalmazza.) Amennyiben olvasónk publikus hálózattal dolgozik, az IP-MASQUERADE- HOWTO-ban és IPCHAINS-HOWTO-ban találhat információt a privát hálózat konfigurálásáról. Könyvünkben a xiii. oldalon látható hipotetikus hálózati modellt vesszük alapul a magyarázatokhoz.

ELŐSZÓ xiii 1. ábra. Egy hipotetikus hálózati modell

xiv ELŐSZÓ

Termékengedély GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation s software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. xv

xvi TERMÉKENGEDÉLY We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author s protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone s free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program s source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such

TERMÉKENGEDÉLY xvii modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically

xviii TERMÉKENGEDÉLY performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

TERMÉKENGEDÉLY xix 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

xx TERMÉKENGEDÉLY 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXP- RESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DE- FECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMIT- TED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GE- NERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARIS- ING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLU- DING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROG- RAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the copyright line and a pointer to where the full notice is found. <one line to give the program s name and a brief idea of what it does.>