sredird fork: sercd
Quoted 4 lines
A much better implementation of Telnet CPC, "telnetcpcd", was put together by Thomas Pinkl <[email protected]>. He has open sourced it and the code quality is quite high.
What does "better" mean? This software looks much younger than sredird/sercd, which probably means more bugs. I cannot find a home page, CVS repository, mailing list, freshmeat entry or documentation. The build system is not Autoconfized. The tarball unpacks all the files in the current directory...
Tell me, in what way was sredird so fundamentally broken that a complete rewrite was necessary?
Now we have *four* Open Source RFC2217 servers for UNIX...
Signature · 9 lines
Peter Åstrand Chief Developer Cendio www.thinlinc.com Teknikringen 3 www.cendio.se 583 30 Linköping Phone: +46-13-21 46 00 - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 16 lines
Quoted 4 lines
Quoted 3 lines · Jeffrey Altman
A much better implementation of Telnet CPC, "telnetcpcd", was put together by Thomas Pinkl <[email protected]>. He has open sourced it and the code quality is quite high.
Quoted 10 lines · Peter Astrand
What does "better" mean? This software looks much younger than sredird/sercd, which probably means more bugs. I cannot find a home page, CVS repository, mailing list, freshmeat entry or documentation. The build system is not Autoconfized. The tarball unpacks all the files in the current directory...
Tell me, in what way was sredird so fundamentally broken that a complete rewrite was necessary?
Now we have *four* Open Source RFC2217 servers for UNIX...
Quoted 6 lines · Jeffrey Altman
Actually, telnetcpcd is not young. It is much more robust and just as old as sredird.
It was only recently open sourced due to the sluggishness of corporate lawyers. My hope
is to one day find the time to implement TELNET START-TLS and TELNET AUTH
for telnetcpcd. My time is rather restricted these days.
sredird does pre-date my telnetcpcd. At the time that I needed an RFC2217 server, in October 2001, just after C-Kermit 8.x was released with RFC2217 client support, I searched the net for open source projects and found only sredird (version 1.1.8 of November 9, 2000).
Unfortuneately, sredird 1.1.8 had some bugs that prevented it from working with C-Kermit. It also had some design limitations, such as supporting one modem per server/port, that I couldn't live with.
Jeff quickly fixed the bugs in sredird. But I had already decided to write my own server. By February 2002, I had a version working (mostly) in-house. By December 2002, nearly all of the wrinkles had been ironed out of C-Kermit and telnetcpcd. In August 2003, I received offical permission from HBS management to release telnetcpcd under an open source license.
For the past 30 months or so, telnetcpcd has been managing a pool of 48 modems here at HBS. The modem pool sits on an old Pentium II 400MHz box running Red Hat Linux 6.1. The modems are attached to 3 Digi Xem devices. We're using C-Kermit 8.0.207 as the client. This combination has been very stable.
I've registered telnetcpcd as a project at Sourceforge, but there's nothing there right now, except for a description. I've also obtained a port assignment for "Telnet Com Port Control" from IANA, port 3696.
Unfortunately I haven't had time to work on telnetcpcd during the past year. I expect that to change, soon. One of the things on the TODO list is to autoconf-ize the build process. Pointers to a resource that could help with that process would be most welcome.
Peter, you mention that there are 4 open source RFC2217 servers for UNIX. I know of sredird and telnetcpcd. Can you tell me about sercd and the fourth one?
Why was sredird forked to create sercd?
Signature · 3 lines
Thomas J. Pinkl 738 Louis Drive Unix Systems Programmer Warminster, Pa 18974 Health Business Systems, Inc. (215) 442-9300 x9260
Quoted 4 lines
Unfortuneately, sredird 1.1.8 had some bugs that prevented it from working with C-Kermit. It also had some design limitations, such as supporting one modem per server/port, that I couldn't live with.
This sounds interesting. How is it possible to support multiple modems? Is this supported per-se in RFC2217?
Quoted 6 lines
Jeff quickly fixed the bugs in sredird. But I had already decided to write my own server. By February 2002, I had a version working (mostly) in-house. By December 2002, nearly all of the wrinkles had been ironed out of C-Kermit and telnetcpcd. In August 2003, I received offical permission from HBS management to release telnetcpcd under an open source license.
I do appreciate this; the more open source the better.
Quoted 3 lines
year. I expect that to change, soon. One of the things on the TODO list is to autoconf-ize the build process. Pointers to a resource that could help with that process would be most welcome.
seul.org/docs/autotut is recommended in ESRs TAOUP, but there are many more.
Quoted 3 lines
Peter, you mention that there are 4 open source RFC2217 servers for UNIX. I know of sredird and telnetcpcd. Can you tell me about sercd and the fourth one?
When thinking about it, there are at least five:
1. sredird
2. msredird
3. telnetcpcd
4. ser2net
5. sercd
Quoted 1 line
Why was sredird forked to create sercd?
I've explained this recently on this list: Is there an archive somewhere, perhaps?
Signature · 9 lines
Peter Åstrand Chief Developer Cendio www.thinlinc.com Teknikringen 3 www.cendio.se 583 30 Linköping Phone: +46-13-21 46 00 - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Thomas J Pinkl
Quoted 3 lines
Unfortuneately, sredird 1.1.8 had some bugs that prevented it from working with C-Kermit. It also had some design limitations, such as supporting one modem per server/port, that I couldn't live with.
Quoted 2 lines · Peter Astrand
This sounds interesting. How is it possible to support multiple modems? Is this supported per-se in RFC2217?
I can't think of anything in RFC2217 that dictates how many modems a server can support. It is my understanding that Cisco access servers, for example, provide a pool of modems behind a single TCP/IP server port. Note, however, that I've never seen or used a Cisco access server. :-)
At any rate, that is the model that I implemented in telnetcpcd: a single TCP/IP listener that fork()'s a child process to handle the client. The child process allocates a modem from the pool by selecting one at random and trying to UUCP lock it. It repeats that process until it either locks a modem or determines that there is no modem available.
Quoted 6 lines
Quoted 3 lines
year. I expect that to change, soon. One of the things on the TODO list is to autoconf-ize the build process. Pointers to a resource that could help with that process would be most welcome.
seul.org/docs/autotut is recommended in ESRs TAOUP, but there are many more.
Thanks for the pointer.
Quoted 12 lines
Quoted 3 lines
Peter, you mention that there are 4 open source RFC2217 servers for UNIX. I know of sredird and telnetcpcd. Can you tell me about sercd and the fourth one?
When thinking about it, there are at least five:
1. sredird
2. msredird
3. telnetcpcd
4. ser2net
5. sercd
Quoted 4 lines
Quoted 1 line
Why was sredird forked to create sercd?
I've explained this recently on this list: Is there an archive somewhere, perhaps?
By "this list" I assume that you're referring to linux-serial. I wasn't aware of the list's existence until now. I'll look for the list archives. Thank you.
Signature · 3 lines
Thomas J. Pinkl 738 Louis Drive Unix Systems Programmer Warminster, Pa 18974 Health Business Systems, Inc. (215) 442-9300 x9260
Quoted 9 lines
Quoted 2 lines
This sounds interesting. How is it possible to support multiple modems? Is this supported per-se in RFC2217?
I can't think of anything in RFC2217 that dictates how many modems a server can support. It is my understanding that Cisco access servers, for example, provide a pool of modems behind a single TCP/IP server port. Note, however, that I've never seen or used a Cisco access server. :-)
Quoted 4 lines
At any rate, that is the model that I implemented in telnetcpcd: a single TCP/IP listener that fork()'s a child process to handle the client. The child process allocates a modem from the pool by selecting one at random and trying to UUCP lock it. It repeats that
Aha, now I get it. I thought you had some mechanism to select which modem to use. For our purposes, we are using the protocol to make the serial ports on thin clients available at the server. If the client has multiple serial ports, it's awkward to have to run multiple servers on multiple TCP ports. It would be nice if it was possible to use a single 2217-server, and tell it which port we'd like to use.
Signature · 9 lines
Peter Åstrand Chief Developer Cendio www.thinlinc.com Teknikringen 3 www.cendio.se 583 30 Linköping Phone: +46-13-21 46 00 - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html