home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / rdtelnet.zip / ReadMe.Txt < prev    next >
Text File  |  1997-03-29  |  4KB  |  104 lines

  1. ReDirectTelnet/2 Version 0.50 beta (29/03/1997)
  2.        Copyright (c) Nitin Chandra 1997
  3. -----------------------------------------------
  4.  
  5. In general, ReDirectTelnet/2 simply redirects the traffic from
  6. a given socket to another.
  7.  
  8. I use it to redirect incoming telnet calls on my dial-out system
  9. to another system which runs my BBS (connected via ethernet).
  10. It can, maybe, be used for other purposes as well, but I use it
  11. only for telnet re-direction for now.
  12.  
  13. Of course, it can be used to re-direct telnet calls over a any
  14. LAN which has TCPIP setup properly.
  15.  
  16. The block diagram below illustrates my usage.
  17.  
  18. +------------------+                                +-----------------+
  19. | AdeptXBBS System |<---Warp TCPIP over Ethernet--->| Dial-Out System |
  20. +------------------+                                +-----------------+
  21.  
  22. The BBS system does not dial out anywhere. That is done by my Dial-Out
  23. System. Altho the excellent InJoy dialer with it's masquerading turned
  24. on allows the BBS to get news/email, but cannot route back a telnet call
  25. and neither can any proxy (or proxy like) programs that I have tried so
  26. far do that in a seamless manner.
  27.  
  28. ReDirectTelnet is my saviour for this kind of situation :)
  29.  
  30. The usage is simple:
  31.  
  32.     ReDirectTelnet <Dial-Out System Port> <Network IP> <Network Port>
  33.  
  34.     <Dial-Out System Port>    is the port u want people to telnet to on your
  35.                 dial-out system which will then be redirected
  36.                 to the BBS system over the LAN.
  37.  
  38.     <Network IP>        is the IP address of the system on LAN (in my
  39.                 case the IP address of the BBS system)
  40.  
  41.     <Network Port>        is the port number to redirect the incoming
  42.                 calls on the network system (in my case the
  43.                 BBS system)
  44.  
  45.     Eg: ReDirectTelnet 5001 10.10.10.2 23
  46.  
  47.     This line would redirect any incoming calls to the dial-out system
  48.     on port 5001 to the LAN system with IP 10.10.10.2 on port 23 (23
  49.     is generally the telnet port).
  50.  
  51.  
  52. A Little BackGround
  53. --------------------
  54.  
  55. Okay, for those who want to know more...ReDirectTelnet currently displays
  56. the progress of all activities. Each incoming call is redirected on a
  57. seperate thread. The maximium number of calls the program will take up is
  58. 5 (this is the max limit for a given socket as per docs).
  59.  
  60. Each thread will print out it's ID and the socket numbers it is using and
  61. will print a terminating message when the connection terminates.
  62.  
  63. Pressing any key will terminate the program. Please make sure there are no
  64. coonections in progress when you terminate the program as all threads will
  65. be killed and the sockets they use will not be available for use before they
  66. eventually timeout or the system is reset.
  67.  
  68. A sample session would look like the display below...
  69.  
  70. +----------------------------------------------------------------------------+
  71. | [X:\BBS]ReDirectTelnet 3000 10.202.202.2 23                                |
  72. |                                         |
  73. | Telnet Re-director for AdeptXBBS Version 0.50 (beta)                 |
  74. | Copyright (c) Nitin Chandra 1997                         |
  75. | E-Mail: nitin@poboxes.com                             |
  76. |                                          |
  77. | This program is FREE for any non-commercial use!                 |
  78. | Feel free to e-mail me with any comments/suggestions...             |
  79. |                                          |
  80. | Intializing sockets...                             |
  81. | Getting command line...                             |
  82. | Getting a socket...and binding it...                         |
  83. | Press ANY key to exit!                             |
  84. | Listening for connections...                             |
  85. |                                          |
  86. | Connected...From...10.202.202.1                         |
  87. | Redirecting to network system...Done.                         |
  88. | Creating Thread for current incoming call...                     |
  89. |                                          |
  90. | Thread #3...manning redirection from socket #173 (local) to #174 (remote)  |
  91. |                                          |
  92. | Thread #3 Terminating...                             |
  93. |                                          |
  94. | Clearing Keyboard Buffer...                             |
  95. | Closing Server Socket...                             |
  96. |                                          |
  97. | Done! Thank You :)                                 |
  98. +----------------------------------------------------------------------------+
  99.  
  100. Feel free to e-mail me at nitin@poboxes.com with suggestions/comments/bugs
  101. or even "hey, i wanted this too :)"
  102.  
  103. That's it for now folks! :)
  104.