
I just recently updated to the develop branch and noticed that the outgoing port range is not being honored. When setting the port range and using either random outgoing ports = False (or even True), I can see via netstat that ports are being allocated between 32768 and 60999. Here is my version and config:
deluged: 2.0.0.dev379
libtorrent: 0.16.13.0
add_paused: False
allow_remote: True
anonymous_mode: False
auto_manage_prefer_seeds: False
auto_managed: False
autoadd_enable: False
autoadd_location: /home/deluge
cache_expiry: 60
cache_size: 10240
compact_allocation: True
copy_torrent_file: True
daemon_port: 58846
del_copy_torrent_file: False
dht: True
dont_count_slow_torrents: True
download_location: /Deluge/Downloads/
download_location_paths_list: ()
enabled_plugins: ()
enc_in_policy: 1
enc_level: 0
enc_out_policy: 1
enc_prefer_rc4: True
geoip_db_location: /usr/share/GeoIP/GeoIP.dat
i2p_proxy: { u'hostname': u'', u'port': 0}
ignore_limits_on_local_network: True
info_sent: 1423993600.0
listen_interface:
listen_ports: (40000, 40999)
lsd: True
lt_tex: True
max_active_dht_limit: -1
max_active_downloading: -1
max_active_limit: 5000
max_active_lsd_limit: -1
max_active_seeding: -1
max_active_tracker_limit: -1
max_connections_global: 50000
max_connections_per_second: 1000
max_connections_per_torrent: -1
max_download_speed: -1.0
max_download_speed_per_torrent: -1
max_half_open_connections: 12500
max_upload_slots_global: 25000
max_upload_slots_per_torrent: -1
max_upload_speed: -1.0
max_upload_speed_per_torrent: -1
move_completed: True
move_completed_path: /Deluge/Completed/
move_completed_paths_list: ()
natpmp: True
new_release_check: False
outgoing_ports: (40000, 40999)
path_chooser_accelerator_string: Tab
path_chooser_auto_complete_enabled: True
path_chooser_max_popup_rows: 20
path_chooser_show_chooser_button_on_localhost: True
path_chooser_show_hidden_files: False
peer_tos: 0x00
plugins_location: /home/deluge/.config/deluge/plugins
pre_allocate_storage: False
prioritize_first_last_pieces: False
priority: 0
proxy: { u'hostname': u'',
u'password': u'',
u'port': 8080,
u'proxy_hostnames': True,
u'proxy_peer_connections': True,
u'type': 0,
u'username': u''}
queue_new_to_top: False
random_outgoing_ports: False
random_port: False
rate_limit_ip_overhead: True
remove_seed_at_ratio: False
seed_time_limit: 180
seed_time_ratio_limit: 10.0
send_info: True
sequential_download: False
share_ratio_limit: 5.0
shared: False
stop_seed_at_ratio: False
stop_seed_ratio: 5.0
super_seeding: False
torrentfiles_location: /Deluge/Torrents/
upnp: True
utpex: True