Author Topic: Networking Help!  (Read 3280 times)

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #60 on: 25 April 2002, 05:07 »
did you remove the "http_access allow all" from anywhere above those lines? Remember from top to bottom an "allow all" would match anything and never get to your rule.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #61 on: 25 April 2002, 06:07 »
quote:
Originally posted by VoidMain:
did you remove the "http_access allow all" from anywhere above those lines? Remember from top to bottom an "allow all" would match anything and never get to your rule.


i put http_access DENY all below these lines
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/
Networking Help!
« Reply #62 on: 25 April 2002, 06:40 »
Now I just added the same rules and it worked fine for me. Did you tell squid to reload it's configuration after making the changes? "/etc/rc.d/init.d/squid reload". If you did and it still doesn't work can you stick a copy of your squid.conf on your web site so I can take a look at it? Also make sure you do your tests on the client machines and not on the server. You'll notice that "http_access allow localhost" is a default rule that if above your other rules would have allowed access to anywhere. If you want the rule to apply to the server as well just add the "!bansites" to the end of "http_access allow localhost". And your "acl" definitions should be above your "http_access" rules which it looks like you have done.

[ April 24, 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
Networking Help!
« Reply #63 on: 25 April 2002, 06:44 »
okay... it seems to work now, its succesfully blocking microsoft.com.
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
Networking Help!
« Reply #64 on: 26 June 2002, 23:24 »
I was just browsing around fuckmicrosoft... and suddenly it says connection refused from fuckmicrosoft.com. It says this to every website i go to. I can still ping the outside world, so i turned off the proxy in Mozilla and it works again. This has happend before, but it started working again. The proxy always works fine with my windows computer. Now i have my server just masqing my linux computer and not sending it through the proxy. I restarted squid and that didnt work either. Does anyone have any clue at all what the hell could be causing this?
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
Networking Help!
« Reply #65 on: 27 June 2002, 23:36 »
I installed Debian, but it couldnt find either of my ethernet cards, then i tried to install FreeBSD instead, but after booting off the CD it said there was no CDROM. So i installed red hat 7.2 on my server again. But this time it cant find my second ethernet card. I have RH7.2 and  RH7.3 on my server. RH7.3 recognizes both ethernet cards fine. RH7.2 used to recognize both my ethernet cards... but then a re-installed it. Got any ideas on how i could try to find my ethernet card?
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
Networking Help!
« Reply #66 on: 27 June 2002, 23:49 »
Since i also have Red Hat 7.3 installed and it recognizes both cards why dont i use it?
Squid gives me this error when i try to start it in either RH7.2 or RH7.3:

Squid cache (Version 2.4.STABLE6): terminated abnormally.
CPU usage: 0.050 seconds = 0.040 user + 0.010 sys
Maximum Resident Size: 0K
Page Faults with physical i/o: 286
Aborted.
Anyone know what the means or how to fix it??

I really had better turn my 'puter off now... there is a huge ass storm, and lightning just struck about 100 metres from my house.
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/
Networking Help!
« Reply #67 on: 28 June 2002, 01:17 »
Try:

# /etc/rc.d/init.d/squid stop
# rm -rf /var/spool/squid/*
# /etc/rc.d/init.d/squid start
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #68 on: 28 June 2002, 01:41 »
I get the same error when i did that.
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
Networking Help!
« Reply #69 on: 28 June 2002, 02:05 »
I forgot to set the visible_hostname. It seems to be working 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'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #70 on: 28 June 2002, 02:29 »
success!!
it works now... I even got ssh to work internally, I'm gonna block it externally.. finally (i couldnt get it to work 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'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #71 on: 28 June 2002, 03:38 »
try to go to http://chatroom.fuckmicrosoft.com and tell me what happens...
I am running it on another version of Linux 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'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #72 on: 28 June 2002, 04:24 »
I just made a .dat file for my bansites. I did an nslookup for microsoft, msn, hotmail and put the ipaddresses in the file. Then i put
Code: [Select]
I did that and restarted squid, but i can still go to microsoft.com. I then put the ip addresses squid.conf
Code: [Select]
but i can still go to the site... does that mean that i have to put the domain there:
Code: [Select]
-----
oh yeah... where can i find that adzapper dealy? I forgot to back it up when i took off RH7.2.

[ June 27, 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'