Re: How to know which channel the client used

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Greg (i-taz_at_libertysurf.fr)
Date: 05/18/04


Date: Tue, 18 May 2004 17:16:00 +0200

I'd like to prevent access to some hosted object to only one TCP port. I
have a private one not be accessible outwards (firewall filter), and one
public.
I thought I could do this watching at the used channel: in case somebody try
to call a "private" object from the public TCP port, it would send back an
Exception.

"Sunny" <sunnyask@icebergwireless.com> a écrit dans le message de news:
#2d21mOPEHA.3096@TK2MSFTNGP09.phx.gbl...
> Hi Greg,
> I don't beleave there is a direct way.
> If you explain a little bit more why you need this, I can try to thing
> for some solution.
>
> Sunny
>
> In article <c8d2si$188$1@news.tiscali.fr>, i-taz@libertysurf.fr says...
> > Hi,
> >
> > I've implemented a Windows service which host some objects (singleton)
and
> > makes them available through two TCP ports.
> > But is there a way for one hosted object to know which TCP port the
client
> > used to call it (get the channel name for instance)
> >
> > Greg
> >
> >
> >



Relevant Pages

  • Re: Remote Desktop connecttion
    ... private ip address of the host computer and it times out on the connection... ... Al Jarvi (MS-MVP Windows Networking) ... Check the windows firewall or any other software firewall you may be running on the PC to make sure TCP Port 3389 is open. ... Again, when calling the home PC from a remote location like work, a friends house, etc use the *public IP* of the router. ...
    (microsoft.public.windowsxp.network_web)
  • Port 1214 - Is It Used For A Specific Purpose?
    ... I was looking over my firewall logs this morning and noticed that there ... are many attempts to connect to TCP port 1214 from different addresses. ... a private address but it's OK as my ADSL modem/router gets a public ...
    (FreeBSD-Security)
  • Mapping TCP Ports
    ... Is it posible to do something like "mapping" a public TCP port to a private ... TCP port inside my LAN? ...
    (microsoft.public.windows.server.networking)