Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-24 | Make the packet buffer u_int8_t * everywhere. This is binary data and not | Claudio Jeker | |
a string. | |||
2007-10-24 | The metric is a 8bit value ranging from 1 to INFINITY (defined as a whopping | Claudio Jeker | |
16). So use u_int8_t everywhere. | |||
2007-10-24 | An u_int8_t is enough as prefixlen. Another lint warning gone. | Claudio Jeker | |
2007-10-24 | Document -D. Stolen from bgpd.8 | Claudio Jeker | |
2007-10-24 | Add the 5 needed lines to support -D makro=value option. Another surprising | Claudio Jeker | |
finding by lint. | |||
2007-10-24 | Use an ssize_t instead of int like in all other imsg handlers. Hint by lint | Claudio Jeker | |
2007-10-24 | The index should be unsigned int -- another lint finding | Claudio Jeker | |
2007-10-24 | ctl_rt flags should be u_int16_t -- noticed by lint | Claudio Jeker | |
2007-10-24 | Garbage collect unused stuff found by lint. | Claudio Jeker | |
2007-10-24 | Sync a bit more with ospfd. Do not fatal if one of the pipes is closed, | Claudio Jeker | |
instead do a "nice" shutdown. Ignore SIGHUP in the childs even though we have no reload support (yet). Remove some redundant code and clean up some types. | |||
2007-10-24 | Don't use inet_ntoa() twice in a printf like function. So instead of | Claudio Jeker | |
using inet_ntoa() on the netmask use mask2prefixlen(). | |||
2007-10-20 | Sync parse.y with recent enhancements in hoststated. | Pierre-Yves Ritschard | |
Fix behavior when running -n. henning@ | |||
2007-10-18 | spacing | Theo de Raadt | |
2007-10-18 | Massive cleanup in the authentication code. the simple auth_key and the crypt | Claudio Jeker | |
keys are not strings so a) use u_int8_t instead of char and b) uses memcpy to copy the full MAX_SIMPLE_AUTH_LEN resp. MD5_DIGEST_LENGTH bytes around. The parser needs some special code to ensure that the string is not to long and if it is shorter then the buffer the rest needs to be zero padded. Avoid to use strncpy() instead use a bzero(); memcpy() combo. with and OK deraadt@ | |||
2007-10-18 | Add missing bits for auth crypt and cleanup a bit. OK deraadt@ | Claudio Jeker | |
2007-10-17 | wrong type for digest; ok claudio | Theo de Raadt | |
2007-10-17 | Add missing RTM_VERSION checks. | Claudio Jeker | |
2007-10-17 | Remove redundant code. | Claudio Jeker | |
2007-10-16 | Allow '=' to end a number in all lexers. | Marco Pfatschbacher | |
Requested and OK deraadt@ | |||
2007-10-16 | in the lex... even inside quotes, a \ followed by space or tab should | Theo de Raadt | |
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr | |||
2007-10-13 | in all these programs using the same pfctl-derived parse.y, re-unify the | Theo de Raadt | |
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas. | |||
2007-10-11 | next step in the yylex unification: handle quoted strings in a nicer fashion | Theo de Raadt | |
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others | |||
2007-09-11 | macro argument unused, using local instead; spotted by mpf | Theo de Raadt | |
2007-09-11 | extend lex to spot numbers in the stream, without impacting the parsing | Theo de Raadt | |
of ip addresses and such. this change is being pushed into all the pfctl derived parsers, starting with the easy ones; ok claudio michele | |||
2007-09-11 | More baudrate fixes. Again don't forget to initialize the iface->baudrate. | Claudio Jeker | |
2007-09-11 | baudrate, two non-obvious ones marked for michele | Henning Brauer | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-27 | Modified manpage to reflect claudio's changes about 224.0.0.9 route. | Michele Marchetto | |
Synched with ospfd syntax. OK claudio@ norby@ | |||
2007-04-27 | Ripd needs a valid route for 224.0.0.9 to work. Instead of forcing users to | Claudio Jeker | |
set multicast_router=YES we inject a 224.0.0.9/32 route into the kernel and remove the route on exit if the insert was successful. With this ripd works out of the box. OK michele@ norby@ | |||
2007-04-19 | Use vectorized writes to send routing messages into the kernel instead of | Claudio Jeker | |
using a static message structure. Similar diffs went into bgpd and ospfd. | |||
2007-04-09 | Improve the handling of "counting to infinity" mechanism and add an heuristic | Michele Marchetto | |
higly recommended in the rfc. tested by me and OK claudio@ | |||
2007-03-31 | Some code cleanups. Added one lint command, removed one unused function and | Michele Marchetto | |
some other cosmetics. | |||
2007-03-27 | Remove unused parameter in nbr_new | Michele Marchetto | |
2007-03-19 | Doh! If we support "redistribute rtlabel" we should actually track the | Claudio Jeker | |
routing labels in ripd's kroute code. Just steal the code from ospfd which does it right. OK michele@ | |||
2007-03-19 | do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et al | Henning Brauer | |
2007-03-13 | Same problem as in ospfd's kroute.c don't check rtm_tableid without verifying | Claudio Jeker | |
that rtm_type is one of RTM_ADD, RTM_CHANGE or RTM_DELETE. | |||
2007-01-24 | Ingore SIGPIPE in the parent and rde as well. This is needed to correctly | Claudio Jeker | |
report crashes. Discussed with norby@ | |||
2007-01-23 | add timeout for failed nbr structures | Michele Marchetto | |
OK claudio@ henning@ | |||
2007-01-23 | Typo in fatal() message found by dunceor @ gmail dot com | Claudio Jeker | |
2007-01-15 | allow users to specify interface specific parameters even on a global basis | Michele Marchetto | |
OK henning@ | |||
2007-01-08 | update man page reflecting claudio's changes | Michele Marchetto | |
2007-01-08 | New redistribute code adapted from ospfd. It is now possible to do the same | Claudio Jeker | |
redistribute setups as in ospfd (rtlables, per prefix, negation). Tested, input and OK michele@ | |||
2006-12-24 | typo | Michele Marchetto | |
2006-11-28 | add additional link states to report the half duplex / full duplex | Reyk Floeter | |
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@ | |||
2006-11-28 | mib we pass to sysctl when fetching the routing table has 7 entries now, | Henning Brauer | |
not 6 any more (rtableid added). need to tell sysctl so. | |||
2006-11-27 | use correct function name in error message; ok henning@ | Kevin Steves | |
2006-11-26 | repair missing DPADD requests | Theo de Raadt | |
2006-11-16 | ignore messages for alternate routing tables for now; from bgpd | Henning Brauer | |
2006-11-15 | remove double define; dunceor@gmail.com | Theo de Raadt | |
2006-11-11 | pass the right size of the message | Michele Marchetto | |
OK henning@ |