Another one feature request (or bug report?) Re: (fwd)
Hello there colleagues, I suppose it is not so hard to implement ignoring of leading whitespaces in update messages. Just because automatic RIPE-141 checker produce indented objects... Thank you as always for you cooperation. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ ---------- Forwarded message ---------- Date: Fri, 15 Jun 2001 15:50:14 +0200 (MEST) From: RIPE Database Management <ripe-dbm@ripe.net> To: marck@rinet.ru Subject: Re: Acknowledgement message from database software Your e-mail:
From: Dmitry Morozovsky <marck@rinet.ru> Cc: Subject: Date: Fri, 15 Jun 2001 17:50:00 +0400 (MSD) Msg-Id: <Pine.BSF.4.21.0106151749460.9594-100000@woozle.rinet.ru>
has been processed by the automatic update procedure at the RIPE NCC. Diagnostic output follows: ------------------------------------------------------------------------ ==== BEGIN PGP SIGNED PART (keyID(s): 55C20C73) ==== Update FAILED: Syntax error in object inetnum: 195.91.162.208 - 195.91.162.223 netname: RINET-HANNA-NET descr: Development jail block country: RU admin-c: AUTO-1 tech-c: RHM-RIPE status: ASSIGNED PA mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered. Update FAILED: Syntax error in object person: Anna E. Losovskaya address: Off. 111, Bld. 11a, 1st Khvostov Lane address: Moscow 109180 RU phone: +7 (095) 916-7009 fax-no: +7 (095) 916-7008 e-mail: hanna@rinet.ru nic-hdl: AUTO-1 mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered. ==== END PGP SIGNED PART ==== Objects in RIPE-181 format must be sent to <auto-181@ripe.net>, which are converted into RPSL format before processing. This will be possible only until October 15, 2001. Please see http://www.ripe.net/rpsl for more information. RIPE Database Maintenance Department
Hi Dmitry, This is imposed by RPSL: In RPSL, the leading space signifies that that line is a continuation line. If we ignore them all, then we would lose some information, so we can't ignore them. On Fri, 15 Jun 2001, Dmitry Morozovsky wrote:
Hello there colleagues,
I suppose it is not so hard to implement ignoring of leading whitespaces in update messages. Just because automatic RIPE-141 checker produce indented objects...
Hmmm. OK, we'll contact maintainers of RIPE-141 checker... Thanks for feedback, best regards, Engin Gunduz RIPE NCC Database Group
Thank you as always for you cooperation.
Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
---------- Forwarded message ---------- Date: Fri, 15 Jun 2001 15:50:14 +0200 (MEST) From: RIPE Database Management <ripe-dbm@ripe.net> To: marck@rinet.ru Subject: Re:
Acknowledgement message from database software
Your e-mail:
From: Dmitry Morozovsky <marck@rinet.ru> Cc: Subject: Date: Fri, 15 Jun 2001 17:50:00 +0400 (MSD) Msg-Id: <Pine.BSF.4.21.0106151749460.9594-100000@woozle.rinet.ru>
has been processed by the automatic update procedure at the RIPE NCC. Diagnostic output follows:
------------------------------------------------------------------------
==== BEGIN PGP SIGNED PART (keyID(s): 55C20C73) ====
Update FAILED: Syntax error in object inetnum: 195.91.162.208 - 195.91.162.223 netname: RINET-HANNA-NET descr: Development jail block country: RU admin-c: AUTO-1 tech-c: RHM-RIPE status: ASSIGNED PA mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered.
Update FAILED: Syntax error in object person: Anna E. Losovskaya address: Off. 111, Bld. 11a, 1st Khvostov Lane address: Moscow 109180 RU phone: +7 (095) 916-7009 fax-no: +7 (095) 916-7008 e-mail: hanna@rinet.ru nic-hdl: AUTO-1 mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered. ==== END PGP SIGNED PART ====
Objects in RIPE-181 format must be sent to <auto-181@ripe.net>, which are converted into RPSL format before processing. This will be possible only until October 15, 2001. Please see http://www.ripe.net/rpsl for more information.
RIPE Database Maintenance Department
Engin, On Mon, Jun 18, 2001 at 10:16:28AM +0200, Engin Gunduz wrote:
This is imposed by RPSL: In RPSL, the leading space signifies that that line is a continuation line. If we ignore them all, then we would lose some information, so we can't ignore them.
While the syntax checker is certainly correct, you might want to think about making it more user friendlier. Messages like 'syntax error' are not always the most helpful. I am pretty sure that the software could give some suggestions to the user on what the cause of the error might be. Your log files can help you understand what the most common errors are and by what they are caused. Just a suggestion :-), David K. ---
------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
---------- Forwarded message ---------- Date: Fri, 15 Jun 2001 15:50:14 +0200 (MEST) From: RIPE Database Management <ripe-dbm@ripe.net> To: marck@rinet.ru Subject: Re:
Acknowledgement message from database software
Your e-mail:
From: Dmitry Morozovsky <marck@rinet.ru> Cc: Subject: Date: Fri, 15 Jun 2001 17:50:00 +0400 (MSD) Msg-Id: <Pine.BSF.4.21.0106151749460.9594-100000@woozle.rinet.ru>
has been processed by the automatic update procedure at the RIPE NCC. Diagnostic output follows:
------------------------------------------------------------------------
==== BEGIN PGP SIGNED PART (keyID(s): 55C20C73) ====
Update FAILED: Syntax error in object inetnum: 195.91.162.208 - 195.91.162.223 netname: RINET-HANNA-NET descr: Development jail block country: RU admin-c: AUTO-1 tech-c: RHM-RIPE status: ASSIGNED PA mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered.
Update FAILED: Syntax error in object person: Anna E. Losovskaya address: Off. 111, Bld. 11a, 1st Khvostov Lane address: Moscow 109180 RU phone: +7 (095) 916-7009 fax-no: +7 (095) 916-7008 e-mail: hanna@rinet.ru nic-hdl: AUTO-1 mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered. ==== END PGP SIGNED PART ====
Objects in RIPE-181 format must be sent to <auto-181@ripe.net>, which are converted into RPSL format before processing. This will be possible only until October 15, 2001. Please see http://www.ripe.net/rpsl for more information.
RIPE Database Maintenance Department
David K. ---
Hi Dmitry, On 15-Jun-2001 Dmitry Morozovsky wrote:
I suppose it is not so hard to implement ignoring of leading whitespaces in update messages. Just because automatic RIPE-141 checker produce indented objects...
-- RFC2622 -- ... An RPSL object is textually represented as a list of attribute-value pairs. Each attribute-value pair is written on a separate line. The attribute name starts at column 0, followed by character ":" and followed by the value of the attribute. The attribute which has the same name as the object's class should be specified first. The object's representation ends when a blank line is encountered. An attribute's value can be split over multiple lines, by having a space, a tab or a plus ('+') character as the first character of the continuation lines. The character "+" for line continuation allows attribute values to contain blank lines. More spaces may optionally be used after the continuation character to increase readability. The order of attribute-value pairs is significant. ... ------------ In my understanding the checker works 100% correct. I suppose it is not so hard to implement dropping of your leading whitespaces ;-) Cheers Frank
Thank you as always for you cooperation.
Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------
---------- Forwarded message ---------- Date: Fri, 15 Jun 2001 15:50:14 +0200 (MEST) From: RIPE Database Management <ripe-dbm@ripe.net> To: marck@rinet.ru Subject: Re:
Acknowledgement message from database software
Your e-mail:
From: Dmitry Morozovsky <marck@rinet.ru> Cc: Subject: Date: Fri, 15 Jun 2001 17:50:00 +0400 (MSD) Msg-Id: <Pine.BSF.4.21.0106151749460.9594-100000@woozle.rinet.ru>
has been processed by the automatic update procedure at the RIPE NCC. Diagnostic output follows:
------------------------------------------------------------------------
==== BEGIN PGP SIGNED PART (keyID(s): 55C20C73) ====
Update FAILED: Syntax error in object inetnum: 195.91.162.208 - 195.91.162.223 netname: RINET-HANNA-NET descr: Development jail block country: RU admin-c: AUTO-1 tech-c: RHM-RIPE status: ASSIGNED PA mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered.
Update FAILED: Syntax error in object person: Anna E. Losovskaya address: Off. 111, Bld. 11a, 1st Khvostov Lane address: Moscow 109180 RU phone: +7 (095) 916-7009 fax-no: +7 (095) 916-7008 e-mail: hanna@rinet.ru nic-hdl: AUTO-1 mnt-by: RINET changed: marck@rinet.ru 20010615 source: RIPE ***Error: syntax error ***Error: Unknown class encountered. ==== END PGP SIGNED PART ====
Objects in RIPE-181 format must be sent to <auto-181@ripe.net>, which are converted into RPSL format before processing. This will be possible only until October 15, 2001. Please see http://www.ripe.net/rpsl for more information.
RIPE Database Maintenance Department
-- Frank Bohnsack email fb@de.uu.net UUNET, A Worldcom Company phone +49 (0)231 972-1495 EMEA Access & Backbone Networks fax +49 (0)231 972-1188 Team Dortmund web www.de.uu.net
participants (4)
-
David Kessens
-
Dmitry Morozovsky
-
Engin Gunduz
-
Frank Bohnsack