Etude portant sur messages issus de différents newsgroups que je lis. Exportés en format #! rnews format, j'ai écrit un petit programe en perl pour analyser les headers que l'on rencontre et en effectuer des statistiques. Ce format est en fait un fichier texte ou les différents messages sont séparés par une ligne commencant par #! rnews et suivi d'un référence numérique. L'analyse est donc assez simple, les lignes suivant celle-ci forment les headers jusqu'a ce que l'on rencontre une ligne vide qui sert de séparateur entre les headers et le corps du message.
Mon implémentation en perl effectue la recherche d'occurences des différents headers et en stocke les trois exemples différents. Le tout est produit en sortie en une table en html directement exploitable:
| Lines | 2176 | |
| Newsgroups | 2176 |
- alt.acorn.adverts
- alt.acorn.adverts,comp.sys.acorn.hardware,comp.sys.acorn.networking,comp.sys.acorn.misc
- alt.acorn.adverts,alt.ads
|
| Message-ID | 2176 |
- <9jres2$nhi$1@plutonium.btinternet.com>
- <ab774da14a.roger@nifty.demon.co.uk>
- <9k3g5c$7c$37@usenet.otenet.gr>
|
| Subject | 2176 |
- RISCPC for sale
- FS
- 10,000,000 registered members with thousands of sexy photos! It's FREE
|
| From | 2176 |
- "Peter Howard" <jodrell@btinternet.com>
- Roger W Wylde <roger@niftysoftware.co.uk>
- "4Free Teen" <bm-oddtlo@otenet.gr>
|
| Date | 2176 |
- Fri, 27 Jul 2001 11:24:20 +0100
- Sat, 28 Jul 2001 20:38:05 +0100
- Sat, 28 Jul 2001 19:59:07 +0300
|
| Path | 2176 |
- wanadoo.fr!opentransit.net!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail
- wanadoo.fr!freenix!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!nifty.demon.co.uk%roger
- wanadoo.fr!opentransit.net!news.tele.dk!213.204.128.162!news000.worldonline.se!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!Amsterdam.Infonet!News.Amsterdam.UnisourceCS!news.otenet.gr!not-for-mail
|
| NNTP-Posting-Host | 2040 |
- host62-7-95-184.btinternet.com
- nifty.demon.co.uk
- volo530-a204.otenet.gr
|
| X-Trace | 1992 |
- news.demon.co.uk 996349266 nnrp-08:18456 NO-IDENT nifty.demon.co.uk:158.152.44.121
- usenet.otenet.gr 996492268 236 62.103.224.204 (30 Jul 2001 11:24:28 GMT)
- typhoon.kc.rr.com 996532877 24.130.237.200 (Mon, 30 Jul 2001 17:41:17 CDT)
|
| Organization | 1982 |
- BT Internet
- Nifty Software
- An OTEnet S.A. customer
|
| References | 1775 |
- <9k9jsu$52v$1@plutonium.btinternet.com>
- <9js4fb$jr1k$1@rn.area.com>
- <vjvqkto2vajpj26kql5vvn1kl4g0g1qm9g@4ax.com>
|
| X-Complaints-To | 1567 |
- abuse@demon.net
- abuse@otenet.gr
- abuse@rr.com
|
| User-Agent | 1036 |
- Messenger-Pro/2.50 (MsgServe/1.50) (RISC-OS/4.02)
- slrn/0.9.6.3 (Linux)
- MacSOUP/D-2.4.6 (unregistered)
|
| NNTP-Posting-Date | 989 |
- Mon, 30 Jul 2001 11:24:28 +0000 (UTC)
- Mon, 30 Jul 2001 17:41:17 CDT
- 1 Aug 2001 07:08:41 GMT
|
| X-Newsreader | 711 |
- Microsoft Outlook Express 6.00.2462.0000
- Microsoft Outlook Express 5.50.4133.2400
- Microsoft Outlook Express 6.00.2479.0006
|
| Content-Type | 632 |
- text/plain;
- text/plain; charset=us-ascii
- text/plain; charset=ISO-8859-1
|
| Content-Transfer-Encoding | 503 | |
| Xref | 428 |
- Jesus.wanadoo.fr alt.acorn.adverts:155 comp.sys.acorn.hardware:7425 comp.sys.acorn.networking:1776 comp.sys.acorn.misc:10613
- Jesus.wanadoo.fr comp.sys.acorn.announce:513 comp.sys.acorn.apps:7456 comp.sys.acorn.games:960 comp.sys.acorn.hardware:7422 comp.sys.acorn.misc:10612 comp.sys.acorn.networking:1775
- Jesus.wanadoo.fr comp.sys.acorn.apps:7559 comp.sys.acorn.misc:10733
|
| Reply-To | 371 |
- "Jon Kreski" <webmaster@clickfordollars.com>
- "Web Wizards - PHP/PERL Developers" <mh2@isis.co.za>
- gapope@vcn.bc.ca
|
| MIME-Version | 313 | |
| X-MimeOLE | 307 |
- Produced By Microsoft MimeOLE V6.00.2462.0000
- Produced By Microsoft MimeOLE V5.50.4133.2400
- Produced By Microsoft MimeOLE V6.00.2479.0006
|
| X-Priority | 300 | |
| X-MSMail-Priority | 298 | |
| Mime-Version | 284 | |
| X-NNTP-Posting-Host | 282 |
- nifty.demon.co.uk:158.152.44.121
- zaynar.demon.co.uk:158.152.90.16
- xemu.demon.co.uk:158.152.196.209
|
| X-Accept-Language | 192 |
- en
- po fene,ru
- en,en-US,en-GB,ja,af
|
| X-Mailer | 185 |
- Hustler Mailer
- Mozilla 4.78 [en] (Windows NT 5.0; U)
- Mozilla 4.75 [en] (Win98; U)
|
| Approved | 162 |
- Self-Moderation <authoring-cgi@boutell.com>
- nick
- a.m.conroy@argonet.co.uk (Andrew Conroy)
|
| X-Orig-Path | 159 |
- btinternet.com!domino_
- FreeNet.co.uk%davehigton
- steve-c.co.uk!stephen
|
| X-Original-NNTP-Posting-Host | 156 |
- 203.29.154.54
- 62.60.47.177
- 62.60.43.202
|
| X-Posting-Agent | 150 |
- Playboy Poster
- Hamster/1.3.22.0
- Hamster/1.3.21.0
|
| X-Editor | 102 |
- Zap, using ZapEmail 0.22 (27 Nov 1998) patch-3
- Zap 1.44 (19 May 2000) [TEST 3], ZapEmail 0.25 (18 Mar 2000) test-2
- Zap 1.44 (06 Jul 2001) [TEST 6], ZapEmail 0.26 (14 Jun 2001) test-2
|
| Sender | 85 |
- Ian
- resurrector@mindspring.com (Guido the Resurrector)
- Greg Mildenhall <gregm@pc-121.cs.uwa.edu.au>
|
| X-Sender | 72 |
- 510035616940-0001@t-dialin.net
- 340067917323-0001@t-dialin.net
- 520042741018-0001@t-dialin.net
|
| Distribution | 70 | |
| X-Admin | 41 | |
| Followup-To | 37 |
- comp.sys.acorn.hardware
- comp.sys.acorn.misc
- comp.sys.acorn.apps
|
| Cache-Post-Path | 32 |
- queeg.ludd.luth.se!unknown@ny.sm.luth.se
- newsreader-hpw1.net.bms.com!unknown@a048641-dyp1164642dys.war.zim.bms.com
- ananke.eclipse.net.uk!unknown@212.104.153.172
|
| X-Abuse-Info | 32 |
- Please be sure to forward a copy of ALL headers
- Otherwise we will be unable to process your complaint properly.
- Otherwise we will be unable to process your complaint properly
|
| X-No-Archive | 31 | |
| X-Cache | 31 |
- nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
- nntpcache 2.3.3 (see http://www.nntpcache.org/)
- nntpcache 2.4.0b4 (see http://www.nntpcache.org/)
|
| X-Processed | 29 | |
| X-Report | 22 |
- Report abuse to nntpabuse@vip.uk.com
- Report abuse to abuse@netscapeonline.co.uk
- Please report illegal or inappropriate use to <abuse@newsfeeds.com>
|
| X-NNTP-Poster | 21 |
- NewsHound v1.33
- NewsHound v1.35ß
|
| X-Comments | 20 |
- GtR Repost
- than likely by someone other than the original poster. Please
- see the end of this posting for a copy of the cancel.
|
| X-Server-Date | 18 |
- 29 Jul 2001 01:52:44 GMT
- 29 Jul 2001 01:39:54 GMT
- 29 Jul 2001 01:44:35 GMT
|
| Mail-Copies-To | 16 | |
| In-Reply-To | 15 |
- <m6a97.1974$e%4.50598@news3.oke.nextra.no>
- <4aa0e2fec3stephen@steve-c.co.uk>
- <4aa0a3f849kell@locsource.com>
|
| X-OS | 13 | |
| X-Received-Date | 13 |
- Thu, 26 Jul 2001 22:39:22 PDT (newsmaster1.prod.itd.earthlink.net)
- Tue, 31 Jul 2001 21:05:02 PDT (newsmaster1.prod.itd.earthlink.net)
- Tue, 31 Jul 2001 21:33:29 PDT (newsmaster1.prod.itd.earthlink.net)
|
| X-Face | 12 |
- 1+aL2.S<C:UD\AQBwLzd95j+NaYgl`9_jr8LEE;:a5UmNGxU=-]*hm]>&^e[b
- Exf_JoskzTiRK!78R)Ouvl"U|NO&qXO,Dyo}f#}N<"zE`~w~8&&s8X@^N7sr-nEz`ro>R1CMuB{\5M9I[/l)`UT(k0!Ow?K\Fg+=Fo@%*'-@Ih`7rzN5*B[rT<,Ap;L.Pl~dirqVy$im!bo>I@ew*i[EE,T*0$jcxp41
- B*S,_h,:U<<2\9CoqZ+"Z<es;.M'/Y[DUX2PziYd.G:.W!"f9RVlov#B+6:~r
|
| X-X-Sender | 12 |
- <kimotol@uhunix5>
- <rlehy@chimay>
|
| X-Computer | 11 |
- Acorn RiscPC 700, StrongARM 267MHz, 24+2MB RAM, 4.2GB+850MB HD
- Acorn RiscPC SA-110
|
| X-Original-Trace | 10 |
- 30 Jul 2001 22:00:48 +1000, 203.29.154.54
- 30 Jul 2001 22:15:17 +1000, 203.29.154.54
- 28 Jul 2001 18:05:54 +1000, 202.138.17.52
|
| X-Comments3 | 10 | |
| X-Comments2 | 10 | |
| Keywords | 10 |
- ALL YOUR BASE ARE BELONG TO US
- nihilism, random, chaos
- Acorn Guide Newsgroups FAQs Newcomers
|
| Expires | 10 |
- Sat, 4 Aug 2001 12:01:41 +1200
- Sat, 18 Aug 2001 03:43:01 GMT
- Sat, 18 Aug 2001 03:43:11 GMT
|
| X-Mangled | 9 |
- using ZapEmail's AST (ygolonhceT mapS-itnA)
|
| X-MIMEOLE | 9 |
- Produced By Microsoft MimeOLE V5.50.4522.1200
- Produced By Microsoft MimeOLE V4.72.3110.3
- Produced By Microsoft MimeOLE V5.00.2615.200
|
| X-no-markup | 8 | |
| X-Organization | 7 |
- Alpha Programming
- Photodesk Ltd, Portland. Telephone +44 (0) 1305 822753
- Warm Silence Software Ltd
|
| X-NFilter | 7 | |
| Cancel-Lock | 7 |
- sha1:aB22uhxRqjf0uAkKSNppnsbIgKA=
- sha1:IZa0KpgyjiD6rjsfEv0Qy9vOMEk=
- sha1:gDjrOcTtHDj2W4s9VfNOb9E8pUY=
|
| X-HTTP-Posting-Host | 6 |
- dyn-213-36-140-110.ppp.libertysurf.fr
- dyn-213-36-0-248.ppp.libertysurf.fr
- dyn-213-36-23-201.ppp.libertysurf.fr
|
| Posted-And-Mailed | 6 | |
| Summary | 6 |
- Newcomers' Guide to the Acorn Newsgroups and FAQs.
|
| X-Question | 6 |
- Do you really find headers very interesting?
|
| X-Originating-User | 5 |
- 144.92.164.196
- 193.48.70.124
- 213.19.7.83
|
| X-Originating-Host | 5 |
- 144.92.164.196
- 193.48.70.124
- 213.19.7.83
|
| X-IRC-Identity | 5 | |
| Content-transfer-encoding | 5 | |
| X-System | 5 | |
| X-Comment | 5 |
- A hollow voice whispers diaxos
|
| Supersedes | 5 |
- <Xns90EBBAFB0140BRiXiDiXi@161.48.128.20>
- <fr.chartes.comp.lang.perl-995254966.259465@ns2.freenix.org>
- <fr.chartes.soc.internet-995254974.996785@ns2.freenix.org>
|
| Errors-To | 5 |
- PostMaster@arcade.demon.co.uk
|
| X-Complaints-To2 | 5 |
- abuse@foorum.com
- abuse@foorum.fr
|
| Mail-Reply | 4 | |
| X-Forwarded | 4 |
- by - (DeleGate/7.3.0)
- by - (DeleGate/6.1.20)
|
| X-Authenticated-User | 4 | |
| X-no-Archive | 3 | |
| X-DMCA-Notifications | 3 |
- http://www.giganews.com/info/dmca.html
|
| X-Foorum_user_id | 3 | |
| X-POSTER | 3 | |
| X-distributed-net-Team | 3 |
- Acorn Users Group (#4266)
|
| NNTP-Posting-User | 3 | |
| X-PGP-Sig | 2 |
- 6.5.8 From,Newsgroups,Subject,Message-ID
|
| X-Repost-Date | 2 |
- 31 Jul 2001 22:30:01 GMT
- 31 Jul 2001 22:45:26 GMT
|
| Filter-X-Trace | 2 |
- 996710666 newscene.com 17922 216.40.21.80
- 996742968 newscene.com 17934 216.40.21.80
|
| Content-Disposition | 2 | |
| X-URL | 2 |
- http://habett.org/
- http://www.alcyone.com/buffoon/
|
| X-Original-Path | 2 |
- sn-us!sn-xit-02!supernews.com!news.tele.dk!209.30.0.50!nntp.flash.net!easynews!e420r-sjo4.usenetserver.com!newsfeed.usenetserver.com!e420r-sjo3.usenetserver.com.POSTED!not-for-mail
- sn-us!sn-xit-01!supernews.com!feeder.qis.net!dispose.news.demon.net!demon!xara.net!gxn.net!server6.netnews.ja.net!server4.netnews.ja.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail
|
| X-Mimeole | 2 |
- Produced By Microsoft MimeOLE V4.72.3110.3
- Produced By Microsoft MimeOLE V5.00.3018.1300
|
| X-Attribution | 2 | |
| X-Reposted-By | 2 |
- resurrector@mindspring.com (Guido the Resurrector)
|
| X-WebTV-Signature | 2 | |
| X-Original-Message-ID | 2 |
- <bp497.10244$Fe4.449169@e420r-sjo3.usenetserver.com>
- <uSt97.46436$SK6.6014656@news6-win.server.ntlworld.com>
|
| Filter-NNTP-Posting-Host | 2 | |
| X-Organisation | 2 | |
| X-PGP-Keys | 2 |
- 0x53E9615A(DH/DSS),0x97B81D97(RSA) @ http://autechre.de/keys.asc
|
| X-No-Productlink | 2 | |
| Mime-version | 1 | |
| Followupto | 1 | |
| X-Msmail-Priority | 1 | |
| X-PGP-fingerprint | 1 |
- 6A61 3673 55ED C547 0C5A 4ABD 44F8 8CB2 A125 E138
|
| X-No-Productlinks | 1 | |
| X-sekritcode | 1 | |
| X-BBC-Trace | 1 | |
| X-Proxy-Client | 1 |
- marriott@uiuc.edu from ppp1-10.cu.soltec.net
|
| X-c't-Krypto-Kampagne | 1 |
- http://www.heise.de/ct/pgpCA/
|
| X-Processed-By | 1 |
- BudgieSoft NewsFudge v1.17
|
| Return-Receipt-To | 1 | |
| Archive | 1 | |
| X-Cricket | 1 |
- Well, let's look on the bright side. It might rain for five days.
|
| X-User-Info | 1 |
- 203.167.236.226 203.167.236.226 steve.knutson
|
| X-mang | 1 | |
| X-Hello-Kitty | 1 | |
| X-Brought-To-You-By | 1 |
- The letter Q and the number 12
|
| X-Peer2Peer-Protocol | 1 | |
| X-Posted-By | 1 | |
| X-PGP-key-at | 1 |
- http://users.durge.org/~ngb/key.gpg.asc
|