OpenBSD CVS

CVS log for src/usr.bin/bgplg/bgplg.c


[BACK] Up to [local] / src / usr.bin / bgplg

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 9 12:56:53 2024 UTC (3 months, 1 week ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.19: +7 -9 lines
Diff to previous 1.19 (colored)

Convert the bgplg html pages to HTML5.

From Clemens Gößnitzer (clemens (at) goessnitzer.info)
Looks good to bentley@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 5 10:53:37 2018 UTC (6 years, 2 months ago) by denis
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Fix failure when AS number is < 10
Thanks to Pierre Emeriaud for reporting & testing.

OK benno@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 18 09:12:49 2017 UTC (6 years, 5 months ago) by job
Branch: MAIN
Changes since 1.17: +4 -8 lines
Diff to previous 1.17 (colored)

Reclaim browser screen real estate in bgplg

Removing versioning information too.

OK deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 17 18:41:17 2017 UTC (6 years, 5 months ago) by job
Branch: MAIN
Changes since 1.16: +9 -7 lines
Diff to previous 1.16 (colored)

Add community/large-community commands and retain parameter input in form

OK deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 5 21:57:58 2016 UTC (8 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Use SERVER_NAME for bgplg's hostname (displayed on the page), this is passed
from the webserver so is more likely to be the correct name to expose, and is
easier to adjust if needed.  OK claudio@ florian@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 9 17:52:24 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

Remove NULL-checks before free(). ok tb@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 18 22:37:30 2015 UTC (8 years, 7 months ago) by benno
Branch: MAIN
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 (colored)

pledge bgplg(8).
ok deraadt

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:06 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 25 18:02:50 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)

variety of unsigned char casts (or conversions) for ctype
ok krw

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 2 14:11:38 2013 UTC (10 years, 11 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

move bgplg and slowcgi sockets to /var/www/run
input reyk@, guenther@
"move fast" deraadt@
OK naddy@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 1 18:47:55 2013 UTC (10 years, 11 months ago) by reyk
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update my email address to reyk@openbsd.org, especially for the HTML output.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 2 21:20:49 2010 UTC (14 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Support ping6 and traceroute6 in bgplg and bgplgsh.
From Rod Whitworth, ok deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 9 02:37:32 2010 UTC (14 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Plug fd leak in lg_incl(). Fix by Igor Zinovik, OK beck@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 10 13:23:40 2007 UTC (16 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

Limit the allowed characters in a request to [a-zA-Z0-9-_.:/= ] everything
else will cause an "invalid character in input" error.
Fixes xss issue noticed by Anton Karpov.
OK henning@, sthen@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 13 23:32:39 2007 UTC (16 years, 8 months ago) by cloder
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Fix missing free statement due to extraneous semicolon spotted by a
modified lint.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 13 15:31:02 2007 UTC (17 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

spaces

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 12 14:18:05 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.3: +8 -6 lines
Diff to previous 1.3 (colored)

print the hostname in the HTML title.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 12 11:43:50 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

spacing

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 12 11:37:55 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.1: +9 -3 lines
Diff to previous 1.1 (colored)

Valid XHTML 1.1! (according to http://validator.w3.org/)

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 11 23:10:10 2006 UTC (17 years, 5 months ago) by reyk
Branch: MAIN

import a looking glass for bgpd(8) (CGI web interface), see the
bgplg(8) and bgplgsh(8) manpages for installation and usage
instructions.

this has been tested by various users and on openbgp route servers in
the DE-CIX.

ok deraadt@ henning@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.