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. .NET (Core and Framework)
  4. Socks Tunneling?

Socks Tunneling?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpphpsysadmintoolsquestion
5 Posts 2 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.
  • H Offline
    H Offline
    Hadi Fakhreddine
    wrote on last edited by
    #1

    Is it possible to create any kind of script page that would serve as a tunneling application on a server? ASP/PHP or a .NET Webservice? Then use a windows application to perform the tunneling, etc...just like http-tunnel and hopster.

    D 1 Reply Last reply
    0
    • H Hadi Fakhreddine

      Is it possible to create any kind of script page that would serve as a tunneling application on a server? ASP/PHP or a .NET Webservice? Then use a windows application to perform the tunneling, etc...just like http-tunnel and hopster.

      D Offline
      D Offline
      David Leston
      wrote on last edited by
      #2

      Are you looking to be able to manage tunnels through a web app?

      H 1 Reply Last reply
      0
      • D David Leston

        Are you looking to be able to manage tunnels through a web app?

        H Offline
        H Offline
        Hadi Fakhreddine
        wrote on last edited by
        #3

        Yeah...is it possible? If not a regular page, maybe a .NET Web Service...I believe it should be possible: the Web Service should retrieve the given page (in the case of HTTP) and send them back to the client's Windows Form application... I need to know how to make it work and if I could use it in tunneling SOCKS

        D 1 Reply Last reply
        0
        • H Hadi Fakhreddine

          Yeah...is it possible? If not a regular page, maybe a .NET Web Service...I believe it should be possible: the Web Service should retrieve the given page (in the case of HTTP) and send them back to the client's Windows Form application... I need to know how to make it work and if I could use it in tunneling SOCKS

          D Offline
          D Offline
          David Leston
          wrote on last edited by
          #4

          You could write a tunnel which uses an XML configuration file. Then have it change it's settings whenver the file is updated. Then create a web application to edit the configuration file. The Configuration Application Block from Microsoft would work well for this. If you want reporting from the tunnel, have it log to a file. I like XML logs. log4net can do whatever kind of log you want. Then you can create a web app to read, format and display the log file. I'm personally working on a TCP proxy that will search and replace content in the stream. I've got the filters working fine, working with producer / consumer threads, but I can't get the proxy acting likce a TCP server and client working. Anything like what you're working on?

          H 1 Reply Last reply
          0
          • D David Leston

            You could write a tunnel which uses an XML configuration file. Then have it change it's settings whenver the file is updated. Then create a web application to edit the configuration file. The Configuration Application Block from Microsoft would work well for this. If you want reporting from the tunnel, have it log to a file. I like XML logs. log4net can do whatever kind of log you want. Then you can create a web app to read, format and display the log file. I'm personally working on a TCP proxy that will search and replace content in the stream. I've got the filters working fine, working with producer / consumer threads, but I can't get the proxy acting likce a TCP server and client working. Anything like what you're working on?

            H Offline
            H Offline
            Hadi Fakhreddine
            wrote on last edited by
            #5

            Yeah you could say we're stuck in the same field. Although, I wasn't even able to filter the stream (this is my first proxy project). Can u mail me ur work so far? I need to know how to exchange messages with the stream. I found a very nice class that wraps all the proxying u need (HTTP, SOCKS and even FTP transfers). Just instantiate and call methods! I'm still in the early stages of testing it and it looks promising, however I need to go a little deeper in asynchronous programming (I still suck big time at that). If you're interested let me know.

            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