RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Software > Trunking Control Channel Decoding


Trunking Control Channel Decoding For discussion of installation, setup, configuration, and use of the Trunker / Unitrunker digital decoding utilities (for decoding Trunking control channels)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-09-2008, 01:06 PM
poltergeisty's Avatar
Member
   
Join Date: May 2004
Location: RLG, Fly heading 053, intercept 315 DVV, look for the SAM
Posts: 2,905
Question Sending RS232 data through SSH

Yep, you heard it right.

This really isn't decoder related, well sort of, in a sense. Figure I'll get a better response in here.

I have a program that will create a virtual com port and send the RS232 data over TCP, I.E, over a network. Well, I can pass RS232 data from one computer to another and actually control my scanner on a laptop that doesn't have a serial port. That was the first test. The second involves sending the "apparent" TCP data through a SSH tunnel. Went trough everything I could think of and was not successful in sending this kind of TCP traffic through a SSH tunnel. I currently have an open source firmware for my router that has a built in server for SSH. So I am no stranger to using it. I use it for road warrior Internet all the time. Even pass UltraVNC through SSH, no problem. But this RS232 to TCP isn't working. My only thought is that the data can not be encrypted in SSH. My next course of action is a VPN.




Any thoughts? I can upload some captured packets from wireshark or another sniffer I use. I'm using putty btw.
__________________
The US of A, the most powerful military in the world.
My love is with Jesus

http://www.youtube.com/watch?v=88ikSlFfW9M
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 12-14-2008, 03:26 PM
poltergeisty's Avatar
Member
   
Join Date: May 2004
Location: RLG, Fly heading 053, intercept 315 DVV, look for the SAM
Posts: 2,905
Default

*Bump
__________________
The US of A, the most powerful military in the world.
My love is with Jesus

http://www.youtube.com/watch?v=88ikSlFfW9M
Reply With Quote
  #3 (permalink)  
Old 12-15-2008, 12:47 AM
shaft's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jan 2004
Location: Wentzville, Mo
Posts: 528
Default

I didnt catch this the first time around, so thanks for bumping it.

I wouldnt think it would matter if you sent the traffic within the SSH tunnel. I dont see how VPN would make a difference since your essentially doing the same thing.

Can you do port fowarding in Putty? I use SecrureCRT for my SSH/telnet app. Within SecureCRT you can do port fowarding of applications within the SSH tunnel. For example, I can route my IRC traffic over the SSH tunnel to a server at my house.
Reply With Quote
  #4 (permalink)  
Old 12-15-2008, 01:13 PM
poltergeisty's Avatar
Member
   
Join Date: May 2004
Location: RLG, Fly heading 053, intercept 315 DVV, look for the SAM
Posts: 2,905
Default

Yes, I can port forward. It strange because I do route VNC and E-mail thorough SSH, but the converted rs232 traffic which is TCP can't seem to go through. It may just be how I'm routing the traffic from the virtual com port through putty.

So it should work? Okay, cool. I'll try some other things here and see what happens.

SecureCRT looks just like putty. I'll have to give that a try. http://en.wikipedia.org/wiki/PuTTY
__________________
The US of A, the most powerful military in the world.
My love is with Jesus

http://www.youtube.com/watch?v=88ikSlFfW9M
Reply With Quote
  #5 (permalink)  
Old 12-15-2008, 08:07 PM
mtindor's Avatar
OH/WV DB Admin
  RadioReference Database Admininstrator
Database Admin
Audio Feed Provider
Audio Feed Provider
Amateur Radio Operator
Amateur Radio
 
Join Date: Dec 2006
Location: Jefferson County, Ohio
Posts: 3,292
Send a message via MSN to mtindor
Default

What's the program called that is actinga a a virtual comport and allowing you to send the RS232 data over TCP/IP?

mike
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 12-17-2008, 10:29 PM
poltergeisty's Avatar
Member
   
Join Date: May 2004
Location: RLG, Fly heading 053, intercept 315 DVV, look for the SAM
Posts: 2,905
Lightbulb It's alive! It's alive!!!

Well, I figured it out last night. I had the settings right, however it was only one important option that caused the virtual com port to fail. I enabled the option to create a connection even if not connected, or whatever it was called. Now it works! There are small things to consider though. Like starting the scanner software before creating a virtual com port will fail a SSH tunnel. So you must make the virtual com port first. Sounds like common sense, but it's more than that. I'm tunneling with SSH and confirmed with a network sniffer. That's cool for me because I have a built in SSH server in my router. The router is flashed with an alternative firmware. True nerd states has been obtained here. Hey, it saves power! I don't have to run another computer as a Linux box for SSH.

This is a great little VOIP app (uses UDP) to use instead of skype. I have a couple of other little apps that will send voice over TCP instead, but I need to test them. If all goes well, I should be able to send the voice traffic over SSH as well. So then I'll have scanner and voice encrypted using minimal bandwidth as compared to using UltraVNC. Except now with the use of SSH, the overhead adds about ten times more data. Normal transfer of RS232 to TCP is about 1.5-2.0 Kbits/sec. With SSH, it jumps to about 19Kbits/sec. Guess I'm picky.

My original use was with UltraVNC, however that is a slow and cumbersome. Great for fixing any problems on the remote computer though! Getting at the source of remote scanning was what I wanted, and RS232 to TCP was the right alternative.



▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓


Instructions on what I did here are in the .pdf Hope you can understand it.

Use this as the com port to TCP proxy You need that to send the scanner's data through TCP. Another app which has the ability to be customized is SerProxy You can open multiple instances of the first app, Digibit, or configure SerProxy to run multiple com ports and the like in the .cfg file. The readme file in the SerProxy folder may have to be renamed with the .txt to read it.

This is the virtual com port app you run this on the computer that doesn't have a com port. In my case a laptop. I created a virtual com port in the laptop and then started the scanner software. It is like the scanner software never new a com port existed. . Wireless networking to its fullest potential I say!
__________________
The US of A, the most powerful military in the world.
My love is with Jesus

http://www.youtube.com/watch?v=88ikSlFfW9M
Reply With Quote
Reply

Bookmarks

Tags
putty, ssh, stream, ultravnc, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:55 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
All information here is Copyright 2010 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2011 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions