OpenBSD CVS

CVS log for src/usr.bin/ssh/addr.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 2 09:29:31 2024 UTC (6 weeks, 2 days ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +7 -5 lines
Diff to previous 1.7 (colored)

Use strtonum() instead of severely non-idomatic strtoul()
In particular this will now reject trailing garbage, ie. '12garbage'.
ok djm

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 27 03:31:05 2023 UTC (13 months, 3 weeks ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

fix test: getnameinfo returns a non-zero value on error,
not (neccessarily) -1. From GHPR#384

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 28 02:29:34 2022 UTC (18 months, 2 weeks ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.5: +72 -1 lines
Diff to previous 1.5 (colored)

allow ssh-keyscan(1) to accept CIDR address ranges, e.g.
ssh-keyscan 192.168.0.0/24

If a CIDR range is passed, then it will be expanded to all possible
addresses in the range including the all-0s and all-1s addresses.

bz#976 feedback/ok markus@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 29 04:55:07 2022 UTC (2 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

be stricter in which characters will be accepted in specifying a mask
length; allow only 0-9. From khaleesicodes via GHPR#278; ok dtucker@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 22 10:51:57 2021 UTC (2 years, 6 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.3: +17 -5 lines
Diff to previous 1.3 (colored)

Prevent mem leaks in the (unlikely) event that getaddrinfo returns
no addresses.  ALso, remove an unneeded NULL check in addr_ntop.
From khaleesicodes via github PR#281, ok deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 22 09:22:04 2021 UTC (2 years, 6 months ago) by dtucker
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Remove unnecessary semicolons in case statements. From khaleesicodes
via github PR#280.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 22 09:19:34 2021 UTC (2 years, 6 months ago) by dtucker
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Fix typos in comments.  From khaleesicodes via github PR#280.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 9 11:58:50 2021 UTC (3 years, 4 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9

Move address handling functions out into their own file in order to reuse
them for per-source maxstartups limiting.  Supplement with some additional
functions from djm's flowtools that we'll also need.  ok djm@ (as part of
a larger diff).

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.