~ines-almeida/txpkgupload:update-txpkgupload-dtpport-selection

Last commit made on 2023-11-15
Get this branch:
git clone -b update-txpkgupload-dtpport-selection https://git.launchpad.net/~ines-almeida/txpkgupload
Only Ines Almeida can upload to this branch. If you are Ines Almeida please log in for upload directions.

Branch merges

Branch information

Name:
update-txpkgupload-dtpport-selection
Repository:
lp:~ines-almeida/txpkgupload

Recent commits

69c165f... by Ines Almeida

Use actual dtpPort instead of assumed `portn` when getting passive FTP port

The dtpPort port number should be created from `portn`, but this change removes the need for that assumption altogether.

0340714... by Ines Almeida

Fix unit txpkgupload tests

68af3fb... by Ines Almeida

Add portsInUse set in txpkgupload code so that passive FTP doesn't reuse connected ports

e2e6424... by Colin Watson

charm: Make haproxy listen on both IPv4 and IPv6

Merged from https://code.launchpad.net/~cjwatson/txpkgupload/+git/txpkgupload/+merge/455556

b91b1e2... by Colin Watson

charm: Make haproxy listen on both IPv4 and IPv6

fbd2bf4... by Colin Watson

charm: Explain haproxy FTP port handling

Merged from https://code.launchpad.net/~cjwatson/txpkgupload/+git/txpkgupload/+merge/455553

02be60b... by Colin Watson

charm: Explain haproxy FTP port handling

d891f5d... by Colin Watson

charm: Tell haproxy to send to the SFTP port

Merged from https://code.launchpad.net/~cjwatson/txpkgupload/+git/txpkgupload/+merge/455549

4429bb3... by Colin Watson

charm: Tell haproxy to send to the SFTP port

The arrangements to use whatever port the client used are only actually
necessary for FTP. On production, we're using iptables to redirect
incoming traffic on port 22 to port 5022, and not specifying the port
causes haproxy to send traffic to port 22 on the backend, which is not
what we want to happen.

aa98312... by Colin Watson

charm: Fix missing space in log messages

Merged from https://code.launchpad.net/~cjwatson/txpkgupload/+git/txpkgupload/+merge/454765