ovpn-to / putty-tunnel-manager Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/putty-tunnel-manager
Automatically exported from code.google.com/p/putty-tunnel-manager
putty-tunnel-manager crashes if any of port forwarding in putty configuration
contains Source address with port.
Exception text is "Invalid input format" or something similar (I don't have
english .Net Framework".
Crash occurs if input is in format "L127.0.0.1:8000=192.168.0.1:80",
Under debugger it breaks on line 91 of file Tunnel.cs
int sourcePort = Int32.Parse(parts[0]);
here are 4 parts, not three, as expected.
I think it needs also redesign to add support for source address.
Original issue reported on code.google.com by [email protected]
on 4 Dec 2010 at 9:03
What steps will reproduce the problem?
1. Run putty tunnel manager on Windows 8
2. Right click on Icon
What is the expected output? What do you see instead?
Expect: Menu to choose the tunnel to connect to
Get: System.FormatException: Input string was not in a correct format.
Triggered on line 91 in Tunnel.cs (int sourcePort = Int32.Parse(parts[0]))
Appears that it fails when parts[0] includes a leter character at the start - which is everytime
What version of the product are you using? On what operating system?
Windows 8 and PTM 0.9.1
Please provide any additional information below.
Fix I have managed to come up with is to replace line 91 with
int sourcePort = Int32.Parse(parts[0].TrimStart(new char[] { 'D','L','R' }));
Original issue reported on code.google.com by [email protected]
on 19 May 2013 at 6:43
I set up putty to create an ssh tunnel through a corporate proxy and all
works fine. When I try and run this saved session from putty-tunnel-manager
it fails. Because I do not have any console or error I do not know why it
is failing. My guess is that because there is no option when adding tunnels
to ptm for a proxy that this is what is causing it to fail.
Could you add the proxy option to the gui so I can create one manually?
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 6:40
Because you cannot have more than 5 keys in Pageant (it may vary from
distribution to distribution but 5 is a pretty common allowed number of failed
keys) it would be nice if I could specify a key file in PTM directly.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2012 at 9:55
What steps will reproduce the problem?
1. Run ptman.exe
2. Right click on task tray icon
3.
What is the expected output? What do you see instead?
I expect a menu; I get a .NET warning dialog.
What version of the product are you using? On what operating system?
Version 0.9.1, just downloaded a moment ago.
Please provide any additional information below.
Title: Microsoft .NET Framework
Content: Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately.
Index was outside the bounds of the array.
Content of the Details window:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at JoeriBekker.PuttyTunnelManager.Tunnel.Load(Session session, String data)
at JoeriBekker.PuttyTunnelManager.Session.Load(String keyName)
at JoeriBekker.PuttyTunnelManager.Core.Initialize()
at JoeriBekker.PuttyTunnelManager.Core.Instance()
at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.UpdateSessions()
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ptman
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1
CodeBase: file:///C:/Users/xxxx/Downloads/ptman.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Original issue reported on code.google.com by [email protected]
on 17 Sep 2012 at 10:09
Thanks and keep up the great work!
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 4:15
What steps will reproduce the problem?
1. Drag Windows taskbar to top or left of screen.
2. Click on the PTMan tray icon
What is the expected output? What do you see instead?
The info window/toast should pop up adjacent to the tray, which may be the
top-right or bottom-left corner, rather than always the bottom-right.
What version of the product are you using? On what operating system?
PTman 0.9.1 on Windows 7 SP1 64-bit.
Original issue reported on code.google.com by [email protected]
on 27 Jun 2013 at 8:20
What steps will reproduce the problem?
1. Create a tunnel in putty using IP address:port for the local port
2. Save putty connection
3. Launch ptman
4. Right click the ptman icon
What is the expected output? What do you see instead?
expect ptman to recognize this syntax. Instead, it crashes
What version of the product are you using? On what operating system?
0.9.1
Please provide any additional information below.
Putty allows one to create a tunnel using the syntax <ip>:port for the local
port in addition to doing so for the remote port. This allows one to use use
multiple localhosts so that the same port can be used multiple times with
different localhost ips (ex: 127.101.65.30:3389 is different than
127.0.0.1:3389). Since putty allows this, ptman should as well.
Original issue reported on code.google.com by [email protected]
on 20 Jan 2012 at 8:05
It would be nice if you could have a setting on a connection to auto-reconnect
when being disconnected. We have to work with some flaky ssh-server here which
closes the connection every now and then and it would be great if ptm would
re-establish the connection in this case. Would probably also be helpful to
people who are on a mobile data connection which isn't that reliable.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2012 at 2:49
What steps will reproduce the problem?
1. Setup a putty config to use Pagaent
2. Remove the necessary key from Pagaent
3. Connect to the tunnel from PTM
What is the expected output? What do you see instead?
There's no output at all.
What version of the product are you using? On what operating system?
0.9.1
Please provide any additional information below.
There should be some sort of notification that the tunnel did not open.
Original issue reported on code.google.com by willolbrys
on 30 Jul 2010 at 9:24
It seems to me that PTM can store the actual tunnel settings outside of PuTTY,
but it still requires a PuTTY session that clutters my session list in PuTTY.
It would be nice if the whole session would be stored elsewhere and would not
show up in PuTTY.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2012 at 9:44
What steps will reproduce the problem?
1. add a new Tunnel and try to add a source address
It's only possible to define the sourceport for the tunnel. This is needed
for local ports which are allready occupied like 127.0.0.2:3389 to forward
Remoteaccess to a different host on the target site.
An example of a plink commandline:
-L 127.0.0.2:3389:host1.lan:3389 -L 127.0.0.3:3389:host2.lan:3389 -L
127.0.0.4:3389:host3.lan:3389
Original issue reported on code.google.com by [email protected]
on 6 Jul 2009 at 10:56
There are times when users need the ability for the tunnel to be available at
all times, from system boot onward. Having the ability to select a session
as a default and starting this tunnel on boot would be very useful. If this
functionality could be added gui all the better, but the ability to start a
session from the command line (ptman sessname) would work as well, as this
entry can go into the registry under HKLM > Software > Microsoft > Windows >
Current Version > Run allowing the session to be started from boot (this
incidentally is the easiest way to add this functionality to the gui.) This
would be an easy yet very powerful addition to the manager, increasing its
usefulness tenfold.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2010 at 4:07
What steps will reproduce the problem?
1. put the string "login" in /etc/motd on remote machine
2. create tunnel to remote machine
What is the expected output? What do you see instead?
ptm watches for "login" to appear in the ssh session, but a string in the
remote motd can trigger a match.
What version of the product are you using? On what operating system?
p-t-m latest, win7
Please provide any additional information below.
Changing the search string from "login" to "login:" solves this for me,
although it'll obviously be a little difficult to match that prompt
reliably.
Original issue reported on code.google.com by [email protected]
on 24 Oct 2009 at 5:11
I had to mount samba network disks using putty tunnel. I used
http://www.nikhef.nl/~janjust/CifsOverSSH/VistaLoopback.html tutorial in order
to do it. Putty works just fine, but when I open PuTTY Tunnel Manager I got
such error:
==========================================================================
Unhandled exception has occurred in your application. If you click Continue,
the application will ignore this error and attempt to continue. If you click
Quit, the application will close immediately.
Input string was not in a correct format.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at JoeriBekker.PuttyTunnelManager.Tunnel.Load(Session session, String data)
at JoeriBekker.PuttyTunnelManager.Session.Load(String keyName)
at JoeriBekker.PuttyTunnelManager.Core.Initialize()
at JoeriBekker.PuttyTunnelManager.Core.Instance()
at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.UpdateSessions()
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ptman
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1
CodeBase: file:///C:/Program%20Files%20(x86)/PuTTY/ptman.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
==========================================================================
I suspect it happens because in source port field I put 10.255.255.1:44445
instead of just port number which you try to convert to integer.
What version of the product are you using? On what operating system?
PuTTY Tunnel Manager 0.9.1
Windows 7 x64 Pro
P.S. Thank you very much for your app. I really like it.
Original issue reported on code.google.com by [email protected]
on 27 Jan 2013 at 1:41
What steps will reproduce the problem?
1. Create a session
2. Change the port
3. Try activation the session or look in PuTTY
What is the expected output? What do you see instead?
The entered port should be used and displayed in PuTTY. It is not (it remains
"22").
What version of the product are you using? On what operating system?
0.9.1, Windows 7 Professional
Original issue reported on code.google.com by [email protected]
on 18 Jan 2012 at 9:53
What steps will reproduce the problem?
1. Set up a putty session with a pass-phrase protected key
2. Don't start Pageant (or don't add the key to Pageant)
3. Try to start the tunnel with ptman
What is the expected output? What do you see instead?
Instead of prompting you for the pass-phrase pageant just lets plink time out
waiting.
This can be fixed by editing the PuttyLink.cs file and changing line 145 to
include the word "passphrase" in the check:
else if (data.Contains("password") || data.Contains("passphrase"))
Original issue reported on code.google.com by [email protected]
on 2 Oct 2011 at 8:00
Thanks you for your great job!
PTM is really usefull for me, but could we have a port description in the hint
window. It is required for me because i have many tunnels and it is too
difficult to keep in mind all of them. Please find the attached screenshot,
Thank you.
Best regards, Alex.
Original issue reported on code.google.com by [email protected]
on 10 Sep 2014 at 10:38
Attachments:
What steps will reproduce the problem?
1. setup a putty configuration with the following port forwarding config:
4R4423=localhost:8080
2. Start ptman
3. Right click the tray icon
What is the expected output? What do you see instead?
The putty configuration should be loaded and presented.
What version of the product are you using? On what operating system?
0.9.1 win 7 x64
Please provide any additional information below.
I fixed the issue by using regex instead of string split operations, taking all
know formats (to my knowledge) into account.
Only thing that is changed is the method with the the signature:
public static Tunnel Load(Session session, string data)
I appended my version of this class (again only this method has changed).
Original issue reported on code.google.com by [email protected]
on 22 Sep 2010 at 9:54
Attachments:
Hi,
I heavely use ptman.exe, and I can say I depend on it.
I don't know why, When I do the right click to load the sessions I'm getting an
error (that have started today) and I'm not aware of any change in my PC.
I beg your help to get this fixed.
Regards.
Here's the error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at JoeriBekker.PuttyTunnelManager.Tunnel.Load(Session session, String data)
at JoeriBekker.PuttyTunnelManager.Session.Load(String keyName)
at JoeriBekker.PuttyTunnelManager.Core.Initialize()
at JoeriBekker.PuttyTunnelManager.Core..ctor()
at JoeriBekker.PuttyTunnelManager.Core.Instance()
at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.UpdateSessions()
at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.Menu_Opening(Object sender, CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ContextMenuStrip.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3625 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ptman
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1
CodeBase: file:///C:/Install/Putty/ptman.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3631 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3636 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2012 at 1:47
What steps will reproduce the problem?
1. Start ptman
2. Start a tunnel session (note check mark next to started session)
3. Open ptman settings window
4. Close settings window
5. No more check mark next to started session (tunnels are still open,
though). Only way to close the session(s) is to exit ptman.
What is the expected output? What do you see instead?
Not lose track of open sessions. (wish list: allow add/remove of tunnels
while the session is open)
What version of the product are you using? On what operating system?
0.9.1, Windows XP Pro SP2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Nov 2009 at 2:26
What steps will reproduce the problem?
1. Open ptman
2. Right click task bar icon
3. Click tunnels
3. Open putty
4. Load a session
5. Change the session name
6. Hit save
7. Right click ptman task bar icon
8. Click tunnels
What is the expected output? What do you see instead?
The new session isn't listed.
What version of the product are you using? On what operating system?
PuTTY Tunnel Manager 0.9.1
Windows XP SP3
Please provide any additional information below.
None
Original issue reported on code.google.com by [email protected]
on 28 Oct 2009 at 10:47
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.