CVS: cvs.openbsd.org: src

2021-06-15 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/15 12:42:24 Modified files: sys/kern : kern_unveil.c sys/sys: proc.h Log message: Remove the uvshrink logic and keep the unveil list in the order of insertion. unveil_lookup()

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 02:14:50 Modified files: usr.sbin/bgpd : rde_update.c Log message: Before adding a prefix to the Adj-RIB-Out modify the attributes to the ones being sent out. Mainly prepend the ASPATH if needed

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 02:16:04 Modified files: usr.sbin/bgpd : rde_rib.c Log message: Better error message when a bad nexthop is passed to nexthop_hash(). OK job@

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 02:43:06 Modified files: usr.sbin/bgpd : rde.c Log message: In Rev 1.511 I moved peer related checks from inside up_generate_updates() to rde_generate_updates() but forgot to add the same checks

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 02:45:37 Modified files: usr.sbin/bgpd : rde_peer.c Log message: Add a bit of extra paranoia befor the up_generate_updates() call in rde_up_dump_upcall(). This is the 4th place up_generate_update

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 04:28:36 Modified files: usr.sbin/bgpd : rde.c Log message: Refactor common code for peer filtering out into rde_skip_peer() and use it in the two places that need to keep in sync. OK sthen@

CVS: cvs.openbsd.org: src

2021-06-17 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/17 10:05:26 Modified files: usr.sbin/bgpd : bgpd.8 bgpd.conf.5 bgpd.h parse.y rde.c rde.h rde_peer.c session.c Log message: Implement RFC 7313 enhanced route refresh. It is

CVS: cvs.openbsd.org: src

2021-06-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/20 02:05:47 Modified files: usr.sbin/bgpd : version.h Log message: Move towards a 7.1 OpenBGPD release

CVS: cvs.openbsd.org: src

2021-06-22 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/22 11:57:07 Modified files: regress/usr.sbin/bgpd/integrationtests: eval_all.test1.ok eval_all.test2.ok

CVS: cvs.openbsd.org: src

2021-06-23 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/23 08:09:01 Modified files: sys/kern : kern_unveil.c Log message: In unveil_add_vnode() refactor code around the indexes i and j. In one place the wrong index is used resulting in re-evaluating

CVS: cvs.openbsd.org: src

