Hello all - I wonder: Is there a "nice" syntax to have sets (lists of ASs) inside of bgpmasks? I.e., [= 123 [234, 345] * =] does not work (syntax error). Any other ideas? Thanks, Clemens
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 31/07/2019 22:34, Clemens Schrimpe wrote:
Hello all -
I wonder: Is there a "nice" syntax to have sets (lists of ASs) inside of bgpmasks?
I.e.,
[= 123 [234, 345] * =]
does not work (syntax error). Any other ideas?
I have also run into this use case, but haven't found a solution. Based on my analysis of the documentation (not the source code), I don't think it is possible (would love to be proven wrong). - -- Wilco -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE+6XADrpvnrIs7+xE02AnzaTWlL0FAl1JSMgACgkQ02AnzaTW lL2/+hAAqGKfGeUwizvFC8RWbE1uHFRY+jzD1sfVON1TDBAhfH4DYvSpUWeII+mc tK9zL3l5WZgH6ySSzhzwwFqDXw4kW3OedUY0l0/bYVBoj6UrrOQO0QG/alTG5fAX Hfx9nY/yaZ4nd5dB/5HSNXE7vY6jZB05hPTZJeFo0r1MWVcktWac+IfGizAUvv24 PHRoQ2EAZFjUsHd1iay+r0WmggNnHSAhtjwPXLw9hUtr0IelP9QvJSoq9LxlbAO7 pldHyTYtiXaI81UewIFAYTcxm5AcpfJhnga3OXdExzjlYSoDCD0fGr/gax3Kjg9j HqSquab/yJxU/7DC0fdtzqnkuw0xyU7Hkc9N6pRasfD3FyENNoFL4B1rwe3H1Vdq 3F/VRIQwr6FxSS99lhYTqNv6je3pjd1+Itny+UdW5MmLtqgqEp3X0Ridz1dsGEIG DeLNuifFr1M32S07j19PPPltE/7JT9Qex5j6EQw6sUC6Td/hP7qROtHEnopKhl2Y WCKzARuGpNEAEunfToZzDineO5cXjfUDZALqh63rhdrXnY2TYhPhVOrGa5K/1U7q 6p61crYlz8QVWNrayTN6fTlPyVUfEGCRC1+ausNzcLM305TAth3LcRc4RqlY6hUH g0DObEwjWXngOlfQ1g+rkT0vh8DEwKjAoeTbkydt5DEXL06nUeo= =FW/B -----END PGP SIGNATURE-----
On 31/07/2019 22:34, Clemens Schrimpe wrote:
Hello all -
I wonder: Is there a "nice" syntax to have sets (lists of ASs) inside of bgpmasks?
I.e.,
[= 123 [234, 345] * =]
does not work (syntax error). Any other ideas?
I have also run into this use case, but haven't found a solution. Based on my analysis of the documentation (not the source code), I don't think it is possible (would love to be proven wrong).
Hello! As far as I have rewritten the filter code, there is no such possibility for now. It anyway seems reasonable to be implemented. (Not promising anything.) Maria
On Wed, Jul 31, 2019 at 10:34:48PM +0200, Clemens Schrimpe wrote:
Hello all -
I wonder: Is there a "nice" syntax to have sets (lists of ASs) inside of bgpmasks?
I.e.,
[= 123 [234, 345] * =]
does not work (syntax error). Any other ideas?
Hello I just added support for integer sets in bgpmasks (see attached patch). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Tue, Aug 06, 2019 at 05:35:45PM +0200, Clemens Schrimpe wrote:
On 6. Aug 2019, at 17:04, Ondrej Zajicek <santiago@crfreenet.org> wrote:
I just added support for integer sets in bgpmasks (see attached patch).
Using this syntax:
[= 123 [234, 345] * =]
?
Yes, like regular integer sets. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (4)
-
Clemens Schrimpe -
Maria Jan Matejka -
Ondrej Zajicek -
Wilco Baan Hofman