Page MenuHomePhabricator
Feed Advanced Search

Mar 6 2018

epriestley triaged T13100: PCRE segfaults readily with default "pcre.backtrack_limit" and "pcre.recursion_limit" values as Normal priority.
Mar 6 2018, 7:43 PM · Phacility

Mar 5 2018

epriestley moved T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction from Backlog to Tentative on the Plans board.
Mar 5 2018, 3:03 PM · Plans, Ops, Infrastructure, Phacility
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 5 2018, 2:52 PM · Phacility, Security
epriestley added a comment to T13097: Plans: Path of Exile 3.2.0 (Bestiary League).

I had a lot of stuff come up this weekend, but made it through Kitava A5 with a Tectonic Slam Facebreakers Juggernaut (???) and an Arc Totem Hierophant, both around 51. Unsure how I currently feel about either character. I think I can turn the Juggernaut into Molten Strike if I find a decent weapon. Damage is okay so far on the Hierophant but my Haku is still at level 1 so fixing his resists has been tough.

Mar 5 2018, 2:31 PM · Phacility

Mar 2 2018

epriestley renamed T13097: Plans: Path of Exile 3.2.0 (Bestiary League) from Plans: Path of Exile 3.2.0 ( to Plans: Path of Exile 3.2.0 (Bestiary League).
Mar 2 2018, 5:01 PM · Phacility
epriestley triaged T13097: Plans: Path of Exile 3.2.0 (Bestiary League) as Normal priority.
Mar 2 2018, 5:01 PM · Phacility
epriestley closed T4340: Implement Content-Security-Policy and Strict-Transport-Security headers as Resolved.

This is promoting soon and we seem to have come through it without too much damage. T13095 is a followup for style="..." attributes.

Mar 2 2018, 3:44 PM · Phacility, Security
epriestley closed T4340: Implement Content-Security-Policy and Strict-Transport-Security headers, a subtask of T13093: Plans: 2018 Week 9 Bonus Content, as Resolved.
Mar 2 2018, 3:44 PM · Plans, Phacility
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 2 2018, 3:03 PM · Phacility, Security
epriestley closed T13093: Plans: 2018 Week 9 Bonus Content as Resolved.

That's likely everything for this week.

Mar 2 2018, 2:03 PM · Plans, Phacility

Mar 1 2018

epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 1 2018, 3:26 AM · Phacility, Security
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 1 2018, 3:26 AM · Phacility, Security
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 1 2018, 2:54 AM · Phacility, Security
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 1 2018, 12:55 AM · Phacility, Security

Feb 28 2018

epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Feb 28 2018, 10:17 PM · Phacility, Security

Feb 27 2018

epriestley added a parent task for T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: T13093: Plans: 2018 Week 9 Bonus Content.
Feb 27 2018, 11:07 PM · Phacility, Security
epriestley added a subtask for T13093: Plans: 2018 Week 9 Bonus Content: T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
Feb 27 2018, 11:07 PM · Plans, Phacility
epriestley added a revision to T13093: Plans: 2018 Week 9 Bonus Content: Restricted Differential Revision.
Feb 27 2018, 10:33 PM · Plans, Phacility
epriestley added a revision to T13093: Plans: 2018 Week 9 Bonus Content: Restricted Differential Revision.
Feb 27 2018, 9:59 PM · Plans, Phacility
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Feb 27 2018, 8:19 PM · Phacility, Security
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Feb 27 2018, 5:33 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

On the Stripe payment processing workflow, we embed a piece of Javascript directly from Stripe.
On the Recaptcha flow, we embed a piece of Javascript directly from Google.

Feb 27 2018, 5:09 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

Other stuff to test:

Feb 27 2018, 4:55 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

When we use a Quicksand transition from page A (which does not have Google or Recaptcha stuff on it) to page B (which does), the CSP from Page A will currently still be in control and prevent Page B from working.

Feb 27 2018, 4:11 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

On the Stripe payment processing workflow, we embed a piece of Javascript directly from Stripe.

Feb 27 2018, 4:05 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

I don't think this exposes new attack surface, at least today.

Feb 27 2018, 3:43 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

Idle thought: can we data: an SVG with onhover behaviors?

Feb 27 2018, 3:39 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

Idle thought: can we data: an SVG with onhover behaviors?

Feb 27 2018, 3:31 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

(Offhand, it's actually not immediately clear to me whether unsafe-eval applies to style attributes or not. Presumably, it should. This is easy to test.)

Feb 27 2018, 1:47 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

We use data: URIs to inline small images into CSS. For now, I'm going to allow these unconditionally. It's possible we could be more strict in the future, and allow data: as an img-src only in CSS files.

Feb 27 2018, 1:45 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

We use inline style="..." attributes and can't realistically get rid of these in the short term. Although some of these are just laziness in obscure interfaces, quite a few are legitimate (for example, inline background-image for profile images, and inline computed width or position values for elements which can be moved or resized in Javascript). We could move more rendering to Javascript, but Phabricator "mostly sort of" works with Javascript disabled and I generally think this is desirable, so I think this would be a tradeoff, not a strict improvement.

Feb 27 2018, 1:34 PM · Phacility, Security
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.

From PHI399:

Feb 27 2018, 1:33 PM · Phacility, Security
epriestley updated the task description for T13093: Plans: 2018 Week 9 Bonus Content.
Feb 27 2018, 12:55 PM · Plans, Phacility

Feb 26 2018

epriestley updated the task description for T13093: Plans: 2018 Week 9 Bonus Content.
Feb 26 2018, 6:06 PM · Plans, Phacility
epriestley triaged T13093: Plans: 2018 Week 9 Bonus Content as Normal priority.
Feb 26 2018, 4:38 PM · Plans, Phacility

Feb 25 2018

epriestley added a project to T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction: Plans.
Feb 25 2018, 3:28 PM · Plans, Ops, Infrastructure, Phacility
epriestley added a project to T13090: Plans: 2018 Week 8 Bonus Content: Plans.
Feb 25 2018, 3:28 PM · Plans, Phacility

Feb 22 2018

epriestley closed T13090: Plans: 2018 Week 8 Bonus Content as Resolved.

PHI379 describes a weird "Copied Lines" signal which can at least be triaged.

Feb 22 2018, 9:58 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 9:44 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 8:58 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 8:46 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 8:42 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 6:55 PM · Plans, Phacility
epriestley added a revision to T13090: Plans: 2018 Week 8 Bonus Content: Restricted Differential Revision.
Feb 22 2018, 6:35 PM · Plans, Phacility
epriestley triaged T13090: Plans: 2018 Week 8 Bonus Content as Normal priority.
Feb 22 2018, 5:55 PM · Plans, Phacility

Feb 16 2018

epriestley added a comment to T11760: Phacility Cluster: Ad-Hoc Query Log.

I'll follow up with more details on what was accessed once we conclude our response.

Feb 16 2018, 2:33 AM · Phacility

Feb 14 2018

epriestley renamed T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction from Plans: Phacility cluster infrastructure improvements to Plans: Phacility cluster caching, renaming, and rebalance/compaction.
Feb 14 2018, 2:20 PM · Plans, Ops, Infrastructure, Phacility
epriestley closed T12217: Reduce the hardware cost of Phacility free instances as Invalid.

We no longer offer free instances and I don't currently plan to offer them again, so this is moot.

Feb 14 2018, 2:19 PM · Ops, Phacility
epriestley closed T12217: Reduce the hardware cost of Phacility free instances, a subtask of T12218: Reduce the operational cost of a larger Phacility cluster, as Invalid.
Feb 14 2018, 2:19 PM · Ops, Phacility
epriestley closed T12218: Reduce the operational cost of a larger Phacility cluster as Resolved.

We no longer offer free instances so tier growth is slower, and I plan to compact the tier in the nearish term.

Feb 14 2018, 2:18 PM · Ops, Phacility
epriestley closed T12298: Allow daemon pools to autoscale down to 0 processes, a subtask of T12217: Reduce the hardware cost of Phacility free instances, as Wontfix.
Feb 14 2018, 2:12 PM · Ops, Phacility
epriestley closed T12298: Allow daemon pools to autoscale down to 0 processes as Wontfix.

We no longer offer free instances so I don't currently plan to pursue this.

Feb 14 2018, 2:12 PM · Daemons, Ops, Phacility
epriestley triaged T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction as Normal priority.
Feb 14 2018, 2:10 PM · Plans, Ops, Infrastructure, Phacility
epriestley closed T7351: Improve storage scalability in the cluster, a subtask of T7346: Anticipate scaling challenges in the Phacility cluster, as Resolved.
Feb 14 2018, 2:03 PM · Phacility
epriestley closed T7351: Improve storage scalability in the cluster as Resolved.

We generally seem to have a reasonable handle on this after all.

Feb 14 2018, 2:03 PM · Phacility

Feb 10 2018

epriestley closed T12677: Support multiple mail delivery services for automatic failover as Resolved.

This hasn't blown up in 24 hours and is about to promote, so anything else can be handled in followups.

Feb 10 2018, 12:40 AM · Phacility, Mail

Feb 9 2018

epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 9 2018, 10:42 PM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.

Seems OK:

Feb 9 2018, 2:17 AM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.

(I've muted this task so I shouldn't get mail about it.)

Feb 9 2018, 2:16 AM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.

"Quack, quack" said the duck.

Feb 9 2018, 2:13 AM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.

We now have Postmark configured as a primary mailer for this domain with inbound (via MX record) and outbound (via cluster.mailers) failover to Mailgun. 📫

Feb 9 2018, 2:13 AM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.

"Moo", said the cow.

Feb 9 2018, 2:12 AM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 9 2018, 1:50 AM · Phacility, Mail
epriestley added a comment to T12677: Support multiple mail delivery services for automatic failover.
  • PhabricatorMailSetupCheck should be removed, but some of the SES stuff should stick around.
Feb 9 2018, 1:48 AM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 9 2018, 1:27 AM · Phacility, Mail

Feb 6 2018

epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 5:44 PM · Phacility, Mail
epriestley updated the task description for T12677: Support multiple mail delivery services for automatic failover.
Feb 6 2018, 5:21 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 4:43 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 4:16 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 2:52 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 2:23 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 2:06 PM · Phacility, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 6 2018, 1:09 PM · Phacility, Mail
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

I'd either want to pay some service to deal with this or run an open source server that I was confident it was possible to fix, but one option is definitely to run Postfix/Dovecot/Exim/whatever the kids use these days.

Feb 6 2018, 11:58 AM · Phacility, Ops
avivey added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

If all you're going for are emails, why not spin up your own Exchange server (or whatever the kids use these days)? With maybe forwarding to a epriestley-phacility@gmail.com so you remain compliant?

Feb 6 2018, 2:01 AM · Phacility, Ops

Feb 5 2018

epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Restricted Differential Revision.
Feb 5 2018, 10:44 PM · Phacility, Mail
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

🎉🎉🎉 I RECEIVED AN EMAIL AND CLICKED A LINK CONTAINED INSIDE IT 🎉🎉🎉

Feb 5 2018, 4:21 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

Ah, it looks like Google Groups spam filtered some of the Twitter verification mail!

Feb 5 2018, 4:18 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

Some of this seems to be that messages sent from my @phacility.com address are sometimes eaten entirely (?) or just not delivered to me (?), presumably because I'm a recipient. I still haven't been able to get the confirmation link from Twitter, but it's possible that's on Twitter's end.

Feb 5 2018, 4:15 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

I figured some of this might be Safari vs Chrome, even though there's no obvious indication that Safari is having issues (e.g., I didn't catch any JS errors in the console).

Feb 5 2018, 3:59 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

There's an hourglass icon in the header menu. I don't know what this is for. When I click this, I get a "Loading..." menu which never loads. I reloaded the page, too. There's nothing pertinent in the console error log.

Feb 5 2018, 3:53 PM · Phacility, Ops
epriestley triaged T13062: Trying to manage anything in Gsuite is kind of not great? as Wishlist priority.
Feb 5 2018, 3:51 PM · Phacility, Ops
epriestley added a comment to T11760: Phacility Cluster: Ad-Hoc Query Log.

We received our first credit card dispute on January 31st.

Feb 5 2018, 2:51 PM · Phacility

Feb 1 2018

epriestley closed T13037: An attacker gained staff access to Mailgun and was able to read customer API keys as Resolved.

My call with Mailgun was generally reassuring. Based on an uncharitable reading of the January 5th disclosure, my major concern was that they might be starting from a cultural position which was blind to internal actors as threats and everyone just used root / hunter2 written on a sticky note to log in to everything or something like that.

Feb 1 2018, 9:42 PM · Phacility, Security, Mail

Jan 31 2018

epriestley closed T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs as Resolved.

See T13056 for followup.

Jan 31 2018, 2:40 PM · Transactions, Ops, Phacility

Jan 30 2018

epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

I just let that run for a while but it finished at some point:

Jan 30 2018, 8:43 PM · Transactions, Ops, Phacility
epriestley closed T10655: Phacility cluster mail deliverability issue as Resolved.
Jan 30 2018, 7:14 PM · Ops, Phacility
epriestley added a comment to T10655: Phacility cluster mail deliverability issue .

I'm going to roll this forward into T12677 since SES managed to one-up this by a healthy margin in T12237.

Jan 30 2018, 7:14 PM · Ops, Phacility
epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.

(They got back to me and we're scheduling a call.)

Jan 30 2018, 7:01 PM · Phacility, Security, Mail
epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.

Mailgun has yet to respond to me after about three weeks, so I send them a followup.

Jan 30 2018, 3:25 PM · Phacility, Security, Mail
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.
...
 OPTIMIZE  Optimizing table "<instance>_audit"."audit_transaction"...
  DONE  Compacted table by 139 GB in 910,219ms.
...
Jan 30 2018, 12:53 PM · Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

The compaction completed overnight. I'm optimizing the tables now.

Jan 30 2018, 12:32 PM · Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

Pool is full again, repo is upgrading, edges are compacting on the instance shard.

Jan 30 2018, 3:23 AM · Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

web004 is deploying now.

Jan 30 2018, 3:16 AM · Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

web004 died abruptly so I'm going to fix that and deploy these changes at the same time.

Jan 30 2018, 3:12 AM · Transactions, Ops, Phacility

Jan 29 2018

epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

Even on our fairly normal data, the effect was a little bit more dramatic than I'd expected:

Jan 29 2018, 11:04 PM · Transactions, Ops, Phacility
epriestley closed T5166: Expand the BulkJob tool as Resolved.

D18962 uses this to implement "Export Data" for large result sets.

Jan 29 2018, 10:59 PM · Restricted Project, Phacility, Daemons
epriestley closed T5166: Expand the BulkJob tool, a subtask of T7307: Daemons UI is confusing when you aren't an administrator, as Resolved.
Jan 29 2018, 10:59 PM · Daemons, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

I'm going to optimize + probe secure001 now and see if any of the tables above shrunk. I'm expecting a very modest effect combined with zero user visible changes in the UI despite throwing away a bunch of data.

Jan 29 2018, 8:42 PM · Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

Took like 3-ish minutes and did this:

Jan 29 2018, 8:40 PM · Transactions, Ops, Phacility