Commit Graph

243 Commits

Author SHA1 Message Date
Dave Townsend
30cbd05ee8 Bug 497884: Intermittent failure in test_classifier.html and test_classifier_worker.html. r=sdwilsh 2009-06-17 11:47:08 +01:00
Dave Townsend
3de8a23205 Backed out temporary logging changeset 9a72a7036822 2009-06-13 10:10:36 +01:00
Dave Townsend
3deb2d8baf Bug 486489: Turn on url-classifier logging to track down the leak. r=ted 2009-06-12 15:51:37 +01:00
Dave Townsend
d956a8fb75 Bug 486489: Enable automated tests for url-classifier. r=ted 2009-06-12 12:16:59 +01:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Shawn Wilsher
5c57af069d Bug 489455 - Update URLClassifier to follow Safebrowsing spec
This makes us not change %00 to %01.
r=tony
2009-04-21 19:34:06 -04:00
Dave Camp
22abb5a7a0 Bug 484063 - safeb request format wrong for tables with no existing data. r=tony 2009-04-07 10:51:46 +02:00
Dave Camp
d4612bdc64 Bug 482073 - test_classifier.html issues leading to intermittent failures. r=waldo 2009-03-10 14:57:59 -07:00
Vladimir Vukicevic
371fbe35e0 b=477727; fix unaligned access in URL classifier; r=dcamp,sr=stuart 2009-02-10 15:10:08 -08:00
Dave Camp
364057055f Bug 475632: properly update the classifier's clean fragment cache. r=tony 2009-02-09 22:40:39 -08:00
Dave Camp
352813a4ea Bug 475436: reloading a blocked page would bypass blocking in some cases. r=tony 2009-02-09 22:40:39 -08:00
Fred Jendrzejewski
424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Gavin Sharp
b51dda55aa Bug 471299: retry code and comments in nsUrlClassifierStore::WriteEntry are wrong, r=dcamp 2009-01-16 14:19:28 -05:00
Dave Camp
d88cbe6bab Bug 473345: check DOM worker loads against the classifier. r=bent, sr=jonas 2009-01-14 23:41:32 -08:00
Dave Camp
1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Phil Ringnalda
fcb2f41673 Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Dave Camp
d92aa7006b Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
a925063a4f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp
ad7af36959 Workaround the leaks exposed by the workaround in bug 472253. 2009-01-05 21:05:18 -08:00
Dave Camp
a690b42cf4 Workaround for the bustage caused by bug 472253. 2009-01-05 20:12:30 -08:00
Dave Camp
36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Dave Camp
c510c992e1 Bug 439281: Handle lookup and expiration of safebrowsing subs by add chunk id rather than host key. r=tony 2008-10-19 20:48:25 -07:00
Dave Camp
356ba68377 Bug 453723: Short-circuit known-clean hosts in the url-classifier. r=tony 2008-10-19 20:07:46 -07:00
Ehsan Akhgari
5debce4c09 Bug 447648 - error message when clearing cookies; r=dcamp 2008-09-17 15:24:35 +02:00
BartZilla
1c3b7ce9f8 Bug 448626 - "fix a (probably harmless) mistake in nsUrlClassifierDBServiceWorker::IsCanonicalizedIP()" [r=dcamp] 2008-08-19 22:47:10 -05:00
Dave Camp
0ef715372d Bug 434805: work harder to recover from url-classifier db corruption. r=tony 2008-08-14 22:46:41 -07:00
Manish Singh
1165152695 Bug 443095 - "nsUrlClassifierDBService::EnsureThreadStarted() doesn't exist anymore" (Get rid of stale declaration) [r=dcamp] 2008-07-12 05:29:34 -05:00
Dave Camp
c067dbb8a5 Backed out changeset caeba7562e49 2008-06-25 21:17:48 -07:00
Dave Camp
735c08486e Bug 434805: work harder to recover from url-classifier db corruption. r=tony 2008-06-25 20:23:57 -07:00
Dave Camp
9a7bd7aff0 Bug 434624: Handle "websafe" base64 characters in client keys. r=tony 2008-06-25 19:24:00 -07:00
reed@reedloden.com
6dadad9e91 Bug 398811 - "Remove MOZILLA_1_8_BRANCH ifdefs from toolkit on trunk" [p=mh+mozilla@glandium.org (Mike Hommey) r=gavin a1.9=damons] 2008-05-09 00:25:29 -07:00
gavin@gavinsharp.com
77aa6a3b9a Bug 430695: add backoff algorithm to gethash requests, patch by Dave Camp <dcamp@mozilla.com>, r=tony, a=beltzner 2008-05-07 15:33:19 -07:00
gavin@gavinsharp.com
3fcd67d676 Bug 432492: rate limit long-running safebrowsing updates, patch by Dave Camp <dcamp@mozilla.com>, r=tony, a=beltzner 2008-05-07 13:33:45 -07:00
dtownsend@oxymoronical.com
af9d6e1333 Backing out bug 432492 2008-05-07 06:18:38 -07:00
reed@reedloden.com
839d9b027c Bug 432492 - "rate limit long-running safebrowsing updates" [p=dcamp@mozilla.com (Dave Camp) r=tony a1.9=beltzner] 2008-05-07 03:22:17 -07:00
reed@reedloden.com
43d3425903 Bug 432492 - "rate limit long-running safebrowsing updates" [p=dcamp@mozilla.com (Dave Camp) r=tony a1.9=beltzner] 2008-05-07 03:21:11 -07:00
gavin@gavinsharp.com
b3d82c5fd9 bug 432332: improve handling of duplicate chunks in url classifier client request, patch by Dave Camp <dcamp@mozilla.com>, r=tony, a=beltzner 2008-05-06 18:51:11 -07:00
gavin@gavinsharp.com
33ba12448a Bug 432066: fix solaris bustage from bug 431754, patch by Alfred Peng <alfred.peng@sun.com>, r=tony, a=mconnor 2008-05-05 12:57:55 -07:00
reed@reedloden.com
f043d8c267 Bug 430530 - "excess disk IO when updating the url-classifier" (increase the page size, let the cache size grow on linux) [p=dcamp@mozilla.com (Dave Camp) r=mconnor a1.9=beltzner] 2008-05-02 02:55:09 -07:00
reed@reedloden.com
64f48abc02 Bug 431754 - "try harder to commit in the face of safebrowsing server errors" [p=dcamp@mozilla.com (Dave Camp) r=tony a1.9=damons] 2008-05-02 02:54:01 -07:00
dcamp@mozilla.com
9b2901c0db Bug 429755: Apply some random fuzz to safebrowsing backoff intervals. r=tony, a=beltzner 2008-04-23 09:57:55 -07:00
dcamp@mozilla.com
6121393e00 Tests for bug 428548. r=tony, a=mconnor 2008-04-16 14:23:38 -07:00
dcamp@mozilla.com
1910735610 Bug 428548: Restrict the total number of safebrowsing update requests per hour. r=tony, a=mconnor 2008-04-16 14:21:13 -07:00
dcamp@mozilla.com
6f47640c0b Bug 427862: Don't use cached full-hash entries without a successful safebrowsing update. r=tony, a1.9=beltzner 2008-04-15 15:39:44 -07:00
gavin@gavinsharp.com
8820cfbbe2 Tweak function definition to include parameter (bug 428358) 2008-04-13 21:58:07 -07:00
gavin@gavinsharp.com
8d870ce7a2 Fix incorrect nsIUrlClassifierDBService.idl implementation in test (bug 428358) 2008-04-12 23:09:58 -07:00
timeless@mozdev.org
659585cffb Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-07 23:18:35 -07:00
sdwilsh@shawnwilsher.com
a950b3f8c1 Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver 2008-03-24 15:14:38 -07:00
dcamp@mozilla.com
88ec70bb2a Bug 423790: Back off of safebrowsing updates for 4xx errors. r=tony, blocking-firefox3=beltzner 2008-03-19 18:55:56 -07:00
reed@reedloden.com
ac89e9bc4e Bug 419794 - "work out key API for nsICryptoHMAC" (API use nsIKeyObject + fix nsKeyModule + nsICryptoHMAC usage fix) [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=rrelyea sr=dveditz a=blocking1.9+] 2008-03-18 12:45:40 -07:00
gavin@gavinsharp.com
7b3cc60dbc Bug 419111: unfrozen interfaces listed in SDK_XPIDLSRCS, r=kaie, sr=bzbarsky 2008-03-05 14:08:20 -08:00
dcamp@mozilla.com
6a4e998241 Bug 420380: Allow safebrowsing gethash responses that don't match table name/chunk id. r=tony, blocking-firefox3=beltzner 2008-03-04 15:39:37 -08:00
dcamp@mozilla.com
183798c9c7 Bug 420370: nsUrlClassifierHashCompleter not configured immediately at startup. r=tony, blocking-firefox3=beltzner 2008-03-04 14:05:05 -08:00
dcamp@mozilla.com
95700b502a Bug 419751: Implement a safebrowsing protocol command to reset the db. r=tony, a1.9b4=beltzner 2008-02-29 16:46:43 -08:00
dcamp@mozilla.com
1b334f37c9 Bug 419751: Reset the phishing/malware database for beta 4 to work around a server issue. r=tony, b1.9b4=beltzner 2008-02-28 16:46:40 -08:00
dcamp@mozilla.com
9d06b2c6f1 Bug 360387: Verify HMAC of safebrowsing updates. r=tony, blocking-firefox3=beltzner 2008-02-27 00:51:02 -08:00
dcamp@mozilla.com
bcbb34ff17 Bustage fix for 419117. 2008-02-26 22:06:22 -08:00
dcamp@mozilla.com
ee910b1d12 Bug 419117: Add noise to safebrowsing gethash requests. r=tony, blocking-firefox3=beltzner 2008-02-26 21:51:28 -08:00
dcamp@mozilla.com
1ff588db0a Bug 418752: don't bother fetching forwards on a failed safebrowsing update. r=tony, a=beltzner 2008-02-26 09:47:05 -08:00
dcamp@mozilla.com
ace0d3769d Bug 418897: Update nsUrlClassifierDBServiceWorker::OpenDB() from changes to mozIStorageService::OpenDatabase. r=tony, r=sdwilsh, blocking-firefox3=beltzner 2008-02-25 12:58:34 -08:00
reed@reedloden.com
987f7e2501 Bug 416326 - "WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A in nsUrlClassifierDBService.cpp, line 3242" [p=dcamp@mozilla.com (Dave Camp) r=tony a=blocking-firefox3+] 2008-02-21 02:45:56 -08:00
dcamp@mozilla.com
aa446af396 Bug 406856: url-classifier not properly handling expiration chunk lists. r=tony, blocking-firefox3=mconnor 2008-02-15 14:47:16 -08:00
dcamp@mozilla.com
19a1167ef0 Bustage fix 2008-01-29 19:15:13 -08:00
dcamp@mozilla.com
2768d7cf9c Bug 414074: Cache the results of safebrowsing gethash requests. r=tony, a1.9=beltzner 2008-01-29 18:26:44 -08:00
dcamp@mozilla.com
3e8c1eb798 Bug 402611: Deal with changes to the safebrowsing v2 protocol. r=tony, a1.9=beltzner 2008-01-29 12:57:18 -08:00
dcamp@mozilla.com
6306732342 Back out bug 402611 for bloat-test orange 2008-01-28 17:58:15 -08:00
dcamp@mozilla.com
eb28b86610 Bustage fix for 402611 2008-01-28 16:24:21 -08:00
dcamp@mozilla.com
7112110cef Bug 402611: Deal with changes to the safebrowsing v2 protocol. r=tony, a1.9=beltzner 2008-01-28 15:04:43 -08:00
dcamp@mozilla.com
1724228c49 Bug 412688: Enforce 'one url-classifier update at a time' in the dbservice rather than just the stream updater. r=tony, a=schrep 2008-01-23 11:30:54 -08:00
gavin@gavinsharp.com
fa601afba9 Bug 412689: fix search/replace error that led to a broken QI impl, r=tony 2008-01-16 17:13:54 -08:00
dcamp@mozilla.com
d92cdcf800 Bug 412392: Fix up some shutdown issues in nsUrlClassifierDBService. r=tony, a=schrep 2008-01-16 11:20:45 -08:00
dtownsend@oxymoronical.com
eb23ab4e4f Bug 404726: Addon compatibility check gives many alerts (toolkit and security portions). r=gavin.sharp, r=kengert 2008-01-15 07:06:34 -08:00
dcamp@mozilla.com
9de5b38b57 Bug 412160: Cancel in-progress safebrowsing updates on shutdown. r=tony, blocking=schrep 2008-01-14 13:13:43 -08:00
reed@reedloden.com
efe9d31b9e Back out patch from bug 412160 due to even more orange than normal. :( 2008-01-14 00:21:57 -08:00
reed@reedloden.com
0a76e1b185 Bug 412160 - "Spurious non-zero Rlk leak stats on 'bm-xserve11' and 'fxdbug-win32-tb'" (cancel pending update in CloseDB()) [p=dcamp@mozilla.com (Dave Camp) r=tony a=blocking-firefox3+] 2008-01-13 23:37:05 -08:00
dcamp@mozilla.com
03b3eb6925 Bug 402610: Allow safebrowsing servers to specify separate URLs for chunk data. r=tony, blocking=beltzner 2008-01-12 14:22:03 -08:00
dcamp@mozilla.com
6dc0a74495 Bug 407759: Support subtractions in the safebrowsing protocol that arrive before their associated add. r=tony, blocking=mconnor 2008-01-12 13:32:01 -08:00
reed@reedloden.com
2b71c35cd0 Bug 404634 - "http urls don't render in TestGtkEmbed" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg r=bzbarsky a=blocking1.9+] 2008-01-04 22:38:30 -08:00
jwalden@mit.edu
8b7ea7080d Kick the stupid Windows tinderbox. 2007-12-22 08:36:21 -08:00
dcamp@mozilla.com
e74b4dcc9c Bug 407858: initialize some members of nsUrlClassifierDBServiceWorker. r=tony, a=dsicore 2007-12-12 11:04:25 -08:00
dcamp@mozilla.com
ad6b39aee8 Bug 406865: Clobber pre-recent-bugfixes urlclassifier3.sqlite files that might be in an inconsistent state. r=tony, a=dsicore 2007-12-04 19:22:39 -08:00
dcamp@mozilla.com
0c2b0ae6f3 Bug 406856: handle expiring safebrowsing chunk ranges in addition to individual chunks. r=tony, a=dsicore 2007-12-04 16:16:41 -08:00
dcamp@mozilla.com
6a2a4787e8 Bug 406621: fix an off-by-one error reading chunks during safebrowsing updates. r=tony, a=dsicore 2007-12-03 21:49:11 -08:00
dcamp@mozilla.com
1a594c2ccd Bug 405685: check the phishing preference when blocking pages in the url-classifier. r=tony, a=dsicore 2007-12-03 21:10:22 -08:00
dcamp@mozilla.com
881148c428 Bug 403354: only read/parse/write applied-chunk lists once per safe-browsing update. r=tony, a=damons 2007-12-03 20:49:22 -08:00
dcamp@mozilla.com
4d6e56edaa Bug 404645: apply an entire safebrowsing update as one transaction, rather than a transaction per chunk of entries. r=tony, blocking-1.9=beltzner 2007-12-03 20:35:25 -08:00
dcamp@mozilla.com
96f51a6327 Bug 394525: don't try to malware check uris with no hostname. r=tony 2007-11-27 12:08:02 -08:00
dcamp@mozilla.com
15f0b8d8bf backing out 403354 to see if it caused Ts regression. 2007-11-13 21:31:07 -08:00
dcamp@mozilla.com
d7eb0060c9 Replace nsCStringArray::ParseString usage in the url-classifier. b=403354, r=tony, sr+a=stuart 2007-11-13 14:43:56 -08:00
dcamp@mozilla.com
f25d1acc8d fix url-classifier checks against bare-domain entries. b=402435, r=tony 2007-11-05 11:31:55 -08:00
dcamp@mozilla.com
e631ed7cbd Update the url-classifier request format test. b=400635, r=tony 2007-11-02 14:22:24 -07:00
reed@reedloden.com
4894cad90d Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9] 2007-10-29 11:29:14 -07:00
dcamp@mozilla.com
0e6bf9f21e separate add chunks from remove chunks in the url-classifier update request. b=397434, r=tony, a=mconnor 2007-10-11 16:25:10 -07:00
dcamp@mozilla.com
3e9ca5a69a treat ipv4 addresses as a single lookup key in the url classifier. b=395376, r=tony, a=mconnor 2007-10-01 17:21:45 -07:00
dcamp@mozilla.com
76a4befc6a handle query parameters and full-string queries as specified in the updated safebrowsing protocol. b=395377, r=tony, a=mconnor 2007-10-01 16:53:53 -07:00
dcamp@mozilla.com
95baf6ccee another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi 2007-08-31 16:48:39 -07:00
dcamp@mozilla.com
2b3259d83f block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky 2007-08-31 16:18:46 -07:00
philringnalda@gmail.com
366ec787f6 Bug 392199 - Really remove nsUrlClassifierTable.js, r=tony 2007-08-14 19:51:44 -07:00
dcamp@mozilla.com
350e5abb80 make sure nsCryptoHash/PSM is initialized on the main thread in the url classifier. b=390324, r=tony 2007-08-09 15:33:04 -07:00