How to know internally redirect in Proxy Server

Hello,
I notice that our developed NSAP codes, at very first time, Sun Java System proxy Server internally redirect in Proxy Server.
If anyone knows how we can get the behavior difference between internal redirect and normal procedure to see the pblock structure.
Best Regards;
MMd1

Here is the program.
My NSAPI program generate POST message in the below, but Web Proxy Server generate the appended URL in the below;
http: //tnakamura-t42.xxx.com:85/NSAPI_dev/http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
The last GET in the message of the below should be;
http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
The Web Proxy Server internally redirect the below.
I am not sure why Web Proxy Server modify the URL between (POST -> GET message)
If anyone knows the causes, please let us know.
( Here is the HTTP Header packet log)
==================================================
POST http: //tsugai-t42.xxx.com:85/NSAP_dev/aaa_logon_en.html HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Referer: http://tsugai-t42.xxx.com:85/NSAP_dev/aaa_logon_en.html
Accept-Language: ja
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Host: tsugai-t42.xxx.com:85
Content-Length: 55
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: AAAASESSION=aHR0cCUzQS8vdHN1Z2FpLXQ0Mi5hcC5yc2EubmV0JTNBODYvdGVzdDQvdGVzdDEuaHRtbA%3D%3D
auth_mode=basic&user=aaaaa&password=xxxx&x=13&y=10
HTTP/1.1 303 See Other
Server: Sun-Java-System-Web-Proxy-Server/4.0.2
Date: Thu, 20 Apr 2006 23:57:42 GMT
Content-length: 106
Content-type: text/html
Set-cookie: AAASESSION=AAAAAQABAEBmNJDkbIY5stNO5YOpcqSUkKpAA341dbnAtqDShjDEk%2FUNelCn%2BSc2eOutJiX3tla1aFs2muQ%2BZ61WHhDvQfDr; domain=.xxx.com; path=/
Location: http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html
Connection: close
GET http: //tnakamura-t42.xxx.com:85/NSAPI_dev/http%3A//tnakamura-t42.xxx.com%3A86/test4/test1.html HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Referer: http://tnakamura-t42.xxx.com:85/NSAPI_dev/aaa_logon_en.html
Accept-Language: ja
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Host: tnakamura-t42.xxx.com:85
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: AAAASESSION=aHR0cCUzQS8vdHN1Z2FpLXQ0Mi5hcC5yc2EubmV0JTNBODYvdGVzdDQvdGVzdDEuaHRtbA%3D%3D; AAASESSION=AAAAAQABAEBmNJDkbIY5stNO5YOpcqSUkKpAA341dbnAtqDShjDEk%2FUNelCn%2BSc2eOutJiX3tla1aFs2muQ%2BZ61WHhDvQfDr
HTTP/1.1 403 Forbidden
Content-length: 142
Content-type: text/html
Server: Sun-ONE-Web-Server/6.1
Date: Thu, 20 Apr 2006 23:57:49 GMT
Via: 1.1 proxy-proxy402
Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0.2
=========================================

