General :: Force Wget Proxy To Non Environment Proxy?

Aug 17, 2010

is there a way to force wget to use a specific squid proxy when making connections ? - I use a squid proxy normally, but I need this specific request to go via a different one. I dont have to use wget, I just need a way to test squid's blocking rules by requesting various pages through it, this proxy is not my normally proxy on the network and so I cant rely on wget taking the environment variable.

Also, this is as part of a script, so anything that avoids editing wget config files would be best. - Perhaps curl can do this ? - currently im using the exit code of wget to determine if the connection was made.

View 1 Replies


ADVERTISEMENT

General :: Convert HTTP Proxy To SOCKS Proxy?

Feb 27, 2010

I've been doing some security testing in a lab environment that does not have direct internet access. It's actually a little complicated: From home to connect to my lab machine, I

1. SSH to machineA.
2. SSH from machineA to machineB

where machineB is my actual lab machine. neither machineA or machineB allow anything other than SSH, and machineB is only accessible from machineA. However, I really need to run yum on machineB. I have managed to get internet access via Firefox on machineB by creating a series of SOCKS proxy via SSH.

1. machineB: ssh -L 12345:localhost:12345 user@machineA
2. machineA: ssh -D 12345 user@machineC
3. machineB: configure firefox to use socks proxy, localhost, 12345

where machineC has internet without limits placed. This is the only way I have managed to get internet working. I tried using ssh -L all the way from machineB->machineA->machineC but it didn't work (even when setting Firefox to use http proxy). I tried using ssh -D all the way, but again that doesn't work either.

I do have access via Firefox using socks proxy. However, yum update fails to retrieve mirror list, and from what I have found I don't believe yum supports socks proxy directly. Instead, it uses http_proxy / ftp_proxy. how to get yum to go out over the SOCKS proxy I created (same one using in Firefox)? It seems like since Firefox can access the internet and everything without issues, i should be able to get yum to tunnel through the same connection to access everything.... I tried

[URL]

View 1 Replies View Related

Software :: Using Wget: ERROR 407: Proxy Authentication Required

Aug 31, 2010

I try to download the Tomcat from my LINUX machine with command:

Code:
wget -d -v http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip
I got error as follow:
Code:
[root@s003ap23-test opt]# wget -d -v http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip
Setting --verbose (verbose) to 1

[Code]...

View 4 Replies View Related

Ubuntu :: Download Entire Site With Wget From Localhost Proxy?

Dec 24, 2010

i want to download android developer guide from google site but code.google is forbidden from my country i want to use wget to download entire android dev guides with freedom( proxy ) that i set in firefox these for open forbidden sites ( 127.0.0.1 port:8080 ) i use this command to download entire site

Code:
`wget -U "Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.7.3) Gecko/20040916" -r -l 2 -A jpg,jpeg -nc --limit-rate=20K -w 4 --random-wait http://developer.android.com/guide/index.html http_proxy http://127.0.0.1:8080 -S -o AndroidDevGuide`

[Code]....

View 4 Replies View Related

Ubuntu :: Proxy - Uses Wget To Install (flash Player Plugin) Fails

May 20, 2010

When I try to use wget or install anything that uses wget to install (flash player plugin), it fails, as my IT admin blocks direct access to IPs. I see wget takes the domain and resolves it's IP and then downloads (atleast thats how I get it?), and then I get "connection refused". Is it possible to force it use the domain and not the IP?

View 9 Replies View Related

Ubuntu :: IPtable Rule To Force All Browsers To Use Proxy?

Oct 30, 2010

I have installed squid as my proxy server in ubuntu 10.04 standalone system..Why i have installed squid in standalone sytem is, my friends used to access my system to browse sites and download files..So i have installed squid to block porn sites and downloads..But they simply bypass the proxy by disabling it..I know there is some way to force all browsers to go through proxy using iptables..But how to acheive it..? Is the below command suits my need..?If not what modification should i do..?

