Author Topic: Mozilla Hiding Images  (Read 988 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Mozilla Hiding Images
« on: 9 May 2002, 21:03 »
I just spent that last 13 hours downloading the ISOs for RedHat 7.3.
I was sure that i saved them in a folder called /tmp/isos but they are not there.
I did "find / *.iso" and all it came up with are a couple ISO in /tmp they are not big enough to be the full images. Is there a log somewhere that i could look at to see where Mozilla tried/did save the images to??!
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/
Mozilla Hiding Images
« Reply #1 on: 9 May 2002, 21:25 »
Zombie is right on (did I say that?). Never use your browser to download large files such as ISO images. I like "wget" or "ncftpget" for downloading images. To search for all ISO images on your drive you could:

find / | grep -i "iso$"

BTW, I just downloaded RH7.3 last night and upgraded my laptop. Haven't noticed anything huge different from 7.2 except maybe a little nicer installer screen, and KDE 3.0 which I already had upgraded to. I'll dig around and see if I find any new toys.

[ May 09, 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
Mozilla Hiding Images
« Reply #2 on: 10 May 2002, 00:15 »
wget is pissing me off, and Mozilla did finish downloading them because i left the download window open after it finished. Wget wouldnt connect to anything using ftp only my browser would, and i could only find FTP sites that were above 5 kb/s.

There must be thousands of people all trying to download red hat 7.3 for the last few days.
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/
Mozilla Hiding Images
« Reply #3 on: 10 May 2002, 00:59 »
Do you have your browsers configured to use your proxy for FTP? If so that would mean your proxy is making the FTP connection directly from the firewall/proxy box and the FTPs are not being masqueraded. "wget" would be trying to masquerade through your firewall and if you don't have your masq set up properly (including the ftp masq kernel modules) then wget would not be able to work.  If on the other hand your browsers are able to FTP without going through the proxy then you've got me stumped. Shouldn't happen.

If FTP only works going through your proxy server and you can't figure out how to get your masquerading configured properly you can always tell wget to use your proxy server. You can either set the proxy globally for all users using wget in the /etc/wgetrc, or you can copy the /etc/wgetrc to ~/.wgetrc and modify it for your user only.  You'll want to set:

Code: [Select]

Assuming your inside interface of your proxy server is 192.168.0.1.

And if you have your proxy set up to do authentication (require a userid/password) then set it like this:

Code: [Select]

[ May 09, 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
Mozilla Hiding Images
« Reply #4 on: 10 May 2002, 01:30 »
cant i can turn ftp masquearadingon by:
# ipchains -A forward -p tcp -d 0.0.0.0 ftp -j MASQ
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/
Mozilla Hiding Images
« Reply #5 on: 10 May 2002, 01:34 »
I don't believe so. I think what you need to do is a:

/sbin/modprobe ip_nat_ftp

on your firewall. But like I mentioned before, I am using an older version of RedHat on my firewall and I have to load the "ip_masq_ftp" module. That does not exist on the new versions of RedHat, I think "ip_nat_ftp" is the equivelant on the new version. Unfortunately I think that is associated with "iptables" and not "ipchains" so I believe you might have to switch to "iptables" to do your masquerading if you want to use that module. I have some digging to do.  I'll play with it tonight on 7.3 and let you know..

[ May 09, 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
Mozilla Hiding Images
« Reply #6 on: 10 May 2002, 02:09 »
the other thing that i could do is mount a drive from my computer (the one with my CD burner) in my server and download the image through my server to my other computers hard drive.

wget still wouldnt work after i tried using that ipchain, so i will also look into the ftp forwarding.
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/
Mozilla Hiding Images
« Reply #7 on: 10 May 2002, 02:55 »
Now you're thinking. You'ld want your burner machine acting as the server though and the firewall box as the client so the ISO images ultimately end up on your burner machine.  This would not be as preferable as getting FTP working.  I think it's going to take switching from ipchains to iptables. I might upgrade my firewall box tonight from RH6.1->RH7.3 and play with IP tables. Now that I've dropped the FreeS/WAN VPN stuff I believe I can upgrade without too much hassle.

BTW, didn't the wget proxy config work for you? That would certainly be the next easiest thing.

[ May 09, 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
Mozilla Hiding Images
« Reply #8 on: 10 May 2002, 03:16 »
i havent tried using wget through the proxy yet... (its hard being a lazy bastard these days).

to set ip_nat_ftp i would need iptables instead of the ipchains which i have right now. There is no ip_masq_ftp

[ May 09, 2002: Message edited by: Master of Reality ]

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

psyjax

  • VIP
  • Member
  • ***
  • Posts: 1,871
  • Kudos: 55
Mozilla Hiding Images
« Reply #9 on: 10 May 2002, 04:11 »
Master, why download it again when you know it's on your HD?

I mean, it's takeing up space somewhere on it. Try searching for something elese other than .iso, maybe it has a wierd name or something.

Isn't there away to search out files ONLY created on a certain date?
Psyjax! I RULEZZZZ!!! HAR HAR HAR

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Mozilla Hiding Images
« Reply #10 on: 10 May 2002, 04:47 »
i went one step better to finding files from date.
I checked for .iso files tha40 MB and it only found two, i know that there should be three above 550MB
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/
Mozilla Hiding Images
« Reply #11 on: 10 May 2002, 04:47 »
Also if you downloaded it through your proxy it should be in the proxy cache. You can also search for files over a certain size by:

find / -size +250000k

would find any files on your system that are over 250MB in size. Run it on the server too in case they happen to still be in cache.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Mozilla Hiding Images
« Reply #12 on: 10 May 2002, 04:51 »
I also did "find / * -size +540000k" and it only found the same two .iso files
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/
Mozilla Hiding Images
« Reply #13 on: 10 May 2002, 04:58 »
You don't want that '*' in there but it will still work. It'll just search some places more than once. Maybe you meant "-name '*'" but it's not necessary in this case.

Also a tip for wget if you didn't already know it is you can right click on a download link in your browser, like if you planned on doing a "save target as", but instead do a "copy shortcut". Then tab over to your kterm/xterm and type "wget ", then click both left and right mouse buttons simultaneously in the kterm/xterm window and it will paste in the URL (save some typing).

[ May 09, 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
Mozilla Hiding Images
« Reply #14 on: 10 May 2002, 21:25 »
yes all three files were actually on my hard drive (one of them was actually 494 MB). But they were incomplete, so i couldnt install from them (and i just wasted 3 blank CD-RWs)
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'