Author Topic: internet weird prob.  (Read 901 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« on: 20 August 2002, 05:09 »
I just put up my new squid which is copied from my old squid install. Mozilla is going through squid but sometimes (often) when i click a link it will say 'connection refused' and if i click it once or twice more it will go. Got any ideas what this could be? It has never happened before.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #1 on: 20 August 2002, 08:50 »
Could it be that it's not getting through your proxy "at all" and eventually just pulling the page from your browsers local internet cache? Look at the end of your squid cache logs and see if all requests were denied or several denieds followed by an accept. That shouldn't be possible. Should be all or nothing.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #2 on: 20 August 2002, 08:53 »
Well i could view new pages of the forums. So that is the odd thing. It has something to do with my proxy because now mozilla isnt going through the proxy (just masquerading) and it doesnt do that at all now.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #3 on: 20 August 2002, 08:56 »
Very odd. Is anything configured differently on your new server (different IP addresses on the interfaces)?  I have to say that is a new one on me...
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #4 on: 20 August 2002, 21:09 »
how do i tell the unix time format???
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #5 on: 20 August 2002, 21:16 »
Uh?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #6 on: 20 August 2002, 21:19 »
i didnt change anything in squid from my last install. Except for the visible_hostname which i changed to gonarch.master.local (which is the name of my internal address) but that was only a couple seconds ago while i was inspecting the squid.conf. When i try it in konqueror some pages say 'connection to chatroom.fuckmicrosoft.com broken' 'could not connect to proxy at 192.168.0.1:3128'. But then when i clicked again it worked, just like in mozilla.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #7 on: 20 August 2002, 21:23 »
ummm... it looks like for some reason my clients go through the proxy on a different port than specified in the squid.conf...
here is some of my squid access.log (my external proxy IP address is 205.92.81.80):

1029774954.480   2158 192.168.0.2 TCP_MISS/200 2144 GET http://www.bobhub.tk/ -
DIRECT/195.20.32.104 text/html
1029774956.549   1652 192.168.0.2 TCP_MISS/200 208 GET http://www.bobhub.tk/html
/index.html - DIRECT/195.20.32.104 text/html
1029774960.507   2137 192.168.0.2 TCP_MISS/404 482 GET http://www.bobhub.tk/favi
con.ico - DIRECT/195.20.32.104 text/html
1029775040.719    297 192.168.0.2 TCP_MISS/200 2144 GET http://www.bobhub.tk/ -
DIRECT/195.20.32.104 text/html
1029775041.197    272 192.168.0.2 TCP_MISS/200 208 GET http://www.bobhub.tk/html
/index.html - DIRECT/195.20.32.104 text/html
1029775041.220    261 192.168.0.2 TCP_MISS/200 1592 GET http://chatroom.fuckmicr
osoft.com:8000/bobhub/ - DIRECT/205.92.81.80text/html
1029775053.668    172 192.168.0.2 TCP_MISS/200 900 GET http://www.canada.com/ -
DIRECT/204.187.152.37 text/html
1029775056.079     71 192.168.0.2 TCP_MISS/302 538 GET http://www.canada.com/fav
icon.ico - DIRECT/204.187.152.48 text/html
1029775064.466    270 192.168.0.2 TCP_MISS/200 14610 GET http://www.canada.com/n
ational/ - DIRECT/204.187.152.37 text/html
1029775064.648     66 192.168.0.2 TCP_MISS/200 2292 GET http://www.canada.com/co
mponents/startpage/startpage.js - DIRECT/204.187.152.33 application/x-javascript
(END)

[ August 20, 2002: Message edited by: Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #8 on: 20 August 2002, 21:25 »
Did you restart Squid after making the change? Is your proxy's internal address 192.168.0.1? Does the host name that you use in squid match the host name exactly in /etc/hosts for 192.168.0.1?  Did you look at the Squid logs? Are you sure Squid is running (ps auxwww | grep squid)?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #9 on: 20 August 2002, 21:28 »
quote:
Originally posted by VoidMain:
Uh?

juh? would have been more appropriate but i'm talking about the UNIX Timestamp
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #10 on: 20 August 2002, 21:29 »
There you go posting while I'm typing again... I don't see anything wrong with those logs.. A TCP MISS just means the document to be served was not in Squids cache so it had to go to the net to get it.  Are you sure you have IP Chains/Tables configured correctly?
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #11 on: 20 August 2002, 21:30 »
quote:
Originally posted by Master of Reality / Bob:

juh? would have been more appropriate but i'm talking about the UNIX Timestamp



What UNIX timestamp?  Maybe you mean a time stamp in a log?  That would be specific to the application that created the log, not UNIX.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #12 on: 20 August 2002, 21:31 »
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
internet weird prob.
« Reply #13 on: 20 August 2002, 21:34 »
But what I am getting at is how does that question relate to this thread?  I see no connection.. Maybe I am missing something..

[edit]Ah, I got ya, the timestamp in the Squid log.  I actually ignore that because I watch the logs real time when I am trouble-shooting by using the "tail -f" command..

[ August 20, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
internet weird prob.
« Reply #14 on: 20 August 2002, 21:37 »
only that it is in my log, but it probly shoulda been in another thread.

Squid is running, my browsers are setup proerly.
the hosts match, i did 'killall -9 squid' and then started it with 'squid -z' to flush and rebuild the swap and cache  because when i did 'squid restart' it said 'Squid already runnin!'.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'