Skip to content

Get all flag defaults from port_cfg_new()

The Tor port flags code is needlessly complex. To change a default, you need to change:

  • port_cfg_new()
  • port_parse_config()
  • connection_listener_new()

We should call port_cfg_new() for the defaults in all these cases.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information