How the proxy server works ?

 How the proxy server works
Once you have configured your web browser as described, your browser will load a CGI script each time it is restarted. This script redefines the function that determines how to fetch the URL that is being requested. If the URL matches a pattern or a site that requires a proxy, it will connect to the proxy server rather than going directly to the site.

——————————————————————————–
(USR = User on IBM.Net or another ISP; PXY = BOL web proxy server; SRV = web server restricted to UCLA)

Step 1: User starts browser, connects to proxy server to get the Proxy Automatic Configuration (PAC) file.
  fetch request: proxy.ucla.edu/cgi/proxy

    +—–+                    +—–+
    |  U  |                    |  P  |
    |  S  | ==================>|  X  |
    |  R  |                    |  Y  |
    +—–+                    +—–+

Step 2: Proxy server returns “proxy”, which configures
  browser to do proxying.

    +—–+                    +—–+
    |  U  | “proxy” loaded     |  P  |
    |  S  |<================== |  X  |
    |  R  |                    |  Y  |
    +—–+                    +—–+

Step 3: User requests URL, URL compared against function retrieved
  from “proxy”, connection route is determined.

Step 4a: Route for URL returned from function is “DIRECT”
  (no proxy required).  Browser retrieves URL directly.  (*Note: At this
  point, every URL returns “DIRECT” unless it is one that is known to
  restrict access to ucla.edu*)

    +—–+                    +—–+
    |  U  | fetch URL          |  S  |
    |  S  |<==================>|  R  |
    |  R  |                    |  V  |
    +—–+                    +—–+

Step 4b1: Route for URL returned from function is “PROXY xxxxx”
  (proxy required).  Browser contacts proxy server and requests page.

    +—–+                    +—–+                    +—–+
    |  U  | request URL        |  P  |                    |  S  |
    |  S  | ==================>|  X  |                    |  R  |
    |  R  |                    |  Y  |                    |  V  |
    +—–+                    +—–+                    +—–+

Step 4b2: Proxy contacts server and requests page.

    +—–+                    +—–+                    +—–+
    |  U  |                    |  P  | request URL        |  S  |
    |  S  |                    |  X  | ==================>|  R  |
    |  R  |                    |  Y  |                    |  V  |
    +—–+                    +—–+                    +—–+

Step 4b3: Server sees request from ucla.edu domain (proxy address)
  and returns URL to proxy.

    +—–+                    +—–+                    +—–+
    |  U  |                    |  P  | return URL         |  S  |
    |  S  |                    |  X  |<================== |  R  |
    |  R  |                    |  Y  |                    |  V  |
    +—–+                    +—–+                    +—–+

Step 4b4: Proxy returns URL to User.

    +—–+                    +—–+                    +—–+
    |  U  | return URL         |  P  |                    |  S  |
    |  S  |<================== |  X  |                    |  R  |
    |  R  |                    |  Y  |                    |  V  |
    +—–+                    +—–+                    +—–+
 

Advertisements

Tips & Tricks to run and create short cut of WinXP Control Panel component.

WinXP Tips & Tricks: 

You can open several compomentt by just typing exe name.
Open start menu-> Click run and type Exe name like MMSYS.CPL

Example:To  run Accessability Options just shell this command -1 indicate selected tab
rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1

WinXP Windows Run Commands

