Commit Graph

89 Commits

Author SHA1 Message Date
wiz 54f8ce07cd New sentence, new line. Bump date for previous. 2012-11-12 22:46:59 +00:00
kefren 6cb0642362 * 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
2012-11-12 18:39:00 +00:00
joerg 66dd2755f5 Add __printflike attribution to use vprintf and friends with an argument
as format string.
2012-03-15 02:02:20 +00:00
christos cc595d81e1 avoid reusing inet_addr twice. 2011-12-24 23:54:26 +00:00
christos ff4773faf5 PR/45662: Henning Petersen: Overlapping buffer in lpd_command.c 2011-12-24 23:51:27 +00:00
joerg bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
kefren e733a1c2f0 Mention that it doesn't support Path Vectors and Hop Counts
Mention RFC3037 and xref ldpd.conf
2011-07-07 05:20:16 +00:00
kefren 849a1cbddc return EXIT_SUCCESS and EXIT_FAILURE instead on 0 and -1 2011-07-02 18:17:12 +00:00
kefren d4ba594c90 Correct prefixlen->sockaddr calculation. Now ldpd may finally allow MPLS
forwarding for default route.
2011-06-16 20:42:15 +00:00
kefren c2db1af7a2 obey RFC3036 3.5.2 regarding holdtimes
wire SIGINT
2011-06-16 14:48:30 +00:00
kefren e043db3b96 Introduce 'show labels' command that reports about labels received from
unsolicited label-maps. Statify.
2011-06-16 08:27:28 +00:00
kefren 7102910ef8 shorten some execution paths related to check_route() and get_route()
statify a bit
don't assume AF_INET in a debug message
2011-06-16 07:11:51 +00:00
kefren 4671a6ac8d clear the error condition
KNF a little bit
2011-06-16 06:05:47 +00:00
kefren 0c4a44d22f we need to add mapping even if there is no route for the prefix 2011-06-15 18:16:48 +00:00
kefren 374dea10e0 simplify the rtsock read sequence
apply a little bit of KNF
2011-06-15 13:24:48 +00:00
kefren 9b733c1c9d * 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
2011-06-14 11:28:51 +00:00
kefren 298f340a61 Use IN_LOOPBACKNET where is the case
Don't forget to freeifaddrs() in case of error
Update a couple of debug messages
2011-06-14 11:23:02 +00:00
joerg e4a1756060 Packed pointers are non-sense 2011-05-24 13:03:19 +00:00
kefren a9e39e843e get rid of unused variable/assignments 2011-02-14 11:43:59 +00:00
kefren d2ac267049 stop processing a label mapping message if we don't have a route for it.
This way we avoid failing an assert later in mpls_add_label()
2011-02-10 12:44:41 +00:00
kefren 34493327dd use RT_ROUNDUP provided by net/route.h 2011-02-09 11:38:57 +00:00
kefren 716840ec3a avoid advertising 0/8 transport address (conforming RFC1122
Section 3.2.1.3)
2011-01-22 19:46:46 +00:00
kefren 0c3c6bf2b7 use SLIST_FOREACH_SAFE when deleting a peer in loop 2011-01-22 19:35:00 +00:00
kefren 57323b5589 check from_cidr_to_union() result 2011-01-04 10:58:15 +00:00
kefren 53e5c5d4ca Fix more memory leaks in case malloc fails 2011-01-04 10:18:42 +00:00
wiz f5249cc468 Fix memory leak in error case. Found by cppcheck.
XXX: so_tag has same problem?
2011-01-04 09:42:21 +00:00
kefren 1eed43ba6c show in neighbour information if peer is MD5 authenticated 2010-12-31 11:29:33 +00:00
wiz 8e0432a723 Make usage match SYNOPSIS. 2010-12-31 06:16:17 +00:00
wiz 0161387400 Sort SYNOPSIS, use Pa for path. 2010-12-31 06:15:08 +00:00
christos 92b36398b7 - detect calloc failure
- int -> size_t
- cache strlen
- proper cast for ctype macro
2010-12-30 21:26:00 +00:00
kefren e64aab24d3 * 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.
2010-12-30 11:29:21 +00:00
joerg 879c335754 Don't assign CFLAGS. Use default WARNS from usr.sbin/Makefile.inc. 2010-12-18 04:25:37 +00:00
christos e64c554fe8 fix uninitialized variable by elimination. 2010-12-14 21:32:43 +00:00
christos 38a17f8f2b fix possibly uninitialized variable 2010-12-13 01:25:19 +00:00
christos 14db3bb9d8 - no cast for malloc
- malloc + memset = calloc
- sizeof(type) -> sizeof(*var)
- small indents
2010-12-09 00:10:59 +00:00
wiz 99b0b43bfa Add all options to usage. 2010-12-08 09:43:28 +00:00
wiz 0b2ab2c48b Add all options to SYNOPSIS. New sentence, new line. Some rewording.
Use more macros.
2010-12-08 09:43:22 +00:00
kefren 6d46555eb8 Remove accidentally added file 2010-12-08 07:34:08 +00:00
kefren e7341ada4c Add ldpd, a RFC 3036 compatible LDP speaker. 2010-12-08 07:20:14 +00:00