![]() |
#226 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
#227 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 777
Karma: 6356004
Join Date: Jan 2012
Device: Kobo Touch
|
Quote:
Also could you explain how your "nothing special" router is running Apache as a basic service, seeing as we're talking about basic, unaltered consumer routers? And I'd be interested to know how you can operate SSH on the "debugger port" of your router? Does the router come with a special install of dropbear? How did you program your public/private key combo to get into SSH on the "debugger port". Oh, and the linux gurus on the DD-WRT forums would really like to know what the address of the "debugger port" is? I'm presuming it's not 22 as that's the standard rather than a "debugger" address, and most people I know don't operate SSH on the standard port anyway as it gets pinged all the time from China. How do you access it? Putty, WinSCP, some manufacturer utility I could d/load from their website? Enquiring minds would like to know. ![]() Last edited by plib; 05-17-2012 at 04:52 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#228 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 895
Karma: 4383958
Join Date: Nov 2007
Device: na
|
Quick comment on the file sizes, there's a chance the logs are compressed and uncompressed (zless) on the fly to read. It's common for a 1MB log to compress to 50-60KB gzip'd (30-40KB bzip'd although don't think zless supports those).
I've checked the apache log for my internal server, it's currently at 6MB (180KB when compressed) and the earliest entry is mid February. That's a low activity server that is accessible only via the LAN. I wouldn't be surprised that a public accessible apache would have much greater log sizes, even if it's used infrequently just with all the worms/automated exploit attempts that will appear in it. In terms of web access, if you combine all the people who use our connection, we visit many more websites than I access the apache server. When you consider connecting to a single website and loading one page can result in tens of connections entering the log (image loading, ad access, pulling in scripts, css...) the logs generated for even a home user are going to be pushing routers that don't have dedicated space for logs. So, I would take an educated guess that if my router did log all access, the logs would be significantly > 6MB (per month). If you've SSH to access the logs, that still implies you're running some sort of command on the router as most routers that allow telnet or ssh support multiple configuration commands once connected. What router model do you have and what is it you've executed to view such detailed logs? The only way I can get long term logs out of my router is to configure it to log to an external server that supports syslog. I'm sure there are routers available with plenty of space for logging even in high usages areas, however I doubt most consumer routers will come with more than a token amount of space. Last edited by JoeD; 05-17-2012 at 07:03 AM. |
![]() |
![]() |
![]() |
#229 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I find that hard to believe. You can get a factor of 2 or perhaps 3 when you compress a text file, but a factor of 20? Unless the information in the file is massively redundant (lots of repeated strings) I just don't see how it could be done.
|
![]() |
![]() |
![]() |
#230 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 895
Karma: 4383958
Join Date: Nov 2007
Device: na
|
Quote:
The numbers I used are real. I made a fresh copy of my apache log, 5.8MB in size (yes I rounded to 6MB in my OP ![]() Don't forget, when it comes to logs, there can be quite a lot of repetition. For example, my private IP will occur numerous times, dates will be repeated multiple times, pages accessed might occur several times. Last edited by JoeD; 05-17-2012 at 07:17 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#231 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
![]() |
![]() |
![]() |
#232 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 85586
Join Date: Nov 2010
Device: Kindle 3
|
I just compressed a recent log from one of our Apache servers with WinZip. 2,995,170 bytes in, 87,252 bytes out, ratio 97%.
A typical line in the log is Quote:
All that notwithstanding, typical consumer routers don't run Apache. |
|
![]() |
![]() |
![]() |
#233 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 895
Karma: 4383958
Join Date: Nov 2007
Device: na
|
Quote:
For a book, yes I'd expect something in the range 2-4x compression, depending on the text. |
|
![]() |
![]() |
![]() |
#234 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I agree, but I was actually thinking of the earlier poster's claim that a list of 540,000 e-mail addresses and names had been compressed to 37k. That's just... improbable ... no matter how you look at it.
|
![]() |
![]() |
![]() |
#235 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 895
Karma: 4383958
Join Date: Nov 2007
Device: na
|
Ah, I was referring to his log file size (where he mentioned apache and 87KB for 7 years worth). A client list might compress quite well if there's a lot of repeated names and domain names, but I agree 37k sounds very unlikely.
Last edited by JoeD; 05-17-2012 at 08:08 AM. |
![]() |
![]() |
![]() |
#236 | ||
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 532
Karma: 3293888
Join Date: Oct 2011
Location: Virginia
Device: Nook Simple Touch
|
Quote:
![]() I don't want to say you're being evasive but nothing in the post above relates to the claim you made and my request for evidence of it. I'll make it simple for you: You claimed, and I quote: Quote:
Last edited by Rob Lister; 05-17-2012 at 09:24 AM. |
||
![]() |
![]() |
![]() |
#237 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 777
Karma: 6356004
Join Date: Jan 2012
Device: Kobo Touch
|
![]() Quote:
Router: Cisco/Linksys WRT610N v2 Firmware: DD-WRT v24-sp2 (08/12/10) std-usb-ftp - build 14929 with Frater's OTRW installed. Just to make it easier for him I already have SSH access via either Putty or WinSCP set up, though I'm not sure I know how to get at his "debugger port", but I'm sure he can tell us. |
|
![]() |
![]() |
![]() |
#238 | |
Award-Winning Participant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,390
Karma: 68329346
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
|
Quote:
There is a lot of repetition, but I did make random changes to groups of a hundred thousand or so at a time. The raw text file is 47.8 MB. 7Zip's Ultra level compression gets it down to UNDER 8 KILOBYTES. Pretty impressive. I'm going to spend a few minutes trying with one of my actual huge log files and see what happens. |
|
![]() |
![]() |
![]() |
#239 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 777
Karma: 6356004
Join Date: Jan 2012
Device: Kobo Touch
|
|
![]() |
![]() |
![]() |
#240 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
360 Plus How to enter address into browser address field? | Hope | PocketBook | 15 | 04-06-2012 12:07 PM |
TheyRule.Net - relationships of the US ruling class | Alexander Turcic | Lounge | 0 | 05-13-2004 09:50 AM |