Code:

sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 3128

View 6 Replies View Related

Slackware :: Force Packet From GuestOS Go To HostOS Proxy Port?

Apr 14, 2010

I am using VirtualBox as virtualization machine. My topology is:Quote:Internet=====(eth0)HostOS=SLackware(eth1,br0)=====(eth0)GuestOS=slackwareCondition each OS:

HostOS:
eth0 = 192.168.7.80/24
Gateway = 192.168.7.1

[code].....

View 5 Replies View Related

Fedora :: TOR Onion Routing - Set Proxy For HTTP And HTTPS In Firefox But Say's 'unknown Proxy'

Jul 7, 2010

I've been trying to make myself anonymous, but I cant find 'Tor' anywhere, tried 'yum & kpackagekit' neither have it. I did find 'Privoxy', installed it, set proxy for HTTP and HTTPS in Firefox, but it says 'unknown proxy' when I try to use it! I've been to the Privoxy web site and read through the 'User manual', but most of it is 'geek' to me!

View 8 Replies View Related

Networking :: Squid Proxy Server On Ubuntu And WPAD - Proxy Auto Detection?

Dec 9, 2010

Currently my DHCP Server is working now what i want to have is auto detection of squid proxy in any browser but I still got an error in my dhcp server when I restart it.

My Config:

# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;

[code]....

View 2 Replies View Related

Ubuntu :: One Exclude Ip Addresses In The Proxy Environment Variable?

May 12, 2010

I have set my environment variable for a proxy server as such [URL].. which works fine. wget rsync etc all use this proxy automatically. The problem is when I access other 10.x.x.x addresses on my private network all access goes through the proxy and is slow. How can I exclude 10.0.0.0 and 127.0.0.1 from the proxy server so that all applications obey this?

View 3 Replies View Related

Server :: URL Redirection In Reverse Proxy Apache2 Environment

Apr 28, 2010

I have a webserver apache2 on debian Lenny. I am using gateway as Dom0 and rest of the operating systems are different Dom's .Using a xen virtualization setup.

I want to have a few websites
http://site1.myserver.com
http://myserver.com
and http://myserver.com/site2
I did set up a reverse proxy environment for doing this.

Code:
Dom0 LAN IP ----> 192.168.1.1 Gateway (where reverse proxy is set)
DomU1 LAN IP ----> 192.168.1.13 (here myserver.com and site1.myserver.com both are hosted.)
Domu2 LAN IP ----> 192.168.1.17 myserver.com/site2 is here.

Configuration on Dom0 of sites site1.myserver.com and myserver.com
Virtual Host Configurations on Dom0 in /etc/apache2/sites-enabled/myserver.com (on gateway)

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName myserver.com
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all .....

View 10 Replies View Related

Server :: Set Up Squid3 Proxy As A Transparent Proxy & Iptables Config

Feb 23, 2011

I am trying to set up my squid3 proxy as a transparent proxy - right now, I have to manually configure browsers to access via proxy. I understand that I have to put some rules into Iptables and also some further directives in the squid.conf.

I have a couple of specific questions. The proxy server is running on a Ubuntu 10.04 workstation and this machine also acts as a dhcp server for the network. I have just one subnet , namely 192.168.0.1-254 There is only 1 network card. Is it much easier to put in a second network card or is it just as easy to configure the existing lan card as a dual IP?

Is it necessary to configure these 2 IP's ( whether they are via 2 lan cards or dual IP on single card ) to be on different subnets. i.e ETH0 192.168.0.1 and ETH1 192.168.1.1 or is ok to have something like ETH0 192.168.0.1 and ETH1 192.168.0.254 ( where ETH0 is the one facing the LAN and ETH1 points to the modem router / switch i.e The Internet ) Where specifically do I save the Iptables rule configuration file and what must I call it ?

View 4 Replies View Related

Fedora :: Switch Between A Proxy And No Proxy Connection For Yum?

