Menu

#242 Fix forwarding separator (Bad local forwarding specification)

v1.0 (example)
open
nobody
ssh (1)
5
2015-06-01
2014-11-02
ValdikSS
No

Newer versions of OpenSSH does not allow "/" as a separator for -L, -R or -D commands
With this patch PACManager uses ":" as a separator with said commands

It is required to delete and re-add all the port forwardings.

1 Attachments

Discussion

  • Fabio Rossi

    Fabio Rossi - 2014-12-20

    I have improved the patch in _parseCfgToOptions() to
    - complete the support for the dynamic port forwarding
    - support both '/' and ':' separators in the config file (in this way the user is not forced in deleting and readding all the port forwardings - at the first saving event the config file for a specific connection is migrated to ':')

     
  • Nanawel

    Nanawel - 2014-12-24

    Thanks very much, that was driving me insane!
    I had to almost empty my config folder for some reason (only keep pac.yml and pac.yml.tree) because PAC kept overwriting my config with slashes instead of colons, but after that, everything worked.

     
  • Jairo A

    Jairo A - 2015-06-01

    Hi, a simple question,
    Why this patch is not added to the code? Will I have to add it manually everytime I install pacmanager on a new machine?

    Thanks in advance.

     
  • David Torrejón Vaquerizas

    Hi there!

    First of all, sorry the late answer... :(

    Ok, I'm working on it (in fact, it's already done, but I'll test it as much as I can)

    Just for you to know why it happened, it is because at some point in time, OpenSSH people said they would support the "/" delimiter (apart from ":") in order to make thing easier with IPv6 (since ":" is used in those addresses as well). But now things have changed: they support saying "[ipv6]:port", what changed the game.

    Anyway, please, stay tuned, because next release will have that "anti-feature" fixed.

    Once again, thank you so much for for patience and for "dare using" PAC!! :)

    • David.
     
  • Jairo A

    Jairo A - 2015-06-01

    Don't worry, I appreciate your job doing this wonderful tool and I will be very patient!

    Thanks David for taking time to answer.

     
  • Fabio Rossi

    Fabio Rossi - 2016-10-14

    Ei!

    Ho appena letto un articolo che potrebbe interessarvi, non ve ne pentirete, si prega di leggere qui http://antonina.buybeforetheauction.com/gid

    In fede,FBIO ROSSI

     

Log in to post a comment.