code: func FilterAddresses(addrs ...*net.IPNet) Option {
  	return func(cfg *Config) error {
  		if cfg.Filters == nil {
  			cfg.Filters = filter.NewFilters()
  		}
  		for _, addr := range addrs {
  			cfg.Filters.AddDialFilter(addr)
  		}
  		return nil
  	}
  }
docs: // FilterAddresses configures libp2p to never dial nor accept connections from
  // the given addresses.