Python Forum
Aggregate multiple telnet connections
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Aggregate multiple telnet connections
#2
Python provides a lot of support for concurrency: https://docs.python.org/3/library/concurrency.html

I would probably start by using Threads and a concurrent queue; each thread connects to a device and puts its log information on the concurrent queue. A different thread accepts connections from the "appliance" and pulls data from the queue and sends it to the appliance.
Reply


Messages In This Thread
Aggregate multiple telnet connections - by Jibeji - Mar-01-2018, 03:15 PM
RE: Aggregate multiple telnet connections - by mpd - Mar-02-2018, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  telnet from ssh tunnel oldfart 3 7,064 Jul-17-2020, 02:28 PM
Last Post: noobami99
  telnet to a device under tacacs management kang18 0 1,540 Jun-05-2020, 06:11 AM
Last Post: kang18
  3.6 telnet eyler 3 11,214 Jun-28-2019, 05:22 AM
Last Post: Khanhamid90
  Any suggestion on python library to use for both ssh and telnet? lord_mani 4 3,673 Jun-25-2019, 04:07 PM
Last Post: gb74razor
  Select of connections Gupi 1 2,064 Jun-04-2019, 09:32 AM
Last Post: Gupi
  telnet question jacklee26 2 2,462 Mar-30-2019, 06:45 AM
Last Post: jacklee26
  Retrieve output from telnet command Networker 1 4,041 Mar-12-2019, 01:36 PM
Last Post: searching1
  Multithread telnet not working Parallel anna 7 7,360 Feb-05-2018, 01:17 PM
Last Post: anna
  Python telnet script for IP list mangesh 1 54,599 Jun-26-2017, 11:12 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020