1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/config
epriestley 5a060b34df Add IPv6 reserved addresses to the default outbound blacklist
Summary:
Ref T11939. Depends on D16984. Now that CIDRLists can contain IPv6 addresses, blacklist all of the reserved IPv6 space.

This reserved blacklist is used to prevent users from accessing internal services via "Import Calendar" or "Add Macro".

They can't actually reach IPv6 addresses via these mechanisms yet because we need to do more work to support outbound IPv6 requests, but make sure reserved IPv6 space is blacklisted already when that support eventaully arrives.

Also, clean up some error messages (e.g., for trying to hit a bad URI in "Add Macro").

Test Plan:
  - Loaded pages with default blacklist.
  - Tried to make requests into IPv6 space.
  - Currently, this is impossible because of `parse_url()` and `gethostynamel()` calls.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11939

Differential Revision: https://secure.phabricator.com/D16986
2016-12-05 11:20:13 -08:00
..
application Update SchemaQuery and the web UI to accommodate multiple master databases 2016-11-12 16:36:52 -08:00
check Add "Manual Activities", to tell administrators to rebuild the search index 2016-11-30 11:23:54 -08:00
constants Redesign Config Application 2016-08-29 15:49:49 -07:00
controller When we "discover" new fatal setup issues, stop serving traffic 2016-11-21 15:54:40 -08:00
custom Make new logo and wordmark more reasonably configurable by human users 2016-08-07 12:00:21 -07:00
editor Allow bin/config to affect database configuration and migrate between local and database configuration 2014-10-08 16:15:05 -07:00
engine When we "discover" new fatal setup issues, stop serving traffic 2016-11-21 15:54:40 -08:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
issue Clean up another insufficiently-general exception 2016-11-23 10:41:19 -08:00
json Improve UI formatting of some configuration values 2015-12-05 09:58:47 -08:00
management Add a "--force" argument to "bin/config done" 2016-12-01 13:53:33 -08:00
module Split setup checks into "preflight" and "normal" checks 2016-09-06 11:57:18 -07:00
option Add IPv6 reserved addresses to the default outbound blacklist 2016-12-05 11:20:13 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
response Add a friendlier "in flight" error page 2016-09-07 06:59:48 -07:00
schema Prepare for InnoDB FULLTEXT support 2016-11-25 15:18:26 -08:00
storage Add "Manual Activities", to tell administrators to rebuild the search index 2016-11-30 11:23:54 -08:00
view Run all minor setup checks on all configured database hosts 2016-11-21 15:55:54 -08:00