Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to see http*.mp3 size before download ?

Reply
Thread Tools Display Modes

How to see http*.mp3 size before download ?

 
 
news@absamail.co.za
Guest
Posts: n/a

 
      05-01-2006, 04:45 AM
Can the size of any http be known before fetching it ?
Even if it has no descendant links ?

Surely the inability to decide whether to fetch or not, based
on the size of the servers 'offering' is a type of potential
mallicious attack from the server.

And related to this: what stops a client being indefinately
'held up' by a malicious server - like a D.O.S. attack ?

Thanks for any info.

== Chris Glur.

 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      05-01-2006, 05:20 AM
(E-Mail Removed) writes:

>Can the size of any http be known before fetching it ?
>Even if it has no descendant links ?


>Surely the inability to decide whether to fetch or not, based
>on the size of the servers 'offering' is a type of potential
>mallicious attack from the server.


As you download it will give you an estimate, usually.

And if it gets too big, cancel the download.


>And related to this: what stops a client being indefinately
>'held up' by a malicious server - like a D.O.S. attack ?


You. Just cancel the download.


>Thanks for any info.


>== Chris Glur.


 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      05-01-2006, 08:52 AM
(E-Mail Removed) écrivait news:Pv-
(E-Mail Removed):

> Can the size of any http be known before fetching it ?
> Even if it has no descendant links ?


The server response headers may send a "Content-Size:xxx" information to
the client. And so the client software may know the size of the data that
follow the headers.

But this is not always available. Most static file request (.html, .jpeg,
....) returns this information, but most script don't do it.

> And related to this: what stops a client being indefinately
> 'held up' by a malicious server - like a D.O.S. attack ?


Most cliet have a (large) timeout.


Regards

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
inconsistent HTTP download speeds on a LAN David Magda Linux Networking 5 04-24-2008 04:04 PM
Any http proxy to accelerate http GET method? Trent.Zhou@gmail.com Linux Networking 7 11-23-2007 05:16 AM
forward http://p2p.mydomain.com to http://mydomainIP:50001/gui/index.html, is that possible? aticatac Network Routers 1 11-13-2007 12:00 AM
Apache problem: Can see http://localhost/ but not http://ipaddress/ Andrew Linux Networking 4 02-13-2005 12:26 PM
ping size and mtu size u.dahms Linux Networking 4 10-01-2003 12:35 PM



1 2 3 4 5 6 7 8 9 10 11