LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2006, 01:43 AM   #1
computerdaves
LQ Newbie
 
Registered: Jan 2005
Location: canada
Posts: 23

Rep: Reputation: 15
Squid Proxy


How do I make squid clear a connection faster? I am using squid to beable to play a online game. Seems that it is allowing the two connections now because we are behind a proxy but it dissconnects and lags us. The squid server is on an unquestionable ample stats machine.

How do I make squid reset the connection to peer faster. Or something like that.

Hard to ask a question about something I am new too.
 
Old 07-24-2006, 12:17 AM   #2
computerdaves
LQ Newbie
 
Registered: Jan 2005
Location: canada
Posts: 23

Original Poster
Rep: Reputation: 15
okay to explain this a bit better, is, I am video gaming over the proxy, how to i create less latency..?

is there someway to make the proxy faster?
 
Old 07-24-2006, 12:22 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
is there a reason in particular why you aren't using NAT instead of a proxy??

what version of squid are you using?? did you compile it yourself??
 
Old 07-24-2006, 01:24 PM   #4
computerdaves
LQ Newbie
 
Registered: Jan 2005
Location: canada
Posts: 23

Original Poster
Rep: Reputation: 15
I am not using nat, because the game network I am using requires me if I want more than 1 connection that I MUST do it with a proxy. I have tried nat on my router but it doesn't seem to work very well on this router. It can handle most things but can not handle proper mapping when two pc's are using the same port. Go figure it does http perfectly.

Or do you mean use NAT on the linux machine, that is a no option, I do not want my linux machine to handle connections to the internet. I let hardware do that for me.

The Squid I am using is the latest version with the latest fedora core 4, and security updated. It was easy to configure and seem to work very well indeed. It allows us to use multiple connections to this game server, stable, we can do everything we want to except when we disconnect from a game it logs us out rather than dropping us to the chat.

I know this is confusing, hope we can work a solution out.
 
Old 07-24-2006, 05:02 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
what game/network is it?? could you post a link to it's website?? have you tried looking for a FAQ or something like that with a connection troubleshooting section??

yes, i was refering to doing NAT with a linux box, the squid box you have would be able to do both NAT and squid without any problems at all... but if you don't wanna do that because you prefer your dedicated consumer-grade router then that's fine also...

since your squid binary is provided by your distributor, it's fair to assume it's properly optimized, but there's still a possibility that a compile-time option you need was left-out... there's also the issue of your run-time configuration... post your squid.conf here to see if anyone spots something which could be causing your issue... save space by not posting the comments or the spaces, like this:
Code:
cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$
Quote:
Originally Posted by computerdaves
we can do everything we want to except when we disconnect from a game it logs us out rather than dropping us to the chat.
i was actually under the impression you were refering to lag... i don't have a clue what could cause an issue like this... it's hard to even google for help in this case, since we don't even know the game or network you are using...

by the way, are the PCs where you are playing running Windows??
 
Old 07-24-2006, 07:13 PM   #6
computerdaves
LQ Newbie
 
Registered: Jan 2005
Location: canada
Posts: 23

Original Poster
Rep: Reputation: 15
yes they are windows, and it's battle.net diablo2 exp that is causing me the network problems. battle.net states that it is NAT friendly, I guess my SMC router isn't friendly enough with NAT however, unless I am mixing up 'rule' in the router.

The problem is frustrating to say the least, however; as squid is doing for me now, at least my wife an I are able to play in same game at same time.

I may take the option of using linux as a nat router as well based on your comment 'consumer strenght router' as linux would do the job much better I presume, however; this just isn't an option at this time, and squid is.



I will post my config soon.
 
Old 07-24-2006, 07:24 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
Quote:
Originally Posted by computerdaves
yes they are windows, and it's battle.net diablo2 exp that is causing me the network problems. battle.net states that it is NAT friendly, I guess my SMC router isn't friendly enough with NAT however, unless I am mixing up 'rule' in the router.
well, while you figure that out, here a link that might be useful:
Quote:
If you have ever tried to play on Battle.net with multiple computers on your LAN, then you are probably aware that things don't work quite as expected. This is a result of the Battle.net games all trying to use the same port number on your network. The first machine can log in to Battle.net, but all other machines will be unable to play due to connection errors. The solution is to configure the Blizzard games so that none of them share the same port number. It doesn't matter if you use a Mac or Windows, this site can help.
http://www.junkboxoftech.com/battlelan/

Quote:
I may take the option of using linux as a nat router as well based on your comment 'consumer strenght router' as linux would do the job much better I presume, however; this just isn't an option at this time, and squid is.
i completely understand...

Quote:
I will post my config soon.
cool...
 
Old 07-25-2006, 01:38 AM   #8
computerdaves
LQ Newbie
 
Registered: Jan 2005
Location: canada
Posts: 23

Original Poster
Rep: Reputation: 15
his thing doesn't work, even when i connect game i do a netstat and it still using 6112...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 02:38 AM
Squid Proxy ajkannan83 Linux - Software 4 03-13-2006 10:17 AM
squid proxy through another proxy mijohnst Linux - Networking 3 03-08-2006 03:02 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 07:52 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration