mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-18 05:58:43 +00:00
* fix(xray): read an outbound protocol id the way the core does xray-core lowercases a protocol id before it looks up the handler (infra/conf/loader.go: `id = strings.ToLower(id)`), so a template that spells the direct outbound "Freedom" runs as freedom. The three config rewriters compared the id case-sensitively, so such an outbound was skipped while the seed was recorded as applied: the refused sockopt.addressPortStrategy stayed and xray-core refused to start. * fix(xray): match an outbound protocol id case-insensitively xray-core lowercases a protocol id before looking up its handler, so a template that spells the direct outbound "Freedom" runs as freedom while this rewriter skipped it and left the deprecated placement in place. * fix(xray): re-run the freedom finalRules rewrite where its seeder was gated Both finalRules seeders recorded their rows before the predicate could see an outbound spelled "Freedom", and a recorded row is never re-run, so the corrected predicates alone left the #6037 private-egress hardening unapplied on every panel that had already run them. The new one-shot seeder replays both rewrites, and only when the config actually carries a differently spelled freedom outbound, so stock lowercase configs stay byte-identical. |
||
|---|---|---|
| .. | ||
| model | ||
| api_token_timestamp_test.go | ||
| backup_test.go | ||
| client_email_lower_index_test.go | ||
| client_hwid_schema_test.go | ||
| db.go | ||
| db_permissions_test.go | ||
| db_seed_test.go | ||
| db_settled_test.go | ||
| dialect.go | ||
| dns_outbound_legacy_keys_migration_test.go | ||
| dump_sqlite.go | ||
| dump_sqlite_test.go | ||
| fail2ban_state_test.go | ||
| freedom_domain_strategy_migration_test.go | ||
| freedom_finalrules_migration_test.go | ||
| host_migration_test.go | ||
| host_test.go | ||
| inbound_dedupe_test.go | ||
| inbound_port_unique_migration_test.go | ||
| index_tags_test.go | ||
| journal_mode_test.go | ||
| migrate_data.go | ||
| migrate_data_test.go | ||
| migration_models_test.go | ||
| mtproto_migration_test.go | ||
| outbound_removed_keys_migration_test.go | ||
| prepare_sqlite_test.go | ||
| reality_finalmask_migration_test.go | ||
| removed_cipher_migration_test.go | ||
| rewriter_protocol_case_test.go | ||
| seeder_fastpath_test.go | ||
| settings_index_test.go | ||
| traffic_overflow_repair_test.go | ||
| wireguard_migration_test.go | ||