webmethod "push" through NAT (network address translation) firewall-router

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default webmethod "push" through NAT (network address translation) firewall-router

    Hello,
    Instead of having my client (desktop) application poll the server, I would
    like to have my server "push" data to a desktop application. The desktop
    application will most probably reside on the other side of a firewall/router
    with address translation. How do I perform such a feat with HTTP-based web
    services?
    Thanks in advance,
    Gene


    Gene Guest

  2. Similar Questions and Discussions

    1. #40481 [NEW]: mail() sends email to wrong address where there are "-" in localpart of "to"
      From: penartur at yandex dot ru Operating system: Linux PHP version: 5.2.1 PHP Bug Type: Mail related Bug description: ...
    2. WebMethod: "There is an error in XML document"
      Hi- I have a WebMethod in C# (under asp.net 1.1) which returns a collection of ISerializable objects. The web method works fine until there are...
    3. Runtime error "no row at position 0" when trying to access WebMethod arguments
      Hi, I have a curious problem. I have a WebService with one method that requieres some arguments (basicaly strings, ints, longs and a...
    4. Vacation works for "real" email address but not for aliases -- except for some users
      Forgive me for my ignorance but sendmail is greek to me. So here's my problem, with as much info as I can think of. I am running Red Hat 9 with...
    5. who knows "web trend firewall suite" and samba?
      Hello. who knows "web trend firewall suite"? I want to save syslog file coming from linxu firewall through "Web trend firewall suite" when I...
  3. #2

    Default Re: webmethod "push" through NAT (network address translation) firewall-router

    Somehow the server would have to know where to now start contacting the client.
    The client would have to open up ports. You'd And then they would switch
    roles -- the client becomes the server and the server becomes the client.
    You have all the standard firewall issues to deal with, but going the other
    way now.

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > Hello,
    > Instead of having my client (desktop) application poll the server, I
    > would
    > like to have my server "push" data to a desktop application. The
    > desktop
    > application will most probably reside on the other side of a
    > firewall/router
    > with address translation. How do I perform such a feat with HTTP-based
    > web
    > services?
    > Thanks in advance,
    > Gene


    Brock Allen Guest

  4. #3

    Default Re: webmethod "push" through NAT (network address translation) firewall-router

    Right, I was expecting the client application to make the first contact (to
    the server). Thereafter I would like the server to push data back to the
    client. My issue is how do I navigate the NAT- i.e. everything behind the
    router will have individual addresses, but on the "public" side of the
    router, everyone will have the same address. -
    What techniques do I employ to "drill" through router?
    Is it possible to do with HTTP / stateless protocol?
    -Gene

    "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    news:913865632545161837049024@msnews.microsoft.com ...
    > Somehow the server would have to know where to now start contacting the
    > client. The client would have to open up ports. You'd And then they would
    > switch roles -- the client becomes the server and the server becomes the
    > client. You have all the standard firewall issues to deal with, but going
    > the other way now.
    >
    > -Brock
    > DevelopMentor
    > [url]http://staff.develop.com/ballen[/url]
    >
    >
    >
    >> Hello,
    >> Instead of having my client (desktop) application poll the server, I
    >> would
    >> like to have my server "push" data to a desktop application. The
    >> desktop
    >> application will most probably reside on the other side of a
    >> firewall/router
    >> with address translation. How do I perform such a feat with HTTP-based
    >> web
    >> services?
    >> Thanks in advance,
    >> Gene
    >
    >
    >

    Gene Guest

  5. #4

    Default Re: webmethod "push" through NAT (network address translation) firewall-router

    Ah, so since you're behind NAT you're bumping into restrictions in the infrastructure.
    The only thing I can think of is to have the NAT route specifc ports/traffc
    to your internal machine. But again, this is probabaly not what you'd like,
    especially since this now limits you to that one machine.

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > Right, I was expecting the client application to make the first
    > contact (to
    > the server). Thereafter I would like the server to push data back to
    > the
    > client. My issue is how do I navigate the NAT- i.e. everything behind
    > the
    > router will have individual addresses, but on the "public" side of the
    > router, everyone will have the same address. -
    > What techniques do I employ to "drill" through router?
    > Is it possible to do with HTTP / stateless protocol?
    > -Gene
    > "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    > news:913865632545161837049024@msnews.microsoft.com ...
    >
    >> Somehow the server would have to know where to now start contacting
    >> the client. The client would have to open up ports. You'd And then
    >> they would switch roles -- the client becomes the server and the
    >> server becomes the client. You have all the standard firewall issues
    >> to deal with, but going the other way now.
    >>
    >> -Brock
    >> DevelopMentor
    >> [url]http://staff.develop.com/ballen[/url]
    >>> Hello,
    >>> Instead of having my client (desktop) application poll the server, I
    >>> would
    >>> like to have my server "push" data to a desktop application. The
    >>> desktop
    >>> application will most probably reside on the other side of a
    >>> firewall/router
    >>> with address translation. How do I perform such a feat with
    >>> HTTP-based
    >>> web
    >>> services?
    >>> Thanks in advance,
    >>> Gene


    Brock Allen Guest

  6. #5

    Default Re: webmethod "push" through NAT (network address translation) firewall-router

    Right, I'm sure IM clients solve this problem, but I don't want to
    introduce a non-http based protocol... is it possible to perform web-service
    calls across a "sticky" socket?

    "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    news:915937632545283651910192@msnews.microsoft.com ...
    > Ah, so since you're behind NAT you're bumping into restrictions in the
    > infrastructure. The only thing I can think of is to have the NAT route
    > specifc ports/traffc to your internal machine. But again, this is
    > probabaly not what you'd like, especially since this now limits you to
    > that one machine.
    >
    > -Brock
    > DevelopMentor
    > [url]http://staff.develop.com/ballen[/url]
    >
    >
    >
    >> Right, I was expecting the client application to make the first
    >> contact (to
    >> the server). Thereafter I would like the server to push data back to
    >> the
    >> client. My issue is how do I navigate the NAT- i.e. everything behind
    >> the
    >> router will have individual addresses, but on the "public" side of the
    >> router, everyone will have the same address. -
    >> What techniques do I employ to "drill" through router?
    >> Is it possible to do with HTTP / stateless protocol?
    >> -Gene
    >> "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    >> news:913865632545161837049024@msnews.microsoft.com ...
    >>
    >>> Somehow the server would have to know where to now start contacting
    >>> the client. The client would have to open up ports. You'd And then
    >>> they would switch roles -- the client becomes the server and the
    >>> server becomes the client. You have all the standard firewall issues
    >>> to deal with, but going the other way now.
    >>>
    >>> -Brock
    >>> DevelopMentor
    >>> [url]http://staff.develop.com/ballen[/url]
    >>>> Hello,
    >>>> Instead of having my client (desktop) application poll the server, I
    >>>> would
    >>>> like to have my server "push" data to a desktop application. The
    >>>> desktop
    >>>> application will most probably reside on the other side of a
    >>>> firewall/router
    >>>> with address translation. How do I perform such a feat with
    >>>> HTTP-based
    >>>> web
    >>>> services?
    >>>> Thanks in advance,
    >>>> Gene
    >
    >
    >

    Gene Guest

  7. #6

    Default Re: webmethod "push" through NAT (network address translation) firewall-router

    I think the way IM clients make their magic happen is they go to a central
    server, so all traffic goes thru a third party (like file txfers). Again,
    I think the infrastructure is up against you here... I don't think you're
    going to get the callback behavior you want. The closest thing I've seen
    is something called "Parking a HTTP request", but I think this is an expensive
    approach.

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > Right, I'm sure IM clients solve this problem, but I don't want to
    > introduce a non-http based protocol... is it possible to perform
    > web-service calls across a "sticky" socket?
    >
    > "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    > news:915937632545283651910192@msnews.microsoft.com ...
    >
    >> Ah, so since you're behind NAT you're bumping into restrictions in
    >> the infrastructure. The only thing I can think of is to have the NAT
    >> route specifc ports/traffc to your internal machine. But again, this
    >> is probabaly not what you'd like, especially since this now limits
    >> you to that one machine.
    >>
    >> -Brock
    >> DevelopMentor
    >> [url]http://staff.develop.com/ballen[/url]
    >>> Right, I was expecting the client application to make the first
    >>> contact (to
    >>> the server). Thereafter I would like the server to push data back to
    >>> the
    >>> client. My issue is how do I navigate the NAT- i.e. everything
    >>> behind
    >>> the
    >>> router will have individual addresses, but on the "public" side of
    >>> the
    >>> router, everyone will have the same address. -
    >>> What techniques do I employ to "drill" through router?
    >>> Is it possible to do with HTTP / stateless protocol?
    >>> -Gene
    >>> "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    >>> news:913865632545161837049024@msnews.microsoft.com ...
    >>>> Somehow the server would have to know where to now start contacting
    >>>> the client. The client would have to open up ports. You'd And then
    >>>> they would switch roles -- the client becomes the server and the
    >>>> server becomes the client. You have all the standard firewall
    >>>> issues to deal with, but going the other way now.
    >>>>
    >>>> -Brock
    >>>> DevelopMentor
    >>>> [url]http://staff.develop.com/ballen[/url]
    >>>>> Hello,
    >>>>> Instead of having my client (desktop) application poll the server,
    >>>>> I
    >>>>> would
    >>>>> like to have my server "push" data to a desktop application. The
    >>>>> desktop
    >>>>> application will most probably reside on the other side of a
    >>>>> firewall/router
    >>>>> with address translation. How do I perform such a feat with
    >>>>> HTTP-based
    >>>>> web
    >>>>> services?
    >>>>> Thanks in advance,
    >>>>> Gene


    Brock Allen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139