2021-06-24 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/24 03:26:18 Modified files: usr.sbin/bgpd : session.c Log message: Fix add-path capability encoding, the length was not correctly calculated because it included two extra bytes (copy-paste error fro

CVS: cvs.openbsd.org: src

2021-06-24 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/24 04:04:05 Modified files: usr.sbin/bgpd : rde_attr.c mrt.c Log message: aspath_deflate() did free the passed in data but since the way aspaths are processed in the Adj-RIB-Out this is no longer ne

CVS: cvs.openbsd.org: src

2021-06-24 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/24 07:03:31 Modified files: usr.sbin/bgpd : rde.c Log message: Simplify the multiprotocol handling by moving the while loops out of the switch statement. This way common code is referenced only once

CVS: cvs.openbsd.org: www

2021-06-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:www Changes by: clau...@cvs.openbsd.org 2021/06/25 03:18:45 Modified files: build : Makefile build/mirrors : openbgpd-ftp.html.head Log message: OpenBGPD 7.1 released

CVS: cvs.openbsd.org: www

2021-06-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:www Changes by: clau...@cvs.openbsd.org 2021/06/25 03:19:10 Modified files: openbgpd : ftp.html Log message: Regen after 7.1 release

CVS: cvs.openbsd.org: src

2021-06-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/25 03:23:26 Modified files: usr.sbin/bgpd : rde.c Log message: Do the multiprotocol check first for the IPv4 case. So it is the same everywhere. OK benno@

CVS: cvs.openbsd.org: src

2021-06-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/25 03:25:48 Modified files: usr.sbin/bgpd : rde.c Log message: The network flush code only operates on peerself (like all the other network commands). Instead of passing the peer as argument to the

CVS: cvs.openbsd.org: src

2021-06-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/29 01:55:29 Modified files: sys/kern : kern_unveil.c Log message: Adjust unveil_find_cover() to return -1 if the root vnode is passed in. This helps unveil_add_vnode() to properly re-evaluate u

CVS: cvs.openbsd.org: src

2021-06-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/29 10:15:37 Modified files: sys/tmpfs : tmpfs_specops.c Log message: remove unused prototype OK deraadt@

CVS: cvs.openbsd.org: src

2021-06-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/30 07:10:04 Modified files: usr.bin/rsync : blocks.c client.c downloader.c extern.h fargs.c flist.c hash.c ids.c io.c log.c main.c receiver.c sender

CVS: cvs.openbsd.org: src

2021-06-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/30 07:16:45 Removed files: usr.bin/rsync : TODO.md Log message: Remove TODO.md, this file is not up-to-date and also not really a good todo list for rsync.

CVS: cvs.openbsd.org: src

2021-06-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/06/30 09:24:10 Modified files: usr.bin/rsync : extern.h Log message: ... way too much white space!

CVS: cvs.openbsd.org: src

2021-07-08 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/08 07:33:05 Modified files: sys/kern : kern_unveil.c vfs_syscalls.c sys/sys: namei.h Log message: Remove the code to store intermediary vnodes in the unveil list. These travers

CVS: cvs.openbsd.org: src

2021-07-13 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/13 02:44:18 Modified files: usr.sbin/bgpd : bgpd.conf.5 Log message: Order the MRT table dump versions by preference also the text refers to the latter two (table-mp and table) to be only available

CVS: cvs.openbsd.org: src

2021-07-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/14 05:14:27 Modified files: usr.bin/rsync : main.c Log message: Restructure the getopt_long options. Sort them mostly by name with the exception of no-xyz options that are grouped with the corespond

CVS: cvs.openbsd.org: src

2021-07-14 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/15 00:57:02 Modified files: sys/kern : kern_unveil.c sys/sys: namei.h Log message: UNVEIL_INSPECT is no longer needed, adjust code accordingly. OK semarie@

CVS: cvs.openbsd.org: src

2021-07-16 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/16 01:59:38 Modified files: sys/kern : kern_unveil.c vfs_lookup.c vfs_syscalls.c sys/sys: proc.h Log message: Remove the unveil current directory pointer from struct process. I

CVS: cvs.openbsd.org: src

2021-07-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/20 06:07:46 Modified files: usr.sbin/bgpd : bgpd.c Log message: Add -V to usage. Reported by Pier Carlo Chiodi.

CVS: cvs.openbsd.org: src

2021-07-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/20 06:08:53 Modified files: usr.sbin/bgpctl: bgpctl.c Log message: Also add missing -V to usage

CVS: cvs.openbsd.org: src

2021-07-27 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/27 01:14:31 Modified files: usr.sbin/bgpd : bgpd.8 session.c session.h Log message: Implement RFC9072: Extended Optional Parameters Length for BGP OPEN Message This allows to send more then 255 byt

CVS: cvs.openbsd.org: src

2021-07-27 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/27 01:32:08 Modified files: usr.sbin/bgpd : bgpd.h mrt.h Log message: Add the needed MRT dump defines for RFC8050 support. This will be used to dump add-path enabled systems because the NLRI format

CVS: cvs.openbsd.org: src

2021-07-27 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/27 01:42:37 Modified files: usr.sbin/bgpctl: bgpctl.c bgpctl.h mrtparser.c mrtparser.h output.c output_json.c Log message: Implemnt the RFC8050 in the MRT parser. With this

CVS: cvs.openbsd.org: src

2021-07-27 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/27 01:50:02 Modified files: usr.sbin/bgpd : rde.c rde.h rde_rib.c Log message: Restructure struct prefix a bit and move the rib pointer to the union that splits the normal RIB linkage vs the adjrib-

CVS: cvs.openbsd.org: src

2021-07-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/07/30 03:45:52 Modified files: usr.sbin/bgpctl: output.c Log message: Fix the show rib detail output. The add_path condition was totally wrong.

CVS: cvs.openbsd.org: src

2021-08-02 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/02 10:42:13 Modified files: usr.sbin/bgpd : rtr_proto.c Log message: Shuffle conditions around to help my brain.

CVS: cvs.openbsd.org: src

2021-08-02 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/02 10:51:39 Modified files: usr.sbin/bgpctl: bgpctl.c Log message: Show if add_path was used when decoding the BGP message in MRT format. This may help to spot encoding errors a bit more easily.

CVS: cvs.openbsd.org: src

2021-08-04 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/04 10:10:03 Modified files: usr.sbin/rpki-client: http.c Log message: Improve HTTP status handling. Allow 203 as an alternative to 200 OK. Most other 2xx status codes are still not expected and there

CVS: cvs.openbsd.org: src

2021-08-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/09 02:15:35 Modified files: usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y rde.c rde.h rde_decide.c rde_peer.c rde_rib.c rde_update.c Log message: Implement reception of multip

CVS: cvs.openbsd.org: src

2021-08-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/09 02:24:36 Modified files: usr.sbin/bgpctl: bgpctl.8 bgpctl.c parser.c parser.h Log message: Make it possible to match on path-id in bgpctl show rib outputs. To work properly also a neighbor needs t

CVS: cvs.openbsd.org: src

2021-08-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/09 04:30:23 Modified files: usr.sbin/rpki-client: http.c Log message: Check for URI with userinfo parts (hostname has an @ sign) and fail for such URI. The http client in rpki-client does not support

CVS: cvs.openbsd.org: src

2021-08-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/12 09:23:17 Modified files: usr.sbin/rpki-client: rrdp_notification.c Log message: The RRDP specification is very vage what to do if a notification file has a serial lower than what the client synced

CVS: cvs.openbsd.org: src

2021-08-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/12 09:27:15 Modified files: usr.sbin/rpki-client: repo.c Log message: Rework the logic for fetching TA files a bit. Move the logic that checks if all possible sources have been used to ta_fetch() thi

CVS: cvs.openbsd.org: src

2021-08-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/29 07:43:46 Modified files: usr.bin/rsync : Makefile extern.h flist.c main.c receiver.c sender.c Added files: usr.bin/rsync : charclass.h rmatch.c rules.c Log mes

CVS: cvs.openbsd.org: src

2021-08-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/29 09:37:58 Modified files: usr.bin/rsync : rmatch.c Log message: This needs extern.h for the rmatch prototype

CVS: cvs.openbsd.org: src

2021-08-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/30 02:06:02 Modified files: regress/sys/kern/unveil: syscalls.c Log message: Make lines not wrap on 80 char terminals. Code gets more readable.

CVS: cvs.openbsd.org: src

2021-08-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/30 02:07:22 Modified files: regress/sys/kern/unveil: syscalls.c Log message: Check that fchdir() works. The problem in unveil was fixed some time ago.

CVS: cvs.openbsd.org: src

2021-08-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/30 03:05:44 Modified files: sys/kern : kern_unveil.c Log message: Make sure unveil remains locked over fork even in the case where the parent just called unveil(NULL, NULL) and nothing else. Wi

CVS: cvs.openbsd.org: src

2021-08-30 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/30 03:09:21 Modified files: regress/sys/kern/unveil: syscalls.c Log message: Test for the pathetic case that the 2nd unveil in unveil(NULL, NULL); if (fork() == 0) unveil("/", "rwx") fails with EPERM

CVS: cvs.openbsd.org: src

2021-08-31 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/31 03:51:25 Modified files: usr.bin/ftp: fetch.c Log message: Spacing. OK tb@

CVS: cvs.openbsd.org: src

2021-08-31 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/31 04:54:41 Modified files: regress/usr.sbin/bgpd/unittests: rde_decide_test.c Log message: Adjust rde_decide test vectors to the fact that struct prefix got changed. Reminded by bluhm@ that bgpd reg

CVS: cvs.openbsd.org: src

2021-08-31 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/31 09:18:53 Modified files: usr.sbin/rpki-client: rrdp.c Log message: memset the pfds array in the poll loop and not only at the start.

CVS: cvs.openbsd.org: src

2021-08-31 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/08/31 09:31:28 Modified files: sys/kern : vfs_subr.c Log message: Swap lock flags so that LK_EXCLUSIVE is first like in all other places.

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 02:09:41 Modified files: usr.sbin/rpki-client: encoding.c extern.h http.c Log message: Add http_proxy support to rpki-client's http handler. OK tb@

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 02:17:38 Modified files: usr.sbin/rpki-client: rpki-client.8 Log message: Document the http_proxy environment variable

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 03:39:14 Modified files: usr.sbin/rpki-client: http.c Log message: Fix bad logic I introduced before commit. Found by job@

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 03:48:09 Modified files: usr.bin/rsync : extern.h main.c rules.c Log message: Remove from0 support. openrsync will not implement all bad ideas that were added to rsync. from0 is one of those and

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 06:26:26 Modified files: usr.sbin/rpki-client: rsync.c Log message: RPKI only cares about *.{cer,crl,gbr,mft,roa} files. Use rsync --include and --exclude to only fetch those files from the CA rep

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 06:39:52 Modified files: usr.sbin/bgpd : bgpd.conf.5 bgpd.h parse.y printconf.c rtr.c Log message: Implement roa-set data expiry. Every prefix in a roa-set can specify an optional expires timesta

CVS: cvs.openbsd.org: src

2021-09-01 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/01 09:59:22 Modified files: lib/libc/net : inet_net_ntop.3 inet_ntop.3 Log message: inet_ntop(3) needs sys/socket.h for AF_INET / AF_INET6 so add the header to the list. While here remove some of t

CVS: cvs.openbsd.org: src

2021-09-02 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/02 06:35:23 Modified files: sys/kern : kern_unveil.c sys/sys: namei.h Log message: Refactor how unveil generates EACCES errors. Instead of tracking the possible violation durin

CVS: cvs.openbsd.org: src

2021-09-03 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/03 01:48:24 Modified files: usr.sbin/bgpd : mrt.c session.c session.h Log message: Add add-path support in MRT dumps (RFC8050). This works for table-v2 formats and also for the all and update dumps

CVS: cvs.openbsd.org: src

2021-09-03 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/03 01:58:07 Modified files: usr.sbin/bgpd : bgpd.8 Log message: Mention RFC8050 in bgpd.8

CVS: cvs.openbsd.org: src

2021-09-08 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/08 10:37:20 Modified files: usr.sbin/rpki-client: mft.c roa.c Log message: The number of elements being processed is known upfront. So allocate the storage needed outside of the loop. This reduces th

CVS: cvs.openbsd.org: src

2021-09-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/09 07:02:36 Modified files: sys/kern : kern_unveil.c Log message: No need to initialize nuv, it is assigned to before use.

CVS: cvs.openbsd.org: src

2021-09-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/09/09 08:15:49 Modified files: usr.sbin/rpki-client: cert.c cms.c extern.h gbr.c mft.c roa.c Log message: Rework how various OIDs are compared in the code. Instead of converting the ASN1_OBJECT into a

CVS: cvs.openbsd.org: src

2024-08-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/20 05:59:39 Modified files: usr.sbin/bgpd : control.c rde.c rtr_proto.c session.c session.h Log message: Use msgbuf_queuelen() instead of accessing wbuf.queue for msgbuf structs. Also export the ms

CVS: cvs.openbsd.org: src

2024-08-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/20 06:00:20 Modified files: usr.sbin/bgpctl: output.c Log message: Use stats.msg_queue_len instead of looking into the msgbuf struct. OK tb@

CVS: cvs.openbsd.org: src

2024-08-20 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/20 07:31:49 Modified files: usr.sbin/rpki-client: filemode.c http.c main.c parser.c rrdp.c rsync.c Log message: Use msgbuf_queuelen() instead of accessing the queued me

CVS: cvs.openbsd.org: src

2024-08-21 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/21 07:29:09 Modified files: usr.bin/gprof : gprof.callg Log message: Reformat gprof.callg to be more compact so that it annoys a bit less when looking at gprof output. OK deraadt@

CVS: cvs.openbsd.org: src

2024-08-26 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/26 07:57:34 Modified files: lib/libutil: imsg-buffer.c Log message: Replace recallocarray() with a realloc() + memset() combo. recallocarray(), with its guarantee that memory becoming unallocate

CVS: cvs.openbsd.org: src

2024-08-28 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/28 07:14:39 Modified files: regress/usr.sbin/bgpd/integrationtests: bgpd.maxprefix.rdomain2.conf bgpd.m

CVS: cvs.openbsd.org: src

2024-08-28 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/28 07:18:11 Modified files: usr.sbin/bgpd : rde.c Log message: Check the max_prefix and max_out_prefix limit during config reload. This is cheap and will trigger immediatly instead of waiting until

CVS: cvs.openbsd.org: src

2024-08-28 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/28 07:21:39 Modified files: usr.sbin/bgpd : rde.c rde.h rde_peer.c Log message: Introduce peer_is_up() and use it instead of peer->state == PEER_UP checks also enqueue update and rrfresh imsgs only

CVS: cvs.openbsd.org: src

2024-08-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/29 06:58:57 Modified files: etc/examples : bgpd.conf Log message: draft-ietf-v6ops-rfc3849-update turned into RFC9637, adjust comment

CVS: cvs.openbsd.org: src

2024-08-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/29 09:16:43 Modified files: regress/lib/libpthread/siginfo: siginfo.c Log message: Use signal handler safe dprintf() instead of asprintf + write OK millert@

CVS: cvs.openbsd.org: src

2024-08-29 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/08/29 09:18:17 Modified files: regress/lib/libpthread/include: test.h Log message: Convert prototypes to new style. OK millert@

CVS: cvs.openbsd.org: src

2024-09-03 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/03 07:31:31 Modified files: usr.sbin/rpki-client: repo.c Log message: In rrdp_session_parse() set the last_reset time to now if the .state file does not exist. OK tb@

CVS: cvs.openbsd.org: src

2024-09-04 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/04 07:30:10 Modified files: usr.sbin/bgpd : bgpd.c config.c session.h Log message: Call pfkey_remove() only after the Session Engine finished reloading its configuration. Doing so before could resul

CVS: cvs.openbsd.org: src

2024-09-04 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/04 09:06:36 Modified files: usr.sbin/bgpd : bgpd.c bgpd.h kroute.c Log message: Qualifying nexthops via BGP does not properly work since nexthops need to be rechecked when a BGP route is added (or c

Re: CVS: cvs.openbsd.org: src

2024-09-05 Thread Claudio Jeker
On Thu, Sep 05, 2024 at 09:00:09AM +0200, Anton Lindqvist wrote: > On Wed, Sep 04, 2024 at 11:00:08AM -0600, Bob Beck wrote: > > CVSROOT:/cvs > > Module name:src > > Changes by: b...@cvs.openbsd.org2024/09/04 11:00:08 > > > > Modified files: > > sys/ufs/ufs: ufs_ihash.c >

CVS: cvs.openbsd.org: src

2024-09-05 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/05 14:28:42 Modified files: usr.sbin/bgpd : version.h Log message: Bump version

CVS: cvs.openbsd.org: src

2024-09-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/09 06:59:49 Modified files: usr.sbin/bgpd : rde.c session.c Log message: Use msgbuf_init() instead of hand initalizing the msgbuf. OK tb@

CVS: cvs.openbsd.org: src

2024-09-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/09 08:58:47 Modified files: usr.sbin/bgpd : rde.c Log message: There is no need for an explicit size check for IMSG_RECONF_ASPA_TAS imsg_get_data() does the same and produces the same error. OK tb@

CVS: cvs.openbsd.org: src

2024-09-09 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/09 09:00:45 Modified files: usr.sbin/bgpd : rde.c Log message: Handle the CLUSTER_LIST attribute as described in RFC7606 Just drop the attribute if received from an external peer. Treat as withdraw

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:27:00 Modified files: regress/usr.sbin/bgpd/integrationtests: exabgp.attr.in exabgp.attr.ok Log message: Include CLUSTER_LIST in the bad attribu

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:37:52 Modified files: usr.sbin/bgpd : rtr.c Log message: Use reallocarray() instead of recallocarray(), this code does not need the extra security measures of recallocarray() which adds a lot

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:41:13 Modified files: usr.sbin/bgpd : rtr_proto.c Log message: Enfroce proper encoding of ASPA announce/withdraw PDU. An announce PDU requires at least one provider ASnum while a withdraw mus

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:47:51 Modified files: usr.sbin/bgpd : rde_prefix.c Log message: AID_VPN_IPv4 and AID_VPN_IPv6 require a labellen that is non-zero. OK tb@

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:53:20 Modified files: usr.sbin/bgpd : rde_community.c Log message: community_copy needs to check if nentries is 0 and handle that specially. Calling malloc / reallocarray with a 0 size is not

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 03:38:45 Modified files: usr.sbin/bgpd : rde.c rde_attr.c rde_sets.c Log message: Be more careful with aspath that have 0 length (aka the empty AS_PATH). Again malloc(0) is not portable and call

Re: CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
On Tue, Sep 10, 2024 at 03:38:45AM -0600, Claudio Jeker wrote: > CVSROOT: /cvs > Module name: src > Changes by: clau...@cvs.openbsd.org 2024/09/10 03:38:45 > > Modified files: > usr.sbin/bgpd : rde.c rde_attr.c rde_sets.c > > Log message: > Be more care

CVS: cvs.openbsd.org: src

2024-09-10 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/10 06:14:26 Modified files: sys/ufs/ufs: ufs_ihash.c Log message: ufs_ihashget() is also used by the ext2fs code but the DIP() makro does not handle that. So for now add an ugly hack here to supp

CVS: cvs.openbsd.org: src

2024-09-11 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/11 02:29:55 Modified files: sys/ufs/ufs: ufs_ihash.c Log message: While I can understand that ext2fs is using ufs_ihashget() I'm still flabbergasted by the abuse from fuse. For whatever dumb rea

CVS: cvs.openbsd.org: src

2024-09-11 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/11 06:22:34 Modified files: sys/nfs: nfs_serv.c nfs_socket.c nfs_vnops.c nfsm_subs.h Log message: After calling m_freem() on nmi_mrep (or nmi_mreq) set the pointer to NULL. Only do this if s

CVS: cvs.openbsd.org: src

2024-09-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/12 03:04:51 Modified files: sys/isofs/cd9660: cd9660_vnops.c sys/isofs/udf : udf_vnops.c sys/nfs: nfs_vnops.c sys/ntfs : ntfs_vnops.c sys/tmpfs :

CVS: cvs.openbsd.org: src

2024-09-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/12 03:07:28 Modified files: sys/msdosfs: msdosfs_conv.c Log message: msdos already transfroms for Windows long names a '/' char into '?'. Do the same for the 8.3 case as well. This is not ideal

CVS: cvs.openbsd.org: src

2024-09-12 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/09/12 03:10:46 Modified files: sys/miscfs/fuse: fuse_vnops.c Log message: Do a basic sanity check that dirents returned via fuse are kind of sane. Ensure that file names passed back by readdir do not i

CVS: cvs.openbsd.org: src

2018-12-22 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/12/22 09:12:40 Modified files: usr.sbin/bgpd : bgpd.h control.c rde.c session.h Log message: bgpctl can cause bgpd to do a lot of work (e.g. dumping all of the RIB) but then bgpctl can quickly exit and

CVS: cvs.openbsd.org: src

2018-12-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/12/25 02:20:49 Modified files: lib/libcompiler_rt: Makefile Log message: Use the same additional arch specific files for sparc64 as is done for mips or aarch64. Needed to build userland with clang. OK v

CVS: cvs.openbsd.org: src

2018-12-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/12/25 02:25:04 Modified files: gnu/usr.bin/binutils-2.17/gas/config: tc-sparc.c Log message: Remove unused static function since clang errors out because of this. OK visa@, mpi@, guenther@

<    1   2   3   4   5   6   7   8   9   10   >