1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00
Commit Graph

319 Commits

Author SHA1 Message Date
Job Snijders
a055f6f2ee Adding a free(), KNF 2021-08-17 23:51:18 +00:00
Job Snijders
c4c5866fa3 Fold freeall functions into expander.c 2021-08-17 23:03:29 +00:00
Job Snijders
6074f816e0 rename main program and add AM conditional 2021-08-17 23:00:06 +00:00
Job Snijders
cb15aea505 Release 0.0.8 0.0.8 2021-08-17 22:54:15 +00:00
Job Snijders
f1a339985a Fix SX_TEST_EBITS 2021-08-17 22:51:22 +00:00
Job Snijders
24daa48a67 Style fixes 2021-08-17 22:33:04 +00:00
Job Snijders
b21c8b30ca remove unused includes 2021-08-17 22:23:33 +00:00
Job Snijders
270e04dd23 The string returned by inet_ntoa() resides in a static memory area 2021-08-17 22:20:16 +00:00
Job Snijders
32a3520e62 Fix -Wstrict-aliasing messages
Moving from uint32 -> struct in_addr
2021-08-17 22:16:56 +00:00
Job Snijders
b816c1023b Fix more warnings 2021-08-17 20:19:17 +00:00
Job Snijders
85d833ca48 Fix style and compiler warnings 2021-08-17 19:34:30 +00:00
Job Snijders
791f3d7790 Fixing style and compiler warnings 2021-08-17 18:03:03 +00:00
Job Snijders
6a4207f940 rename headerfile 2021-08-17 17:26:10 +00:00
Job Snijders
af10798afd Move to Brent Cooks portable 2021-08-17 17:18:59 +00:00
Job Snijders
81112ec2de install libtool 2021-08-17 14:36:30 +00:00
Job Snijders
08801e2068 Change macro for manpage 2021-08-17 14:30:18 +00:00
Job Snijders
b1a9f4f089 Add 0.0.7 changelog 2021-08-17 14:27:06 +00:00
Job Snijders
408b7d8852 add _null.h to include Makefile 2021-08-17 14:25:47 +00:00
Job Snijders
3754a01a2b No need for -O0 libcompat 2021-08-17 14:22:33 +00:00
Job Snijders
8bc07f3cb0 use portability shim for string.h 2021-08-17 14:19:10 +00:00
Job Snijders
bbcd4ae18f set libcompat_la 2021-08-17 12:52:14 +00:00
Job Snijders
f1e9242814 define bgpq4_LDADD 2021-08-17 12:50:08 +00:00
Job Snijders
222b89e631 add types.h 2021-08-17 12:36:33 +00:00
Job Snijders
ea95e6d27a add types.h 2021-08-17 12:34:21 +00:00
Job Snijders
dc0e8c32f7 Use OpenBSD string.h 2021-08-17 12:33:00 +00:00
Job Snijders
21b574fc91 Current OpenBSD queue.h has STAILQ_ 2021-08-17 12:23:50 +00:00
Job Snijders
757dc33bb0 Add compat dir to AM flags 2021-08-17 12:19:29 +00:00
Job Snijders
82146e291b Add _null.h from OpenBSD 2021-08-17 12:14:07 +00:00
Job Snijders
ac93dcfeef include local headers too 2021-08-17 12:11:05 +00:00
Job Snijders
e6d488ca5b Sync with latest OpenBSD tree.h/queue.h 2021-08-17 12:11:05 +00:00
Job Snijders
dee79b0408 Sync to latest strlcpy() from OpenBSD 2021-08-17 12:11:05 +00:00
Job Snijders
6f7a8db6aa Add m4/ dir to cleanup list 2021-08-17 12:11:05 +00:00
Job Snijders
276b2cfc52 clean up maintainer files 2021-08-17 12:11:05 +00:00
Job Snijders
82b44b1304 Add license to each individual file 2021-08-17 12:11:05 +00:00
Job Snijders
4eb9566de8 Reorganize automake 2021-08-17 12:11:05 +00:00
Job Snijders
f473454ff7 Reorganize compat dir 2021-08-17 12:11:05 +00:00
Job Snijders
16fd7f7668 move .h into include dir 2021-08-17 12:11:05 +00:00
Job Snijders
a0b9343551 Move strlcpy into compat dir 2021-08-17 12:11:05 +00:00
Job Snijders
d998a73652 KNF 2021-08-17 12:11:05 +00:00
Job Snijders
0b554d4aa1 KNF 2021-08-17 10:12:40 +00:00
Job Snijders
406b984aa4 KNF 2021-08-12 08:25:36 +00:00
Stefan Marti
c2223849fc Huawei aspath bugfix (#44)
* bugfix huawei input as-path

* bgpq4_print_huawei_oaspath bug fix
2021-07-13 11:10:22 +00:00
Tony Lee
56432d3c74 Update bgpq4_printer.c (#43)
Correction Juniper route filter list ouput.
2021-07-03 18:41:45 +02:00
Robert Scheck
65f157581b Remove unused markdown check (no more bgpq4.html) (#41) 2021-04-26 23:33:25 +00:00
Robert Scheck
d103cc6e3b Bump version to 0.0.7 to match GitHub tags (#42) 2021-04-26 23:33:02 +00:00
Melchior Aelmans
d4b53ba67e Update README.md (#40)
"data data" is one time "data" too much.
0.0.7
2021-03-30 14:42:51 +00:00
Job Snijders
9498d7f368 Revert conditional clauses around XR prefix list generation
This fixes #39

Thank you Octavio & Lukas
2021-03-16 09:57:43 +00:00
Job Snijders
5f5ce4cff3 Remove select, use system default
Remove not-needed shutdown()

Thanks Theo
2020-12-29 20:03:12 +00:00
Job Snijders
f29576d973 remove readme.header 2020-12-23 15:18:46 +00:00
Brooks Swinnerton
d000627465 Arista EOS Support (#35)
Add Arista EOS support

Thanks Brooks!

This adds support for Arista EOS using a new flag: -e. EOS shares a lot of similarities with IOS,
but there is a difference in the syntax of prefix-lists that I wanted to fix.

The difference can be seen with bgpq4 -S ARIN -4 -s AS36459, which returns:

no ip prefix-list NN
ip prefix-list NN seq 1 permit 192.30.252.0/22
ip prefix-list NN seq 2 permit 192.30.252.0/23
ip prefix-list NN seq 3 permit 192.30.252.0/24
ip prefix-list NN seq 4 permit 192.30.253.0/24
ip prefix-list NN seq 5 permit 192.30.254.0/24
ip prefix-list NN seq 6 permit 192.30.255.0/24

Interestingly, this syntax works fine in EOS, but EOS isn't able to handle the same syntax for ipv6
prefix-lists. Instead, the seq and permit/deny that compose the rule needs to be inside the prefix-list
block.

Now bgpq4 -S ARIN -4 -e AS36459 generates:

no ip prefix-list NN
ip prefix-list NN
    seq 1 permit 192.30.252.0/22
    seq 2 permit 192.30.252.0/23
    seq 3 permit 192.30.252.0/24
    seq 4 permit 192.30.253.0/24
    seq 5 permit 192.30.254.0/24
    seq 6 permit 192.30.255.0/24
2020-12-23 15:07:23 +00:00