Jump to content

help... proxy, cannot ping to Windows


r_balest
 Share

Recommended Posts

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

Squid uses proxy port 3128. Why you setting 9695 in bitcomet? You should be using the same as squid. Also, what port are you passing through squid? I need to know this to get it working.

Link to comment
Share on other sites

Bittorrent uses a port, and it would be blocked if squid isn't configured to allow it, especially if you're using bitcomet pointing to squid. I would suggest not configuring bitcomet to use squid since it's a http proxy, and not for anything else.

 

You mentioned port 9695 before which is confusing me.

 

However, we shouldn't need to configure squid to sort your bittorrent problem, just remove the proxy config from bitcomet.

Link to comment
Share on other sites

ok I add in squid.conf

 

acl Torrent 9695

http_access Torrent

 

the result in /var/log/squid/access.log:

1159567162.634 11892 192.168.9.46 TCP_MISS/200/4273 GET http://100.spammer/bitcomet/v0.59/sea...earch_en_us.mht

 

uh if i dont use the proxy, it wont' run either...

 

uh if i dont use the proxy, it wont' run either...

the port 9695 is the default from installing bitcomet... i haven't changed it...

Link to comment
Share on other sites

Squid won't be blocking it, squid is only for HTTP and nothing else. What is in the proxy settings in bitcomet? If it's pointing to squid - REMOVE IT.

 

The port 9695 should be the port bittorrent uses for listening on connections. If you don't configure a proxy, and your Linux machine is setup for internet sharing, then it will access the internet fine.

 

Your rule is also wrong, it should have been:

 

http_access allow Torrent

 

and this also depends where you put it in the file, if you put it below the http_access deny all, then it won't work. Rules are read top to bottom. But as I said, squid is for http, and it doesn't need configuring for bittorrent, so remove it all. And don't use squid for your proxy in bitcomet.

 

And if it won't run, then it's a problem with your configuration of your system, not squid. You obviously have bitcomet configured to use the proxy when it shouldn't be, or you have something else like a firewall blocking it.

 

My last post before this one said remove the proxy config from bitcomet. And if you don't have proxy configured in bitcomet, then you have something else causing the problem.

Link to comment
Share on other sites

okay ian... it's working now...

thanks a lot.. thanks to michael too for pointing the internet sharing problem.

 

ian: i made a typing mistake before, it was http_access allow Torrent :)

and thanks for your advice on dns server back there on another topic. I will try that... several days ago, my boss wanted me to build the proxy server first before dns server. Thanks

Link to comment
Share on other sites

okay ian... it's working now...

thanks a lot.. thanks to michael too for pointing the internet sharing problem.

 

ian: i made a typing mistake before, it was http_access allow Torrent :)

and thanks for your advice on dns server back there on another topic. I will try that... several days ago, my boss wanted me to build the proxy server first before dns server. Thanks

Link to comment
Share on other sites

mm... guys, anybody know where can i find a better way to see /var/log/squid/access.log ?

coz i wanna see the report who has been accessing my internet proxy...

i copy access.log and open it with a notepad, guess what... it's a messed up, if my boss wanna see the report and i give him that, i'll get slammed... :)

 

thanks

Link to comment
Share on other sites

You can also use webmin and install it on the machine, and you can use the web browser to access the system and manage it too, and read log files, etc.

 

But michael's example of scripts for creating reports would be ideal for your bosses, etc.

Link to comment
Share on other sites

umm michael and ian, i've installed webmin and i couldn't see the log files. where is it? i've tried calamaris menu, and squid menu, but couldn't find the log.

 

Thanks

 

EDIT: uh i just had a meeting with my boss and he's seen the squid proxy server...but one thing he want that he wants to see the Current Activities, not just Access log (history). is this possible using Squid? so he wants to see who is downloading, who is browsing what Real Time...

 

please help if you guys know something.

Thanks

Edited by r_balest
Link to comment
Share on other sites

Currently at the airport waiting for my flight :P

 

Can't think if anything realtime at the minute, and cannot check just now as I've only got Windows on my lappy right now. But you can check realtime from the command prompt to see what sessions are open. I think also the log files should also show what has been accessed as well.

 

I guess really what you need is some sort of reporting. Have a look at the squid website, I think it's squidcache.org or something like that, you might have to google to find the exactly link. They have a load of utils and stuff on here that's really neat to extend the functionality of squid and get these other extras working for you.

Link to comment
Share on other sites

wow, ian.. where r u goin? :P

 

btw, i'm goin to find the report and I'll browse to squid website. I'll post the result here...

 

and... i got a big problem here..

the bittorent is down. I can't download it. help...

so this is it:

 

on bitcomet: Listen Port = anything... doesn't matter, right?

Proxy : proxy tipe = HTTP 1.1 , proxy server = 192.168.9.213 [Linux], port = 80

Use proxy only for http / tracker connection : Yes

 

and i don't set anything in the squid.

 

can i actually make this work? coz it doesn't

 

:( and just get scolded... haha

 

Thanks

Link to comment
Share on other sites

i'd actually just not use the proxy for bittorrent, then it'll bypass it and work anyway. it's far easier than trying to get it to work with squid. although i think you said it wouldn't work when you don't configure it with squid, which seems odd as it should do :unsure:

 

off to england to see the parents and fix a broadband connection/install mail server for my father :P

 

found the url: http://www.squid-cache.org/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...