Sep 1, 2009

I am working on fc10. I connect to internet using two connections: with proxy and without proxy. Initially I had some problem in configuring yum for proxy and I resolved it by creating files proxy.sh and proxy.csh in /etc/profile.d with the required details (export_proxy).Now when I connect to my connection without proxy I have some problems .Whenever I try to do yum update I get the following error:

"[URL]: [Errno 12] Timeout: <urlopen error timed out> Trying other mirror. Error: failure: repodata/primary.xml.gz from adobe-linux-i386: [Errno 256] No more mirrors to try." what changes do I need to make in order to use yum in the connection without proxy?

View 3 Replies View Related

Networking :: Forwarding All Traffic To The Proxy To Another Proxy

Oct 28, 2009

At the moment I have a proxy and all the users have to configure it in the browser to access internet. I want to make the users able to browse even without configuring the proxy in the browser. but eventually it should be received in the proxy rather than giving an error to the user. I heard with transparent proxy I can redirect all the traffic from a particular network, to a particular host( ie my existing proxy).

I tried this using firewall rules. But then the existing proxy doesn't understand the protocol of the requests. I heard that it should be in the kind of proxy protocol.

View 1 Replies View Related

Networking :: Browser Using Proxy Not Using Proxy's IP?

Feb 23, 2010

I've setup squid proxy st time on centos 5.This is my current setup.squid.conf:Quote:acl our_networks src 192.168.10.0/24 ttp_access allow our_networksQuote:

internet -- modem -- Firewall --switch--squid proxy (192.168.10.100)
--client workstation ((192.168.10.200)
(client workstation is connected to the same switch as the squid proxy)

[code]...

View 1 Replies View Related

General :: Force Redownload With Wget?

Jan 15, 2010

I had the bad surprise that wget doesn't redownload when a file of the same name already exist.

Is there an option to force him to redownload without deleting the file first on linux ?

View 3 Replies View Related

General :: How To Use A Proxy IP

Feb 7, 2011

I have to use a proxy to get access to one website only.So, I wonder whether there is a way add the proxy IP after the website address.It seems I saw that somewhere but can't get it again.It was something like:

View 3 Replies View Related

General :: Set A Proxy On PC?

Nov 15, 2010

My employer blocks allot of sites i like to visit.nothing too kinky, just security related and some other sites.I would like to set up a proxy server on my own machine, because i can access it from work. what I'm looking for is a server that listens on port 80 and maybe has some web interface so i could type the address in instead of config my browser with the proxy.something like boratproxy.comi use fedora 14.optionnumber two is the same requirments that i can install at my web hosting provider

View 3 Replies View Related

General :: Ping When Behind A Proxy?

Aug 13, 2010

I am using an HTTP proxy server to connect to the internet.

Because of that my pings are not working

ping www.google.com

says Unreachable Host

How can I configure ping to use the HTTP proxy?

View 1 Replies View Related

General :: Share A Socks Proxy On LAN?

Jul 6, 2010

I have socks proxy running on port 1080. I want other people on LAN to use this proxy. How can I do that?

One way is that the client can run this command and then use proxy 127.0.0.1:1080 on his computer:

ssh -L 1080:127.0.0.1:1080 myusername@myipaddress

But, I dont want to use ssh because that requires me to give my password to others.

View 2 Replies View Related

General :: OS X SSH Behind Proxy With Username And Password Possible?

Apr 26, 2011

Is there a way to SSH into a server (my home computer) from behind a proxy that has a username and password? I read about corkscrew, but I was wondering if there is a simpler way.

View 1 Replies View Related

General :: Cant Get Squid Proxy To Work?

May 4, 2011

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments):

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255

[code].....

View 2 Replies View Related

General :: Proxy Server Gets Hang?

Jul 23, 2010

We are using squid proxy server in Linux and server is getting hang often, during this time when see the log file it will show like below

