Comments (3)
In particular, this solves the MCCP (http://tintin.sourceforge.net/mccp/) problem, whereby a compression layer sits below the Telnet layer, and its enabling layer sits above. The problem is that the IAC WILL must not be encrypted, since encryption hasn't been enabled. However, everything after the IAC WILL must be encrypted, including further Telnet conversation.
By allowing other types of data to pass through the Telnet layer, you could example register a slot with the MCCP option's activation, and return a custom tag. In this way, the tag will be passed through the activation sequence immediately following the IAC WILL, and the MCCP option can detect the tag and begin encryption during the next transmission. This would work similarly with disabling the option.
from telnetpp.
After some initial work trying to hammer in a boost::any to terminalpp::token, this makes the interface really clunky. Some investigation is required.
from telnetpp.
Came up with a telnet_pass = variant<telnetpp::token, boost::any> structure. It's still clunky, but far less so than hammering a boost::any into the telnetpp::token variant raw. All the tests pass, but it may be worth considering if there's a better interface to be had.
from telnetpp.
Related Issues (20)
- Proper versioning
- Proper Packaging
- Fix Travis runs on Trusty
- Conan package HOT 1
- ZLib MCCP codec uses memory when unused
- Add profiling and sanitizing as conan options HOT 1
- Optimize session::receive for when there is no standing data
- MCCP Cannot compress large amounts of data
- How to install? HOT 6
- Add GMCP support? HOT 1
- should be noted boost requsites HOT 3
- CMake build script should strive to be package-manager-agnostic HOT 5
- How hard would it be to integrate your telnet library with DGD HOT 1
- Use conan center instead of old bincrafters conan dependencies HOT 1
- Coverage statistics accidentally includes coverage for 3rd party library
- Migrate from travis-ci.org
- Build error with Boost 1.75.0 HOT 19
- conan gives ERROR: Unable to find 'serverpp/0.0.5@kazdragon/conan-public' in remotes HOT 5
- Construct a session with send/receive continuations to reduce interface complexity
- Thank you! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telnetpp.