Similar Messages

  • How do I create a Https Proxy server

    hi,
    I am writing a Proxy server in java. But my pogram do not support https protocol.Could you please tell me how can I implement a https proxy server.some sample code is more helpful.
    This is very URGENT for me.
    Thanks
    Sujith Varghese

    Hi Varghese,
    Reading the thread I am able to make out u r facing the same problem as I do.
    current scenario#1:
    Machine#1 client (using URLConnection("https://...") ----> Machine#2 (Server https port)
    what I want scenario#2
    Machine#3 client (using URLConnection("https://...") ---> Machine#1 (Proxy for https)----> Machine#2 (Server https port)
    In scenario#1
    - I have a Client machine at Location#1 which can connect to on Location#2
    - I only have SSH connection to machine at Location#1
    now this scenario#2 is what I would like to run so that
    - I am able to connect to mc#2 at loc#2 from a machine at loc#3 with mc#3
    - effectively starting a https proxy at location number mc#1 at loc#1.
    Hope that clears the problem domain.
    any help will be greatly appreciated.
    regards-
    _Jagsir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I write a simple proxy server that intercept 80(www)socket???

    Does any body knows how can i write simple proxy server that intercept web sites watching by user???thx

    Does any body knows how can i write simple proxy
    server that intercept web sites watching by user???thxTo be clear a proxy means that requests go to the proxy and then the proxy relays the request to proper place.
    If you want to see traffic without being in the middle (the requests go direct) then you can not use the standard Java API. And do so in any situation of course requires that you be in the physical connection in the first place (ie in a star network with a router in the middle a client machine will not see packets from other machines.)

  • How do I set up a proxy server for webmail services to assist in migrating from NMS 4.15p6 on NT to iMS 5.1 on HP-UX.

    I want to have minimal if no downtime at all when moving the message store. iPlanet support hinted at an "unsupported" proxy server solution, and would give no further information. I am running the MMP with 5.1 and that supports IMAP and POP migration, but I need support for webmail services as well to complete the migration from NT to UNIX with minimal distruption of thousands of users. I am using the MoveUser utility to move the message store in hopes that will clear up some store corruption we have been seeing.

    To get this in a 'supported' fashion you might want to wait until the iMS 5.2 release. iPlanet has said this release would include a webmail proxy/mmp server to do exactly what you desire.
    A proxy server would not be a solution to your problem as it would have to have access and knowledge to the users mailhost attribute to determine to which host to route the webmail connection. The webmail proxy/mmp will have this functionality.
    You might want to contact your iPlanet rep about this product and maybe you could get a copy of it as part of a beta program. I know iPlanet is always looking for oppourtunities for feedback like this.
    -Chris

  • How to know oracle client or oracle server installed in m/c ?

    Hi all,
    Could any one tell me how to know whether oracle 10.1 s/w installed in my machine is client version or server . Is there any easy method..??
    Thanks in advance.

    Hi,
    Check the database / dbs folder exist in the $ORACLE_HOME if yes then SERVER else CLIENT.
    PS: Above is not a standard method, i am telling based on DIRECTORY.
    Regards,
    Taj

  • How do I specify a particular Proxy Server, port, user-ID and password for file downloads

    We are attempting to deploy Creative Cloud trial applications to a couple of users for testing purposes.
    This is a corporate environment where we need to specify a particular proxy server by IP address, and port with a User-ID and password for identification in order to download files.
    The Creative Cloud app appears to be ignoring the proxy settings in the browsers installed on the machine used to attempt a download. The Adobe Application Manager Enterprise Edition wants you to already have the files available.  All technical support had is a white list, no help on how to specify a particular proxy server.  Do we have to obtain media from Adobe, or is there a way to download these?
    Thanks

    Creative Suite Enterprise Deployment | Adobe Developer Connection

  • Guest Wireless traffic redirect to Proxy Server

    I have Guest WLAN and i want to redirect all the traffice to Proxy Server. We use Cisco Ironport.
    Cisco proxy Ironport has the ip 10.X.X.X.
    We also have NCS Server. Can anybody tells me where i can configure this
    best regards and thanks in advance

    Muzaffar:
    If you have web-auth configured you may have problems with the redirection if the users are using manual proxy server configured.
    For that, you better enable WebAuth proxy redirection on wireless controller.
    Here is the config example
    http://www.cisco.com/en/US/products/ps10315/products_configuration_example09186a0080b8a909.shtml
    HTH
    Amjad

  • How to setup CSS as reverse proxy server without cache server

    Hi, question regarding CSS capabilities.
    Is there a way to setup CSS (11000 series or 11500) to act as a reverse proxy server without caching server in place? Or is it possible for CSS to cache contents on its own?
    And what is disk space on CSS used for?
    Thank you.

    Thank you for clarification on disk usage on CSS. I have gone through sample config for reverse proxy caching
    http://www.cisco.com/warp/customer/117/CSS_CEreverseproxy.html
    Does this mean only way to have CSS to do reverse proxying is to have cache engine in conjunction with CSS?
    Thank you again in advance.

  • How to know internal server request

    Hi
    My application is a plugin(shared library) for SunOne web server that is developed using C++ NSAPI SDK.
    I am facing a issue when a browser send a request for folder(say http://host.abc.com/test-folder/).
    When my application gets notification about this request, it process the request and send some Cookie to browser in response. The Web Server does not deliver this response to browser but generates another request of index.html file(i.e. http://host.abc.com/test-folder/index.html). So here my application gets notification about this request.Finally index.html file is displayed in client's browser.
    Is there any way to know that a request is generated by SunOne web-server(as in my case request for index.html is generated by web server) ?
    Please Help
    Regards
    Devendra

    After I have decompile and studied the com.day.cq.personalization.impl.TargetedContentManagerImpl Class.
    I have notice that I will need to have the Campaigns folder created under the content tree("/content/campaigns")
    Shouldn't the code handle the null case on line 321 of TargetedContentManagerImpl Class
    collector(this.adminResolver.getResource(this.promotionRoot));
    Thanks

  • How to know which user shutdown the server

    Hi,
    Is there a way to check which user has shutdown the server in windows server 2012.
    I know Event Id : 1076,1074,6008 gives information about system shutdown.but want to know which user did that ?
    thanks

    Steps to see which user shutdown the system:
    1. Go to event Viewer
    2. Right click on system and -> Filter Current Log
    3. For User Shutdowns, click downward arrow of Event Sources -> Check User32.
    4. In <All Event IDs> type  1074 -> OK
    This will give the list of Power off and restart events. It will have the date and time as well as Username.

  • How to know which table affected at server side application.

    Hello all,
    I am new to sql developer and I am accessing oracle database 11g of some xyz company and there application from other machine.
    I want to know that is it possible to monitor there application, that on saving/retrieving data which tables are used and what sql statements that forms(in application) are using.
    If it is possible then please tell me how ?
    I have used Sql monitor Toad to trace such statements on the same machine.
    But I cant use toad, all I have sql developer.
    Thanks

    [sorry, deleted irrelevant wrong answer]

  • How can I set a different proxy server for different networks in user.js

    I need to automatically set the proxy configuration depending on the network I am connected to. Can this be done through the user.js?
    Simple logic would be:-
    if IP=10.20.30.0 use proxy A
    if IP=172.18.19.0 use proxy B
    else DIRECT
    Thanks
    Leon

    No, you can't do it that way.<br />
    You could create a set of files user.js and use a bat or cmd file to copy the file with the proxy setting that you want to use to user.js and then start Firefox.
    <pre><nowiki>cd <path to profile folder>
    delete user.js
    copy user-proxy1.js user.js
    start "" "C:\Program Files\Mozilla Firefox\firefox.exe"
    </nowiki></pre>
    You can also use an extension.
    *FoxyProxy: https://addons.mozilla.org/firefox/addon/2464
    *QuickProxy: https://addons.mozilla.org/firefox/addon/1557
    *SwitchProxy: https://addons.mozilla.org/firefox/addon/125

  • I have been denied access to two of my marketing partner websites due to an "Open Proxy Server" How do I correct this problem

    How do I correct an open proxy server?

    First of all, where are you having the problem? Is this at home, or at work? Many times, the internet at work offices will use an open proxy server to limit connections/bandwidth/websites, etc. If you have this problem at home, you need to check to see if your router has a proxy, and either remove it, or configure it in Firefox.

  • Proxy Server in File Transfer System

    Hi, I need to write out a file transfer system through a proxy server for my project
    All the while i was writing a file transfer system directly from client to server without any security issue
    Anyway, the scope is given as below, and i know it needs the JSSE package to come out a SSLSocket and SSLServerSocket.
    The question is...
    1. can i use NIO with JSSE included?
    2. how to come out a java proxy server? is there any tutorial i can read through?
    The scope is given as below
    1) Proxy server
    * perform tunning and keep the linking between file transfer host and client
    * authenticate the file transfer client using CA certificate to establish SSL connection
    * Once authorised, need to establish another SSL connection to host engine
    2) File Transfer Manager at Client
    * To initiate SSL connection to proxy server
    * To open two type of connection: command and file connection
    * The command connection is always keep alive
    * For the file connection, the system required to re-open another connection after send file to host
    * Auto-reconnect to server when the connection is down
    * Re-handshake the SSL connection when the channel is inactive for sometime
    3) File Transfer Manager at host
    * To authenticate the proxy server and authorise the client before establish the connection
    * Manage the connection
    * request to client to open new connection (by sending command) when there is no file connection available to send file to client
    * Request for re-handshake the SSL connection when the channel is inactive for sometime

    Hi,
    It is a new feature of SMB3 named SMB MultiChannel, which helps copy files through multiple NICs. 
    Detailed information please see:
    http://blogs.technet.com/b/josebda/archive/2012/05/13/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0.aspx
    As mentioned you can disable or enable it with following steps:
    2.2. Disabling
    SMB Multichannel is enabled by default and there is typically no need to disable it. 
    However, if you want to disable SMB Multichannel (for testing purposes, for instance), you can use the following PowerShell cmdlets:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $false
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $false
    Note: Disabling the feature on either the client or the server prevent the systems from using it.
    2.3. Re-enabling
    You can re-enable SMB Multichannel after you disabled it by using:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $true
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $true
    Note: You need to enable the feature on both the client or the server to start using it again.
    If you have any feedback on our support, please send to [email protected]

  • Disabling Sleep Proxy Server

    # This was posted under wrong area so re-posting here as suggested
    I run a large University Network with a good 3000 pcs being a in a separate residential network.
    On this network there are obviously a fair few macs and recently some have started doing weird things involving using other peoples ip addresses.
    From my googling and research I find that they always use other macs ips and this is because they are acting as a Sleep Proxy Server.
    Now these macs are non timecapsle macs and from what I understand the proxy server enabled because they once shared there network connection to there bluetooth/wifi.
    It remains running even after the internet connection sharing is switched off.
    What I need to know is how to turn off the Sleep Proxy Server on the affect macs which are always quite new 10.6 ones.
    Why?
    Well we use a lot of security systems to detect viruses and hacking attempts and pcs using non dhcp assigned ips which show up in our ARP tables is getting alot of people removed from the network. It is also making detecting the real threats increasingly difficult.
    Please let me know what I need to do to switch this off on the macs that are doing it.
    If you know how to disable on time capsules as well would be appreciated.
    regards
    Chris
    ps. Sorry for silly alias, can't be bother to change at this point.

    Anush,
    It's not possible with JAVA nor any other language! Because, the proxy server is meant for
    restricting the access to the resources and it's functionality can't be altered by a JAVA
    program.
    Since, even if u right a program in JAVA using java.net package to access the site [may
    be porno...], still the request has to go out and reach the internet resource, only thru' the
    same proxy server and hence it's not at all possible.
    Only if the 'admin' of the proxy server grands rights to the user nothing else can be done.
    -RK.

Maybe you are looking for