• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • Last Modified:

zmodem - what type of protocol is it..? layer 3 or layer 4 ? more...

guys,

is zmodem (zmtx/zmrx) a layer 3 (like tcp/udp) or layer 4 protocol (like ftp?).. I am running a server with no telnet and only SSH2 access, and we use zmodem to transfer files to and fro our local PCs. I would like to know what type of protocol is it and how it relates to firewall rules / port numbers...

does zmodem tunnel through SSH in this case?
Please advice.
Thanks
0
thiamwah
Asked:
thiamwah
  • 2
1 Solution
 
jlevieCommented:
zmodem is a serial file transfer protocl and as such is completely separate from networking protocols. It was originally delevloped as a replacement for xmodem, which in turn was developed as an alternative to kermit. All of these are a means of copying files over a simple serial connection like you'd have in the case of a direct modem dial-up directly to a remote server. They were very popular and widely used before the days of dial-up networking and are quite efficient over low speed dial-up connections (<9600baud).

The most appropriate way to transfer files between a remote client and a remote server that only offers ssh access is to use scp. The putty client for windows (http://www.chiark.greenend.org.uk/~sgtatham/putty/) includes a command line scp program and there are Gui clients for windows like WinSCP (http://winscp.vse.cz/eng/).
0
 
thiamwahAuthor Commented:
so how does zmodem relate to firewall rules...?
As since I am using SSH2 to telnet, when I use zmodem to transfer or put files in the server, is it tunnelled through SSH (TCP/port 22)?

0
 
newmangCommented:
The short answer is that it doesn't. The firewall controls the ability to connect various addresses and ports through it, generally it doesn't look at the contents of the packets passed through it. zmodem is an application to application protocol not a comms protocol.
0
 
jlevieCommented:
newmang is quite correct, but another way of stating the relationship of zmodem to firewall rules is that since zmodem is an embedded application protocol that works "under" some other commuication protocol, it doesn't require special adjustments on a firewall. The communications protocol (ssh in this case) provides the transport conduit and zmodem simply uses that connection.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now