Home | History | Annotate | Download | only in ldpd
History log of /src/usr.sbin/ldpd/socketops.c
RevisionDateAuthorComments
 1.36  26-Jun-2022  riastradh ldpd(8): Fix address of misaligned packed members.

PR kern/56895
 1.35  22-Apr-2020  joerg Avoid common symbol definitions
 1.34  12-Apr-2017  roy branches: 1.34.4; 1.34.14;
Use RO_MSGFILTER.
 1.33  30-Oct-2013  mrg branches: 1.33.8; 1.33.12;
ensure variables are initialised
 1.32  17-Oct-2013  kefren allow setting transport addresses for interfaces into config file
also move passive-interface functionality under interface block
report the correct line for config parsing errors
 1.31  27-Jul-2013  kefren check route messages sizes more carefully
cache pid
treat every message at a time, even if there are more messages to read
interpret also cloning routes

The latter two should fix the ldp_regen test
 1.30  20-Jul-2013  kefren don't connect on first hello, there are chances that ours is not seen yet
setproctitle with ldp id - useful for rump kernels testing
fix a memory leak in ldp_peer_new
don't holddown if already holded down
peer sockets are now non-blocking
connected routes deletes are now processed
check if peer is connected before attempting to sending label mappings
 1.29  18-Jul-2013  kefren Make sure labels are always updated when a route is added and when a peer
is added
Rework mpls_add_label according to that so no route refresh is done anymore
Use poll when reading the PF_ROUTE socket
setsockopt SO_USELOOPBACK on the PF_ROUTE socket
Output some information on SIGINFO
Allow map changing for a ldp peer
Finally fix the connected routes admission into labels
Correct the route trigger when a label map is received
 1.28  11-Jul-2013  kefren branches: 1.28.2;
Constify a little bit
 1.27  08-May-2013  kefren First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.
 1.26  04-Feb-2013  kefren move code around a little bit in order to call get_ldp_peer correctly
check also for transport_address in get_ldp_peer
 1.25  04-Feb-2013  kefren * Don't assume INET in connection path
* Lookup in hello list in order to get the correct LDP ID, instead of
transport address
* Improve an error message
 1.24  03-Feb-2013  kefren Don't try to connect to peers before sending hellos
 1.23  28-Jan-2013  kefren Be a little more strict when sending notifications and checking PDU
 1.22  28-Jan-2013  kefren permit notifications even if session not fully established
 1.21  28-Jan-2013  kefren Fix the transport address TLV mess I created after INET6 convert
Use a single loop to decrement and check hello list keepalives
Display transport address in show hello output
 1.20  26-Jan-2013  kefren * add a new keyword for config file - passive-if and check if it's
allowed to use the interface before join/send mcast
* check if interface supports multicast before join/send mcast
 1.19  26-Jan-2013  kefren use predefined group consts/macros instead of ptoning strings
 1.18  26-Jan-2013  kefren allow compile without -DINET6
 1.17  26-Jan-2013  kefren modify structures in order to accomodate IPv6 according to
draft-ietf-mpls-ldp-ipv6. Correct a little bit IPv6 hello path
 1.16  16-Jan-2013  kefren Make sure there is enough space for sockaddr subtypes
Use u_char for IP_MULTICAST_LOOP as specified in in.h
 1.15  13-Nov-2012  kefren Use local-link address as source for hellos
 1.14  13-Nov-2012  pgoyette Repair another %lu --> %zd - this one was caught by building for
evbmips port
 1.13  12-Nov-2012  christos fix the build; ssize_t is %zd not %lu
 1.12  12-Nov-2012  kefren * add initial IPv6 support - still incomplete at this moment, but it sends
out there IPv6 hellos. Interoperability not yet tested.
* sync man page with reality
 1.11  31-Aug-2011  joerg branches: 1.11.2; 1.11.8;
Use __dead
 1.10  16-Jun-2011  kefren obey RFC3036 3.5.2 regarding holdtimes
wire SIGINT
 1.9  16-Jun-2011  kefren clear the error condition
KNF a little bit
 1.8  15-Jun-2011  kefren simplify the rtsock read sequence
apply a little bit of KNF
 1.7  14-Jun-2011  kefren * add no-default-route option into configuration file and check it before
rejecting default-route
* exit process in case of error into the main loop
* complete FSM for RTM_CHANGE
* Check if we overflow pollfd array
 1.6  24-May-2011  joerg branches: 1.6.2;
Packed pointers are non-sense
 1.5  22-Jan-2011  kefren avoid advertising 0/8 transport address (conforming RFC1122
Section 3.2.1.3)
 1.4  22-Jan-2011  kefren use SLIST_FOREACH_SAFE when deleting a peer in loop
 1.3  30-Dec-2010  kefren branches: 1.3.2;
* add config file so one can control id, timers and label assignment and
use neighbour specific options - XXX: needs documentation
* add peer authentication using TCP_MD5SIG. Interoperability tested with
Cisco IOS
* use SLIST_FOREACH_SAFE when deleting labels instead of re-looping.
 1.2  09-Dec-2010  christos - no cast for malloc
- malloc + memset = calloc
- sizeof(type) -> sizeof(*var)
- small indents
 1.1  08-Dec-2010  kefren Add ldpd, a RFC 3036 compatible LDP speaker.
 1.3.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.6.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.8.4  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.8.3  23-Jun-2013  tls resync from head
 1.11.8.2  25-Feb-2013  tls resync with head
 1.11.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.2.2  23-Jan-2013  yamt sync with head
 1.11.2.1  16-Jan-2013  yamt sync with (a bit old) head
 1.28.2.1  23-Jul-2013  riastradh sync with HEAD
 1.33.12.1  21-Apr-2017  bouyer Sync with HEAD
 1.33.8.1  26-Apr-2017  pgoyette Sync with HEAD
 1.34.14.1  04-Aug-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1702):

usr.sbin/ldpd/socketops.c: revision 1.36
usr.sbin/ldpd/fsm.c: revision 1.16
usr.sbin/ldpd/ldp_peer.c: revision 1.19

ldpd(8): Fix address of misaligned packed members.

PR kern/56895
 1.34.4.1  04-Aug-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1881):

usr.sbin/ldpd/socketops.c: revision 1.36
usr.sbin/ldpd/fsm.c: revision 1.16
usr.sbin/ldpd/ldp_peer.c: revision 1.19

ldpd(8): Fix address of misaligned packed members.

PR kern/56895

RSS XML Feed