Accessibility Controls   :access.cpl
Add Hardware Wizard   :hdwwiz.cpl
Add/Remove Programs   :appwiz.cpl
Administrative Tools control  :admintools
Automatic Updates   :wuaucpl.cpl
Bluetooth Transfer Wizard  :fsquirt
Calculator    :calc
Certificate Manager   :certmgr.msc
Character Map    :charmap
Check Disk Utility   :chkdsk
Clipboard Viewer   :clipbrd
Command Prompt    :cmd
Component Services   :dcomcnfg
Computer Management   :compmgmt.msc
timedate.cpl    :ddeshare
Device Manager    :devmgmt.msc
Direct X Control Panel   :directx.cpl
Direct X Troubleshooter  :dxdiag
Disk Cleanup Utility   :cleanmgr
Disk Defragment   :dfrg.msc
Disk Management   :diskmgmt.msc
Disk Partition Manager   :diskpart
Display Properties control  :desktop
Display Properties   :desk.cpl
Dr.Watson Sys Trouble Utility  :drwtsn32
Event Viewer    :eventvwr.msc
File Verification Tool  :sigverif
Findfast    :findfast.cpl
Fonts control    :fonts
Fonts Folder    :fonts
Free Cell Card Game   :freecell
Game Controllers   :joy.cpl
Group Policy Editor (XP Prof)  :gpedit.msc
Hearts Card Game   :mshearts
Iexpress Wizard   :iexpress
Indexing Service   :ciadv.msc
Internet Properties   :inetcpl.cpl
IP Configuration    :ipconfig
IP Configuration DNS    :ipconfig /displaydns
IP Configuration Release All   :ipconfig /release
IP Configuration (Refreshes   :ipconfig /registerdns
Java Control Panel   :jpicpl32.cpl
Keyboard Properties control  :keyboard
Local Security Settings  :secpol.msc
Local Users and Groups   :lusrmgr.msc
Logs You Out Of Windows  :logoff
Microsoft Chat    :winchat
Minesweeper Game   :winmine
Mouse Properties control  :mouse
Mouse Properties   :main.cpl
Network Connections control  :netconnections
Network Connections   :ncpa.cpl
Network Setup Wizard   :netsetup.cpl
Notepad    :notepad
ODBC Data Source Administrator  :odbccp32.cpl
On Screen Keyboard   :osk
Password Properties   :password.cpl
Performance Monitor   :perfmon.msc
Performance Monitor   :perfmon
Phone and Modem Options  :telephon.cpl
Power Configuration   :powercfg.cpl
Printers and Faxes   :control printers
Printers Folder   :printers
Private Character Editor  :eudcedit
Quicktime (If Installed)  :QuickTime.cpl
Regional Settings   :intl.cpl
Registry Editor   :regedit
Registry Editor   :regedit32
Remote Desktop    :mstsc
Removable Storage   :ntmsmgr.msc
Removable Storage Operator Req  :ntmsoprq.msc
Resultant Set of Policy  :rsop.msc
Scanners and Cameras   :sticpl.cpl
Scheduled Tasks control  :schedtasks
Security Center   :wscui.cpl
Services    :services.msc
Shared Folders    :fsmgmt.msc
Shuts Down Windows   :shutdown
Sounds and Audio   :mmsys.cpl
Spider Solitare Card Game  :spider
SQL Client Configuration  :cliconfg
System Configuration Editor  :sysedit
System Configuration Utility  :msconfig
System File Checker Utility  :sfc /scannow
System Properties   :sysdm.cpl
Task Manager    :taskmgr
Telnet Client    :telnet
User Account Management  :nusrmgr.cpl
Utility Manager   :utilman
Windows Firewall   :firewall.cpl
Windows Magnifier   :magnify
Windows Management Infra   :wmimgmt.msc
Windows System Security Tool  :syskey
Windows Update Launches  :wupdmgr
Windows XP Tour Wizard   :tourstart
Wordpad    :write

WinXP Tips and Trick- Disable Task Manager ,Auto Start CD, Stop Program…

 How to prevent CD from autostart ?
Press SHift Key When CD inserted into CD ROm to prevent from auto start.
How to disable task Manager?

Start Regedit
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Create the Dword value DisableTaskMgr
set value of 0 to enable it
set vaule of 1 to disable it

How to Change the Internet Explorer Title
Start Regedit
Go to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window Title
Enter what you want appear in the title bar
 

How to Stop Program  that start automatically?
 Just run msconfig.exe then go to startup and unclick item.
 This allows you to view and change what programs are automatically
 started each time you log in.

How to hide Logon, Logoff, Startup and Shutdown Status Messages?

To hide :

  1. Start Regedit
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
  3. If it is not already there, create a DWORD value named DisableStatusMessages
  4. Give it a value of 1

How to Speed up the start menu ?

 You can fix that by editing a Registry Key.( default speed of the Start Menu is pretty slow)

Open the Registry Editor and follow the key:

HKEY_CURRENT_USER \ Control Panel \ Desktop \ MenuShowDelay

By default, the value is 400. Change this to a smaller value, such as 0, to speed it up.

How to restrict Add or Remove Programs ?

<p>Open your registry and find the key below.Create a new DWORD value for each restriction required according to the table below. Set the value to equal “1” to enable the restriction or “0” to disable it.</p>
<ul>
<li><strong>NoAddRemovePrograms</strong> – Disable Add/Remove Programs</li>
<li><strong>NoRemovePage</strong> – Disable Change and Remove Programs</li>
<li><strong>NoAddPage</strong> – Disable Add Programs</li>
<li><strong>NoWindowsSetupPage</strong> – Disable Windows Components Wizard</li>
<li><strong>NoAddFromCDorFloppy</strong> – Hide “Add a program from CD-ROM or disk” option</li>
<li><strong>NoAddFromInternet</strong> – Hide “Add programs from Microsoft” option</li>
<li><strong>NoAddFromNetwork</strong> – Hide “Add programs from your network” option</li>
<li><strong>NoServices</strong> – Go directly to Windows Components Wizard</li>
<li><strong>NoSupportInfo</strong> – Disable Support Information</li>
</ul>

How to disable network control panel in Win XP ?

In Window XP,
Open your registry and find or create the key below.Create a new DWORD value, or modify the existing value, called “NoNetSetup” and set it according to the value data below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.