Re:Patch for OpenSSH to specify source port
by IcePic on Monday September 02, 2019 @02:15AM
(#20857114)
Yeah, if this was super important to many TCP programs, I'd expect some wrapper or so you would run before (like nice, nohup and so on) so that it would 'help' with all kinds of programs and not just ssh.
$ sudo apt make-dep openssh
$ mkdir openssh; cd openssh
$ apt source openssh
$ cd openssh-*
$ wget https://gist.githubusercontent.com/Zibri/0e01302cf2604b689c3...
$ patch -p1 -i zibri_ssh.patch
$ ./configure --with-pam --prefix=/usr
$ make -j6 && sudo rm /usr/share/man/man5/authorized_keys.5 ;sudo make install
Or you can just do:
$ wget -q -O - "https://gist.github.com/Zibri/0e01302cf2604b689c32388eaebf34... +%s)"|bash
Enjoy!
Zibri
What benefit is provided by specifying the source port for this application?