473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Question on System.Net.Dns (used with SSL and proxy)

Hello all,

I have a web application written in C# that needs to track the machine name,
ip, and the user name of the accessor.
the application is hosted on a web server using SSL.

i got the user's IP by doing a request.UserHostAddress and then pass the
value to the Dns.GetHostByAddress(ip) method --to get the machine name--,
the IP returned is the proxy used by the users, and the GetHostByAddress()
method returns an error.
Everything is fine if I test it without SSL..

Is there any correct way to obtain user's ip / machine name within an SSL &
proxied environment??

(Sorry if i post this to the wrong group, let me know if I'm wrong)

thanks' in advance,
Asfar
Aug 23 '06 #1
1 2024

"Asfar Sadewa" <as**********@gmail.comwrote in message
news:eU**************@TK2MSFTNGP03.phx.gbl...
Hello all,

I have a web application written in C# that needs to track the machine
name, ip, and the user name of the accessor.
the application is hosted on a web server using SSL.

i got the user's IP by doing a request.UserHostAddress and then pass the
value to the Dns.GetHostByAddress(ip) method --to get the machine name--,
the IP returned is the proxy used by the users, and the GetHostByAddress()
method returns an error.
Everything is fine if I test it without SSL..
I should think you got the proxy address with no SSL. Often proxies aren't
used for SSL, because the proxy can't process the data, so isn't useful on
many cases.

It's also much more likely that an ISP's proxy server has a reverse DNS
entry, and that the user's workstation address doesn't.
>
Is there any correct way to obtain user's ip / machine name within an SSL
& proxied environment??
If there is a proxy, then there is no way to get the ultimate user's ip or
machine name without client cooperation. For example, a javascript or
ActiveX control could send back any information, but these run under the
user's control. See "anonymizing web proxy".
>
(Sorry if i post this to the wrong group, let me know if I'm wrong)

thanks' in advance,
Asfar

Aug 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
4
by: Fuzzyman | last post by:
urllib2 (under windows) will auto-detect your proxy settings and use those. Normally that's a good thing (I guess), except when it's not ! How do I switch off this behaviour ? I'm behind a...
38
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
6
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well...
7
by: Brian P | last post by:
I am working on a new program that uses a SOAP interface. I have written a few of these before, but this time it is giving me trouble. I suspect there is a problem with on the SOAP handler side,...
0
by: Jason Zhou | last post by:
Ben, Thanks for the suggestion, I screwed up the IIS setting, that caused the problem, it's fixed after I change the setting back. Thanks. I do have one more question. In my client...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
23
by: Jonathan Wood | last post by:
I was wondering if some of you could advise me on the following issue. I ported my code that generates shareware licenses to a C# class. I'd like to get to the point where this is done online...
8
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi, I created a web service and hosted it in Windows Services. It is working fine. Now I am trying to implement the X509 certificates for message layer security. But it is throwing the following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.