Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. .NET 2.0 Remoting Listener - Adding a Telnet connection message [modified]

.NET 2.0 Remoting Listener - Adding a Telnet connection message [modified]

Scheduled Pinned Locked Moved C#
csharpsysadminsecurityhelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MrEyes
    wrote on last edited by
    #1

    Hello all, I have a .NET 2.0 remoting service that listens on various URIs for requests, all well and good and it works perfectly. However I would like to add functionality that displays a custom message should somebody telnet to the listening port. Currently if somebody does this the following is displayed:

    .NET☺☻☻♥☺♥☺☺hServer encountered an internal error. To get more info turn on cust
    omErrors in the server's config file.

    I would like to display something like this:

    My Widget Application v1.0
    blah blah blah something about usage blah blah something about auditing blah blah blah

    What complicates this even further is the fact that the tcp channel is registered with a compression and encryption sink. Obviously a simple command line telnet connection is not going to send any data that is either compressed or encrypted, so I need this to bypass the sinks. So does anybody know how to do this? -- modified at 9:13 Friday 23rd November, 2007

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups