-
Website
http://dancameron.org/ -
Original page
http://dancameron.org/general/what-am-i-doing-3 -
Subscribe
All Comments -
Community
-
Top Commenters
-
LillyLipscomb
1 comment · 1 points
-
paynito
1 comment · 1 points
-
stevehahn
8 comments · 1 points
-
futurelevel
2 comments · 1 points
-
Jason Hansen
4 comments · 2 points
-
-
Popular Threads
-
Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript
2 weeks ago · 11 comments
-
Display a loading image until the page completes loading
4 days ago · 1 comment
-
Go Dodgers!
3 weeks ago · 1 comment
-
Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript
$export CC=/usr/local/bin/gcc
I hope that helps! :-)
./configure
./make
?
./configure
make
I can't get the configure script to run because I get the error:
configure: error: no acceptable cc found in $path
checking for gcc .... no
checking for cc ... no
Which makes me think something is wrong and the script not being able to find the gcc. I am looking into it now.
$ ls /usr/bin | grep gccIt's not the easiest thing to install. 1 and 1 should have it installed and available for your use uneless they are really anal.
Thanks a ton Nate. is there a command to check if it is installed? it may be the squid config file just not being able to see it.
$ echo $PATH$ find / -name gcc -print 2/dev/nullWhat distro is this again? (I know you mentioned FCS above, but I don't remember if that was on your side, or on the host server too) Depending on the distro, they may have binary packages available (rpm, etc) that don't require you to recompile the source at all; just a thought - I'm sure you already looked for this.
/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/binfind / -name gcc -print 2/dev/null
Nothing
I am assuming it is an L
Anyways I tried them all and nothing.
No use in recompiling it unless you need to. I'm assuming that since Fedora descends from RedHat that it handles RPMs OK, although I could be wrong.
After I upload it to the usr/local/ how do I run it? Or do I need to put it somewhere else?
rpm -i whatever.rpm
Although you may want to check the documentation for the rpm command (man rpm), since I don't use that very much.
rpm -Uhvf
Thanks guy from nasa (shown in the ip address), I guess really smart people like you guys really want to help newbie dumbasses like me.
So I installed it and it is in a couple directories in the system but where is the configure script? since I used the rpm I cannot find it.
Just to get you started try:
$ rpm -qi squidwhich should tell you a bunch about what you just installed. While your at it see that gcc is not installed:
rpm -qi gccbut it's not hard to install the rpm if you really need it.
Should I just be able to use the proxy server now, how would I set a different IP, or make sure my firewall is not blocking it?
If I set firefox to the proxy it doesn't work.
http://www.tldp.org/linuxfocus/English/March200...
You geeks think this is a good start?
Or is there just a couple things I need to configure?
Off to my PSP.
One extremely important point I would make is that you do *not* want to allow that port to be open on the firewall. Of course, the docs you read probably tell you that you do, because the idea (usually) is you set the browser on your workstation (lets call it "W") to point to the address of the server ("S"), and the appropriate port (3128 by default, but you can change this).
Actually, let me take one more step back and say that the first thing you need to do (and maybe you already have) is become *very* familiar with the firewall (iptables probably) configuration on the machine, and make *sure* that everything is closed except for ssh access. You can open up other ports (web, mail, etc) later, once you are more confident that you are doing it securely.
OK, back to the squid configuration. There are certainly ways that you can configure it to be accessible from the outside world (the W to S scenario described above) and restrict it to make sure it's only you that is using it (passwords, ip restrictions, etc.) but this is tricky, because if you slip up and misconfigure it, it will be an open proxy that other people can use/abuse since it's on a public server.
The way I do it on my server is that the port that squid is running on is not accessible from outside of that box, so neither I nor anyone else can set my browser to use my proxy server (directly). Rather, I will SSH into the server, and forward my local port 3128 to 127.0.0.1:3128 on the server. Then I set my browser's proxy to localhost:3128. To the browser, it appears that it is using a proxy server running on my laptop, when in reality, the SSH tunnel is forwarding that through to the port on the server it is connected to. So, from squid's point of view, I am using the proxy server from the local box, so both sides act as if everything is local, and the best thing is that the traffic between the two boxes is all encrypted through the SSH tunnel.
Confused yet?
So,
What configuration do you have your squid set up with? That file is a mile and a half long.
What commands do you run in ssh to forward your port? Remember I am a newbie, 3 weeks old.
And I trust you when you say it is secure but if I use my work proxy to connect via ssh then tunnel my browser through ssh aren't I using my work proxy to connect to the box through ssh? Or is that the key behind tunneling because it is a direct connection bypassing the proxy at work.
That's the great thing about the ssh tunnel; it doesn't matter what's between your computer and the ssh server, because all the packets that leave your pc are encrypted before they leave your pc, and only decrypted on your ssh server. Whether they have a proxy setup or not, they could log any and all the traffic you make anyway, the difference now is that if they did decide to do that all they would be capturing is the encrypted ssh traffic, so it would be useless to them.
The only thing to watch out for is that if you are tunneling everything (even non-private stuff) the admins might notice that your machine has an unusually high amount of traffic on port 22 (SSH) always going to the same server, and they could probably figure out what you're doing, or at least be suspicious even if they didn't know what you were doing. They still couldn't read your traffic, but they could try things like blocking that port (which is no problem since you can use any port, and it's unlikely they will block all ports). It's actually more likely that they would restrict you in a non-technical manner; ie: have your boss tell you to knock it off or you'll get fired. All that being said, a lot of admins do not monitor logs like they should, so they may not notice, and if they do, they might be cool and have no problem with it.
I will try to check out my squid configuration file later and pull out the relevant pieces that you need to watch out for. (It's been a while since I set it up). I could look at the firewall config too, if you want to call me on my cell phone or just give me the info next time I see you in person.
YES.
I just need to check that I locked it down to my work ip only. Then Jared, we can look at my firewall soon. Or maybe you can check by using the ip on the tagboard.
Thanks.
It's pretty fast too, and now I can surf anywhere without a dumb filter hindering my gmail access or my porn access.