CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:21:48 Modified files: usr.sbin/ldpd : address.c kroute.c l2vpn.c lde.h ldp.h ldpd.h ldpe.c ldpe.h Log message: Send VPLS MAC withdrawals. RFC 4762 says that MAC addr

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:18:43 Modified files: usr.sbin/ldpd : address.c Log message: Fix parsing of optional tlvs in address messages. We were aborting the session upon receipt of MAC Address Withdrawal messages. No

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:15:35 Modified files: usr.sbin/ldpd : init.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpd.8 ldpe.h logmsg.c neighbor.c notification.c Log

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:12:26 Modified files: usr.sbin/ldpd : l2vpn.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpd.8 ldpd.h logmsg.c Log message: Implement RFC 6667 (Typed Wildcard FEC fo

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:09:17 Modified files: usr.sbin/ldpd : init.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpd.8 ldpd.h ldpe.h logmsg.c Log message: Implement RFC 5918 (Typed Wildcard

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:06:10 Modified files: usr.sbin/ldpd : init.c labelmapping.c ldp.h ldpd.8 ldpd.h ldpe.h logmsg.c notification.c packet.c Log message: Implement RFC 5561 (LDP Capabilit

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 17:03:04 Modified files: usr.sbin/ldpd : l2vpn.c lde.c lde.h lde_lib.c logmsg.c Log message: Implement support for PWid group wildcards. This was missing from our original RFC 4447 VPLS implemen

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:59:58 Modified files: usr.sbin/ldpd : lde_lib.c Log message: Fix processing of Label Withdraw messages. Whenever we receive a Label Withdraw message with an optional Label TLV, we should chec

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:56:54 Modified files: usr.sbin/ldpd : ldp.h Log message: The PW Status is an unknown TLV. Without this fix, any LDP speaker that doesn't implement RFC 4447 will shut down the session upon rec

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:53:50 Modified files: usr.sbin/ldpd : address.c Log message: Send correct status code on error condition. The Unknown TLV status code is reserved for cases where we don't know how to process

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:50:45 Modified files: usr.sbin/ldpd : address.c labelmapping.c notification.c Log message: Create helper functions to log sent/received messages.

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:47:41 Modified files: usr.sbin/ldpd : notification.c Log message: Provide more detailed output when logging notification messages.

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:44:35 Modified files: usr.sbin/ldpd : address.c init.c labelmapping.c ldpe.h notification.c packet.c Log message: Kill send_notification_nbr(). Be more clever and tr

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:41:27 Modified files: usr.sbin/ldpd : interface.c kroute.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpe.c parse.y Log message: Minor tweaks.

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:36:06 Modified files: usr.sbin/ldpd : interface.c kroute.c ldpd.c ldpd.conf.5 ldpd.h parse.y printconf.c Log message: Allow to run on a non-default rdomain. OK claud

CVS: cvs.openbsd.org: src

2017-03-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/03 16:30:57 Modified files: usr.sbin/ldpd : control.c control.h ldpd.8 ldpd.c ldpd.h ldpe.c ldpe.h Log message: Allow to specify an alternate control socket. This is requi

CVS: cvs.openbsd.org: src

2017-03-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/02 12:54:22 Modified files: usr.sbin/bgpd : pfkey.c Log message: Fix breakage of md5 authentication. The previous commit (rev 1.47) added a missing htonl in pfkey_send() but didn't add a correspond

CVS: cvs.openbsd.org: src

2017-03-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/03/01 20:09:50 Modified files: sys/net: if_mpw.c route.c sys/netmpls: mpls_input.c Log message: Allow MPLS switching and VPLS across rdomains. OK claudio@ mpi@

CVS: cvs.openbsd.org: src

2017-02-22 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/02/22 07:24:50 Modified files: usr.sbin/eigrpd: eigrpd.h eigrpe.h interface.c kroute.c parse.y Log message: No need to use SIOCGIFRDOMAIN anymore.

CVS: cvs.openbsd.org: src

2017-02-22 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/02/22 07:18:25 Modified files: usr.sbin/eigrpctl: eigrpctl.c eigrpctl.8 Log message: Allow specifying an alternate socket path.

CVS: cvs.openbsd.org: src

2017-02-22 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/02/22 06:55:14 Modified files: usr.sbin/bgpd : parse.y pfkey.c Log message: Add missing htonl for IPsec SPI. Also, do not allow to configure SPI values in the 0..255 range. RFC 4302 and RFC 4303 say t

CVS: cvs.openbsd.org: src

2017-02-22 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/02/22 06:46:53 Modified files: sys/netinet6 : in6.h Log message: Fix comments about a few ipv6 sockoptions OK millert@ florian@

CVS: cvs.openbsd.org: src

2017-02-22 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2017/02/22 06:43:36 Modified files: sbin/ping : ping.c Log message: Unbreak "ping6 -L" $ ping6 -L ff02::1%em1 ping6: setsockopt IP6_MULTICAST_LOOP: Invalid argument Unfortunately we have this inconsis

Re: CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
this was OKed by claudio@ 2016-09-03 17:07 GMT+01:00 Renato Westphal : > CVSROOT:/cvs > Module name:src > Changes by: ren...@cvs.openbsd.org 2016/09/03 10:07:08 > > Modified files: > usr.sbin/ldpd : address.c interface.c ldp.h ldpe.h neighbor.c > &g

CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/03 10:22:17 Modified files: usr.sbin/bgpd : bgpd.c rde.c session.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the

CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/03 10:07:08 Modified files: usr.sbin/ldpd : address.c interface.c ldp.h ldpe.h neighbor.c Log message: Rework the sending of address messages. * Respect the session's negotiated maximum pdu length

CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/03 04:28:08 Modified files: usr.sbin/ripd : rde.c ripd.c ripe.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC

CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/03 04:25:36 Modified files: usr.sbin/ospf6d: ospf6d.c ospfe.c rde.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the

CVS: cvs.openbsd.org: src

2016-09-03 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/03 04:22:57 Modified files: usr.sbin/ospfd : ospfd.c ospfe.c rde.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the I

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 11:16:24 Modified files: usr.sbin/ldpd : labelmapping.c Log message: Fix small memleak on error path.

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 11:10:34 Modified files: usr.sbin/ldpd : lde.c lde.h ldpe.c ldpe.h Log message: lde() and ldpe() should return void. Remove these leftovers from the pre-fork+exec era. Spotted by and ok rzalame

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 11:08:02 Modified files: usr.sbin/ldpd : labelmapping.c log.c log.h notification.c Log message: Improve logging of sent and received messages. * Standardize the logging format of sent and receiv

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 11:05:23 Modified files: usr.sbin/ldpd : lde.c Log message: Reevaluate received mappings upon receipt of address message. If a neighbor was a nexthop for a given set of prefixes but it's not any

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 11:03:24 Modified files: usr.sbin/ldpd : lde.c ldpd.c ldpe.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:46:29 Modified files: usr.sbin/eigrpd: eigrpd.h eigrpe.c eigrpe.h log.c query.c rde.c rde.h reply.c tlv.c update.c Log message: Minor tweaks

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:44:33 Modified files: usr.sbin/eigrpd: control.c control.h eigrpd.c eigrpd.h eigrpe.c eigrpe.h interface.c kroute.c log.h neighbor.c packet.c p

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:39:44 Modified files: usr.sbin/eigrpd: eigrpe.c interface.c neighbor.c parse.y rde.c Log message: Use static local variables instead of global variables whenever possible. Also, there's no nee

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:36:33 Modified files: usr.sbin/eigrpd: eigrpd.h eigrpe.c eigrpe.h packet.c util.c Log message: Merge the recv_packet_v[46] functions into one. This reduces some code duplication and makes it e

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:34:20 Modified files: usr.sbin/eigrpd: eigrp.h eigrpd.h eigrpe.c interface.c packet.c Log message: Simplify handling of multicast addresses. During the initialization of the eigrpe process, us

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:32:19 Modified files: usr.sbin/eigrpd: eigrpe.c Log message: Pledge earlier on eigrpe. This is for consistency with the other routing daemons. ok claudio@ "earlier is better" benno@

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:23:50 Modified files: usr.sbin/eigrpd: eigrpd.c eigrpe.c rde.c Log message: Fix broken pipe teardown. * Add missing close() calls to actually close the pipes, calling just msgbuf_clean() is no

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 10:29:55 Modified files: usr.sbin/eigrpd: control.c control.h eigrp.h eigrpd.c eigrpd.h eigrpe.c eigrpe.h hello.c interface.c kroute.c log.c neigh

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 09:38:08 Modified files: usr.sbin/dvmrpd: dvmrpd.c dvmrpe.c rde.c Log message: Simplify shutdown process. On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 09:35:34 Modified files: usr.sbin/dvmrpd: dvmrpd.c dvmrpe.c rde.c Log message: Close connections when msgbuf_write() returns 0. Pulled from ospfd. Original author: claudio@ ok rzalamena@ benno@

CVS: cvs.openbsd.org: src

2016-09-02 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/09/02 09:33:27 Modified files: usr.sbin/dvmrpd: dvmrpd.c dvmrpe.c rde.c Log message: Don't fatal if the imsg pipe is closed, this is often triggered in the parent and hides the real cause of the termina

CVS: cvs.openbsd.org: src

2016-08-24 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/24 10:14:24 Modified files: share/man/man9 : style.9 Log message: Since the removal of rwhod and friends a couple of years ago, there isn't any file in the base system including . So, stop suggesting

CVS: cvs.openbsd.org: src

2016-08-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/08 15:44:00 Modified files: usr.sbin/bgpd : log.c rde.c session.c Log message: Use exit(3) instead of _exit(2) in the child processes. Since recently the child processes call exec() after fork(), s

CVS: cvs.openbsd.org: src

2016-08-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/08 15:42:14 Modified files: usr.sbin/ldpd : lde.c ldpe.c log.c Log message: Use exit(3) instead of _exit(2) in the child processes. Since recently the child processes call exec() after fork(), so t

CVS: cvs.openbsd.org: src

2016-08-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/08 15:38:42 Modified files: usr.sbin/eigrpd: eigrpd.c eigrpd.h Log message: Simplify shutdown process On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC so

CVS: cvs.openbsd.org: src

2016-08-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/08 10:48:53 Modified files: usr.sbin/eigrpd: eigrpe.c log.c rde.c Log message: rde and eigrpe should use exit(3) instead of _exit(2) Since recently these processes call exec() after fork(), so they

CVS: cvs.openbsd.org: src

2016-08-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/08/08 10:45:51 Modified files: usr.sbin/ldpd : labelmapping.c lde.c log.c Log message: Normalize the received prefixes. We need to use ldp_applymask() to normalize the received prefixes. Example: 10.1

CVS: cvs.openbsd.org: src

2016-07-16 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/16 13:24:30 Modified files: usr.sbin/ldpd : address.c ldpe.h packet.c Log message: Remove potential overflow when validating message's length. Also, use uint16_t for msg_type on gen_msg_hdr().

CVS: cvs.openbsd.org: src

2016-07-16 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/16 13:20:16 Modified files: usr.sbin/ldpd : hello.c init.c labelmapping.c notification.c Log message: Fix parsing of mal-formed optional TLVs/Sub-TLVs. We must detect if a TLV's length extends beyo

CVS: cvs.openbsd.org: src

2016-07-15 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/15 11:09:25 Modified files: usr.sbin/ldpctl: ldpctl.c usr.sbin/ldpd : ldp.h log.c log.h labelmapping.c Log message: Improve logging of reserved labels. Print "exp-null" and "imp-null" inst

CVS: cvs.openbsd.org: src

2016-07-15 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/15 11:05:50 Modified files: usr.sbin/ldpd : labelmapping.c Log message: Explicitly ignore the Hop Count and Path Vector TLVs. Since these are "well known" TLVs, we have to explicitly ignore them ot

CVS: cvs.openbsd.org: src

2016-07-15 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/15 11:03:11 Modified files: usr.sbin/ldpd : ldpd.c Log message: Update per-neighbor GTSM options on config reload.

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:36:38 Modified files: usr.sbin/ldpd : address.c hello.c init.c keepalive.c l2vpn.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpd.h log.c log

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:33:46 Modified files: usr.sbin/ldpd : l2vpn.c labelmapping.c lde.c lde.h ldpd.h ldpe.h notification.c Log message: Be more compliant with RFC 4447. When sending a la

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:29:55 Modified files: usr.sbin/ldpd : address.c hello.c init.c interface.c labelmapping.c lde_lib.c ldpd.c ldpd.conf.5 ldpe.h neighbor.c notif

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:22:42 Modified files: usr.sbin/ldpd : ldp.h neighbor.c Log message: Decrease the initialization FSM timeout. The previous value of 180 was just too long. If a neighbor get stuck in the initia

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:18:24 Modified files: usr.sbin/ldpd : hello.c ldp.h Log message: Rename hello flags to keep consistent with the rest of the code. Flag constants should start with F_.

CVS: cvs.openbsd.org: src

2016-07-01 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/07/01 17:14:31 Modified files: usr.sbin/ldpd : hello.c ldp.h ldpd.8 ldpd.c ldpd.conf.5 ldpd.h ldpe.h neighbor.c packet.c parse.y printconf.c socket.c

CVS: cvs.openbsd.org: src

2016-06-27 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/27 13:18:54 Modified files: usr.sbin/ldpd : hello.c Log message: Fix inverted logic in recv_hello(). Bug introduced by rev1.48 two weeks ago. We were not respecting the advertised transport connect

CVS: cvs.openbsd.org: src

2016-06-27 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/27 13:08:39 Modified files: usr.sbin/ldpd : l2vpn.c Log message: Remove superfluous call to l2vpn_pw_exit().

CVS: cvs.openbsd.org: src

2016-06-27 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/27 13:06:33 Modified files: usr.sbin/ldpd : address.c hello.c init.c labelmapping.c ldpe.h notification.c Log message: Handle ibuf_add() errors. tweaks from claudio@

CVS: cvs.openbsd.org: src

2016-06-18 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/18 11:31:32 Modified files: usr.sbin/ldpd : adjacency.c hello.c interface.c ldpe.c ldpe.h packet.c Log message: Fix removal of dual-stack neighbors.

CVS: cvs.openbsd.org: src

2016-06-18 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/18 11:13:05 Modified files: usr.sbin/ldpd : l2vpn.c lde.h ldpd.c Log message: Fix memory leak found with valgrind.

CVS: cvs.openbsd.org: src

2016-06-18 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/18 11:11:37 Modified files: usr.sbin/ldpd : adjacency.c Log message: Fix use after free bug.

CVS: cvs.openbsd.org: src

2016-06-17 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/17 19:33:02 Modified files: usr.sbin/ldpd : parse.y Log message: Do not allow configuring the same interface for both LDP and VPLS. Configuring an interface for both LDP signaling and as a member o

CVS: cvs.openbsd.org: src

2016-06-17 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/17 19:30:28 Modified files: usr.sbin/ldpd : ldpd.c Log message: Use log_warnx() instead of log_warn() when appropriate.

CVS: cvs.openbsd.org: src

2016-06-17 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/17 19:29:05 Modified files: usr.sbin/ldpd : lde_lib.c labelmapping.c Log message: Remove TODO comments about loop detection. LDP loop detection is only necessary for ATM LSRs running in cell mode.

CVS: cvs.openbsd.org: src

2016-06-17 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/17 19:25:53 Modified files: usr.sbin/ldpd : kroute.c l2vpn.c lde.c lde.h lde_lib.c Log message: Fix small LIB<->LFIB synchronization issue. ldpd operates only with the best routes of each IP prefix

CVS: cvs.openbsd.org: src

2016-06-13 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/13 17:01:37 Modified files: usr.sbin/ldpd : hello.c ldpd.h ldpe.c ldpe.h neighbor.c Log message: Implement support for the Configuration Sequence Number TLV. The Configuration Sequence Number optio

CVS: cvs.openbsd.org: src

2016-06-13 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/13 14:19:40 Modified files: usr.sbin/ldpd : ldpe.h neighbor.c packet.c Log message: Implement a timeout for the session initialization FSM. This prevents neighbors stuck in the initialization FSM t

CVS: cvs.openbsd.org: src

2016-06-13 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/13 14:15:58 Modified files: usr.sbin/ldpd : ldpd.c ldpe.c Log message: Do not create sockets for disabled address-families.

CVS: cvs.openbsd.org: src

2016-06-13 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/13 14:13:34 Modified files: usr.sbin/ldpd : adjacency.c hello.c packet.c Log message: Rework the handling of Hello packets. With the introduction of IPv6 support by RFC 7552, the handling of Hello

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 20:06:46 Modified files: usr.sbin/ldpd : hello.c Log message: Parse the whole Hello packet before processing it. In the case of an error, we want to return as soon as possible to avoid having to

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 20:03:36 Modified files: usr.sbin/ldpd : lde_lib.c Log message: Add missing ntohl() when recording a label request. Fixes the following ANVL LDP tests: 1.5 and 9.4.

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 20:01:46 Modified files: usr.sbin/ldpd : labelmapping.c Log message: Send an 'Unknown FEC' Notification for unexpected wildcard FECs. This is basically just to make ANVL happy, there's not much

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 19:55:35 Modified files: usr.sbin/ldpd : hello.c init.c labelmapping.c notification.c Log message: Make all TLV parsing functions look the same for consistency. Also, add one more safety check i

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 19:52:33 Modified files: usr.sbin/ldpd : labelmapping.c notification.c Log message: Make it possible to parse unknown TLVs in the future. In the parsing of label and notification messages, we we

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 19:46:36 Modified files: usr.sbin/ldpd : ldpe.h notification.c Log message: Use uint16_t for notification type. This doesn't fix any bug as we were already using uint16_t everywhere else.

CVS: cvs.openbsd.org: src

2016-06-10 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/10 19:44:02 Modified files: usr.sbin/ldpd : labelmapping.c notification.c Log message: Fix parsing of multiple optional TLVs in label and notification messages. We were accepting at most one option

CVS: cvs.openbsd.org: src

2016-06-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/09 11:57:55 Modified files: usr.sbin/ldpd : packet.c Log message: Do set the Message ID for Hello messages too. In the original LDP specification, there was no circumstance where a Notification mes

CVS: cvs.openbsd.org: src

2016-06-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/09 11:41:52 Modified files: usr.sbin/ldpd : packet.c Log message: Do not shut down the session upon receiving unknown messages. RFC 5036 says the following about the receipt of unknown messages: "U

CVS: cvs.openbsd.org: src

2016-06-09 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/09 11:26:32 Modified files: usr.sbin/ldpd : adjacency.c hello.c interface.c ldpe.c ldpe.h Log message: Send a fatal notification when the last hello adjacency is deleted. RFC 5036 says: "When the l

CVS: cvs.openbsd.org: src

2016-06-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/08 17:30:07 Modified files: usr.sbin/ldpd : ldpd.c ldpe.c Log message: Fix quick reconnect when the transport address is changed. When the transport address is changed, we can't try to reconnect to

CVS: cvs.openbsd.org: src

2016-06-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/08 17:14:03 Modified files: usr.sbin/ldpd : hello.c Log message: Discard Hello packet if advertised transport address is of different AF. IxANVL LDP test 5.13 was failing for ldpd(8) because we wer

CVS: cvs.openbsd.org: src

2016-06-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/08 16:00:12 Modified files: usr.sbin/ldpd : notification.c Log message: Change what we consider a NACK for our Initialization messages. RFC 5036 says the following: "It is possible for a pair of in

CVS: cvs.openbsd.org: src

2016-06-08 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/08 15:28:09 Modified files: usr.sbin/ldpd : init.c Log message: Add one more safety check for Initialization messages. RFC 5036 says the following about the "Receiver LDP Identifier" field: "Identi

CVS: cvs.openbsd.org: src

2016-06-06 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/06 10:42:41 Modified files: usr.sbin/ldpd : ldpd.c ldpe.c Log message: Fix imsg parameter passing When ldpe requests new network sockets to the parent process (after the transport-address is change

CVS: cvs.openbsd.org: src

2016-06-06 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/06 09:30:59 Modified files: usr.sbin/ldpd : ldpd.c packet.c Log message: Speed up session establishment after config reload. If we change a neighbor's password or the global transport-address, canc

CVS: cvs.openbsd.org: src

2016-06-05 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/05 11:19:18 Modified files: usr.sbin/eigrpd: eigrpd.c Log message: Fix potential SIGBUS in startup. The fork+exec diff introduced this problem where we were indirectly calling imsg_event_add() befor

CVS: cvs.openbsd.org: src

2016-06-05 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/05 11:04:13 Modified files: usr.sbin/eigrpd: interface.c Log message: Reset the interface uptime when it is restarted. The uptime was being set only when the interface was created, which is not what

CVS: cvs.openbsd.org: src

2016-06-05 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/05 11:07:41 Modified files: usr.sbin/eigrpd: eigrpe.c interface.c Log message: Call if_update() only when necessary for IPv6 address changes. For EIGRPv6, an interface only needs an link-local addre

CVS: cvs.openbsd.org: src

2016-06-04 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/04 21:36:41 Modified files: usr.sbin/eigrpd: eigrpd.c eigrpd.h eigrpe.c eigrpe.h parse.y rde.c rde.h Log message: Improve security by calling exec after fork. For each chil

CVS: cvs.openbsd.org: src

2016-06-04 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/06/04 21:29:33 Modified files: etc/examples : ldpd.conf Log message: The ldpd(8) sample config was terribly outdated. Passive interfaces, for example, were removed in 2013 because they don't make sens

CVS: cvs.openbsd.org: src

2016-05-23 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/05/23 13:20:55 Modified files: usr.sbin/ldpd : control.c ldpd.h ldpe.h neighbor.c Log message: Add support for manually resetting neighbors.

CVS: cvs.openbsd.org: src

2016-05-23 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/05/23 13:16:00 Modified files: usr.sbin/ldpd : lde.c lde.h ldpd.c ldpd.h ldpe.c ldpe.h parse.y Log message: Improve security by calling exec after fork. For each child process (lde and ldpe), re-exec

CVS: cvs.openbsd.org: src

2016-05-23 Thread Renato Westphal
CVSROOT:/cvs Module name:src Changes by: ren...@cvs.openbsd.org 2016/05/23 13:14:03 Modified files: usr.sbin/ldpd : adjacency.c hello.c interface.c kroute.c labelmapping.c lde.c lde.h lde_lib.c ldp.h ldpd.8 ldpd.c ldpd.c

  1   2   3   >