Ulrich Kiermayr wrote:
Would for example a comment above the Returned objects be useful:
One idea that came up over conversation with Wilfried (IIRC) was to replace the e-mail addresses in all objects with references to contact objects. This would include notification addresses and the changed lines: notify: mnt-nfy: upd-to: irt-nfy: ref-nfy: changed: This might help by removing spurious e-mail addresses from the output. Modifying Ulrich's example, we would get: % This is the RIPE Whois server. % The objects are in RPSL format. % % Rights restricted by copyright. % See http://www.ripe.net/ripencc/pub-services/db/copyright.html inetnum: 131.130.7.32 - 131.130.7.47 mnt-irt: IRT-UK org: ORG-UK1-RIPE netname: UK-V4 descr: LAN Ulrich Kiermayr country: AT admin-c: UK6107-RIPE tech-c: UK3 abuse-c: UK3 mnt-by: AS760-MNT mnt-by: UK-MNT status: ASSIGNED PA changed: 20020822 UK3 changed: 20040128 source: RIPE % % Administrative Contact: person: Ulrich Kiermayr address: Vienna University address: Computer Center address: Universitaetsstrasse 7 address: A-1010 Vienna address: Austria phone: +43 1 4277 14104 fax-no: +43 1 4277 9140 e-mail: Ulrich.Kiermayr@UniVie.ac.at nic-hdl: UK6107-RIPE remarks: GPG-Key: PGPKEY-A8D764D8 mnt-by: ACONET-LIR-MNT changed: 20010629 CP8-RIPE changed: 20020603 changed: 20020805 UK3 source: RIPE % % Technical and Abuse Contact: person: Ulrich Kiermayr address: Lacknergasse 71/23 address: A-1180 Wien address: AT phone: +43 1 5248266 phone: +43 664 8174818 e-mail: Ulrich.Kiermayr@UniVie.ac.at nic-hdl: UK3 remarks: GPG-Key: PGPKEY-A8D764D8 mnt-by: UK-MNT notify: UK3 changed: 20020723 UK3 source: RIPE % % Incident Response Team: irt: IRT-UK address: Lacknergasse 71/23 address: A-1180 Wien address: AT phone: +43 1 5248266 phone: +43 664 8174818 e-mail: Ulrich.Kiermayr@UniVie.ac.at signature: PGPKEY-A8D764D8 encryption: PGPKEY-A8D764D8 admin-c: UK3 tech-c: UK3 irt-nfy: UK3 auth: PGPKEY-A8D764D8 notify: UK3 mnt-by: UK-MNT changed: 20020820 UK3 changed: 20030115 UK3 source: RIPE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% In this case, we only get a single e-mail address. Now, this would still not solve the case of people just searching for '@' and sending e-mail, but it would help the problem. Notice that I've put the comments in separate blocks, to help people who parse one object at a time. I've also swapped the order on the "changed:" attribute, also to ease parsing, since we will always have a date but maybe not always other information. -- Shane Kerr RIPE NCC