Jul 23 11:52:26 Linux-GW avahi-daemon[2028]: Invalid response packet from host 192.168.1.154.
Jul 23 11:54:55 Linux-GW avahi-daemon[2028]: Invalid response packet from host

[code]...

View 1 Replies View Related

General :: Git Clone Behind A Proxy Server

Jun 28, 2010

I want to clone a linux bridge repository. i'm behind a proxy server.

The command :

gives the following error

I've done
1 - sudo apt-get install socket
2 - in my home directory, a shell script called "proxy-cmd.sh" was created containing #! /bin/bash (echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | socket git://MYPROXY 3128 (read a; read a; cat )
3 - chmod +x proxy-cmd.sh
4 - export GIT_PROXY_COMMAND=<PATH TO MY SCRIPT>/proxy-cmd.sh

Still not getting.

View 8 Replies View Related

General :: Proxy Setting In Bash For Using Yum?

Sep 28, 2009

my linux box in the office has an a proxy server to access the internet. i can set this on my browsers. id like to know how i give my shell (bash) the proxy server settings so i can wget,yum install perl modules, etc. on my shell terminal without problems.

i used

Code:

export http_proxy=http://<proxy-server-ip>:<port>

for example

Code:

export http_proxy=http://bsc.aut.ac.ir:8080

and also i did this for ftp. but i doesn't work.

View 6 Replies View Related

General :: Dynamic Proxy For Apache Or Something Else?

May 11, 2011

just a quick question. I was wondering if it is possible to do the following: suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.

If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism. Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?

View 2 Replies View Related

General :: Set Up RHEL 64-bit As A YUM Proxy Server For 32-bit Also

Aug 26, 2009

Does anyone have an UP TO DATE document, or know how to set up a standard RHEL 4.1.2... 64-bit box to be a YUM Proxy machine? I have found several manuals, all being dated a while ago.

View 7 Replies View Related

General :: Can't Connect To Certain IP's With Proxy Server

Aug 3, 2011

I have setup a Squid Transparent Proxy that works and I can connect to most websites and block-list works and yadda yadda yadda.

My problem is that when I try to connect to a certain PC it will not work. A bit more clarity...

[INTERNET]----[DSL-MODEM]----[ROUTER]----[SQUIDSERVER]----[NETWORK]

Connected to the DSL-MODEM is the PC in question that I can't connect to when using Squid. If I bypass the Squid from the Network and go through the router I can connect to the PC.

I want to be able to use the Squid server and still access the PC connected to the Modem and I want to have a Squid SAR report of the Network PC's accessing the PC on the modem.

The Modem/Router/Squid/Network all use the same IP range, but the PC on the modem has a different IP.

View 4 Replies View Related

General :: Define A Proxy In VNC Client?

Feb 8, 2010

'm trying to access remotely to my computer that is in my home with a VNC client. The problem is that from my company site, I'm behind a proxy and I must use this proxy to connect my computer.I'm new to the vnc programs, so I don't know how to define a connection to use the proxy. My laptop is well configured, the only problem is set a vnc client to use a defined proxy. 1 - I've installed VNC viewer or tightvnc viewer, but I can't find any option in it to define a proxy. How can I define a proxy in this program?2 - Is there any vnc client that allows to define a proxy?3 - Should I define a tunnel that redirects my connection to my remote PC? For example, if I define a tunnels that from localhost:5656 it connects to my remotePCort through the proxy will I hane any problem

View 1 Replies View Related

General :: How To Sftp Using A SOCKS V5 Proxy

Feb 17, 2010

what is the command to sftp from one linux host to another linux host through a SOCKS v5 that requires authentication? I have tried:

Code:

# sftp -o "ProxyCommand netcat -X socks_proxy_host:1080 %h %p" external-server

I know this does not have auth in it but I was going to come to that later

output
Code:
Connecting to external-server...
netcat: invalid option -- 'X'

[code].....

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved