Community Page
- dancameron.org Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- So you do look at the silly photos I share on Google Reader.
- I have investigated 1&1 thoroughly and found their major tricks using PayPal. They are crooks and steal money deliberately as their main business. That's why do not be surprised at anything...
- This is the reason I alluded to yesterday for being happy about the iPhone tethering; the more popular it gets, hopefully the more pressure there will be to re-evaluate this insane pricing for...
- Pretty much, and that just might fit into 140 characters.
- So what you are saying is that social net working sites speed the process up in regards to how fast you get to know a person and either like or dislike them?
4 years ago
$export CC=/usr/local/bin/gcc
I hope that helps! :-)
4 years ago
./configure
./make
?
4 years ago
./configure
make
4 years ago
I can't get the configure script to run because I get the error:
configure: error: no acceptable cc found in $path
4 years ago
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.
4 years ago
4 years ago
$ 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.
4 years ago
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.
4 years ago
4 years ago
4 years ago
$ echo $PATH$ find / -name gcc -print 2/dev/null4 years ago
4 years ago
What 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.
4 years ago
4 years ago
/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
4 years ago
I am assuming it is an L
Anyways I tried them all and nothing.
4 years ago
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.
4 years ago
After I upload it to the usr/local/ how do I run it? Or do I need to put it somewhere else?
4 years ago
4 years ago
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.
4 years ago
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.
4 years ago
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.
4 years ago
4 years ago
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.
4 years ago
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.
4 years ago
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?
4 years ago
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.
4 years ago
4 years ago
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.
4 years ago
4 years ago
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.
4 years ago
It's pretty fast too, and now I can surf anywhere without a dumb filter hindering my gmail access or my porn access.
4 years ago