~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests

« back to all changes in this revision

Viewing changes to libclamav/phishcheck.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2008-09-05 17:25:34 UTC
  • mfrom: (0.35.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080905172534-yi3f8fkye1o7u1r3
* New upstream version (closes: #497662, #497773)
  - lots of new options for clamd.conf
  - fixes CVEs CVE-2008-3912, CVE-2008-3913, CVE-2008-3914, and
    CVE-2008-1389
* No longer supports --unzip option, so typo is gone (closes: #496276)
* Translations:
  - sv (thanks Martin Bagge <brother@bsnet.se>) (closes: #491760)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#define CL_PHISH_BASE 100
28
28
enum phish_status {CL_PHISH_NODECISION=0, CL_PHISH_CLEAN=CL_PHISH_BASE,
29
 
        CL_PHISH_CLOAKED_UIU, CL_PHISH_NUMERIC_IP, CL_PHISH_HEX_URL, CL_PHISH_CLOAKED_NULL, CL_PHISH_SSL_SPOOF, CL_PHISH_NOMATCH};
 
29
        CL_PHISH_CLOAKED_UIU, CL_PHISH_NUMERIC_IP, CL_PHISH_HEX_URL, CL_PHISH_CLOAKED_NULL, CL_PHISH_SSL_SPOOF, CL_PHISH_NOMATCH,
 
30
        CL_PHISH_HASH0, CL_PHISH_HASH1, CL_PHISH_HASH2};
30
31
 
31
32
#define CHECK_SSL         1
32
33
#define CHECK_CLOAKING    2
44
45
};
45
46
 
46
47
struct phishcheck {
47
 
        regex_t preg;
48
 
        regex_t preg_realurl;
49
 
        regex_t preg_tld;
50
 
        regex_t preg_cctld;
51
48
        regex_t preg_numeric;
52
 
        regex_t preg_hexurl;
53
49
        int      is_disabled;
54
50
};
55
51