| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
before accessing anything in ifa_addr.
ok claudio@
|
|
|
|
|
|
| |
area. Most of the other interface settings allow this.
ok denis@
|
|
|
|
|
| |
tested by Kapetanakis Giannis
ok denis@
|
|
|
|
| |
OK remi@
|
|
|
|
| |
reads OK benno@ remi@
|
|
|
|
| |
ok benno@
|
|
|
|
|
| |
reads OK to kn@
OK denis@
|
|
|
|
|
|
| |
the daemon wouldn't notice state changes for those interfaces.
ok benno@
|
|
|
|
|
|
| |
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
ok millert tb benno
|
|
|
|
|
|
| |
inserts into the kernel routing table.
OK denis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(and other lexers too)
This commit rectifies earlier change:
in the lex... even inside quotes, a \ followed by space or tab should
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).
OK deraadt@, OK millert@
|
|
|
|
| |
"looks good" gilles@ halex@
|
|
|
|
|
| |
small quirk from tb@
ok phessler@
|
|
|
|
|
|
|
| |
the referenced interface is down or in state backup. This is especially
useful on a carp cluster to ensure all traffic goes to the carp master.
ok friehm@ jca@
|
|
|
|
| |
ok jca@ tb@
|
|
|
|
|
|
|
|
| |
out of memory log_warn(). i.e. ("%s", __func__) instead of manual
function names and redundant verbiage about which wrapper detected the
out of memory condition.
ok henning@
|
|
|
|
|
|
|
|
|
| |
calloc or strdup), we just need to log that we ran out of memory in a
particular function.
Recommended by florian@ and deraadt@
ok benno@ henning@ tb@
|
|
|
|
|
|
|
|
| |
running out of memory.
Next step, be correct *and* consistent.
ok dennis@ tb@ benno@ schwarze@
|
|
|
|
|
|
| |
Thanks to otto@ for the initial diff.
OK benno@, remi@
|
|
|
|
| |
ok benno@
|
|
|
|
|
|
|
|
| |
modern TAILQ_FOREACH_SAFE().
No intentional functional change.
ok millert@ bluhm@ gilles@
|
|
|
|
|
|
|
|
|
|
|
| |
with more modern TAILQ_FOREACH(). This what symget() was already
doing.
Add paranoia '{}' around body of symget()'s TAILQ_FOREACH().
No intentional functional change.
ok bluhm@ otto@
|
|
|
|
|
|
|
|
| |
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.
feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@
|
|
|
|
|
|
|
| |
Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.
pfctl parse.y patch from and ok deraadt@
|
|
|
|
|
| |
format string, create a temporary message.
OK deraadt@ claudio@
|
|
|
|
|
|
| |
Fix a few yyerror() lines that are missing arguments.
ok claudio@ sthen@
|
|
|
|
|
| |
default permissions and mtree NOT changed.
prodded by benno, ok phessler benno jmatthew theo pelikan florian
|
|
|
|
| |
found by millert@, ok deraadt@
|
|
|
|
| |
ok florian@
|
|
|
|
| |
sure deraadt@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
|
|
|
|
| |
- kroute.c may not ignore the default route.
- Use the ROUNDUP macro from route/show.c as this one is also correct
for netmask with prefixlen 0.
- Implement ospf_redistribute and the redistribute parser like
ospfd.
ok claudio@
|
|
|
|
|
|
|
| |
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
applied to all the others by yours truly. ok theo
isn't it amazing how far this parser (and more) spread?
|
|
|
|
| |
ok claudio@
|
|
|
|
|
|
|
| |
allocations fails.
looks right deraadt, krw
ok henning
|
|
|
|
|
|
|
| |
First convert IP addresses to host-byte-order before checking which one is
smaller. Additionally fix the check to find the lowest configured IP as
suggested by the RFC.
ok claudio@
|
| |
|
|
|
|
|
|
|
| |
but only do the final popfile call after yyparse() is done.
This also fixes config reload on SIGHUP for some daemons.
Spotted by otto@. OK deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
* removes kif and uses iface for everything interface related.
This removes unneeded data redundancy which makes the code more complex.
* adds the link local prefix to struct iface and attaches a list with
the other prefixes to the struct iface. This is needed to generate the
link LSA.
* disconnects struct iface from struct area (the backpointer is gone)
this will make the reload code a bit easier.
norby@ agrees with the direction we're heading with this
|
|
|
|
|
|
|
|
| |
it with a simple filter in the yylex() loop.
The compression in lgetc() didn't happen for quoted strings,
thus creating a regression when tabs were used in variables.
Some testing by todd@ and pyr@
OK deraadt@
|
|
|
|
|
| |
Fix behavior when running -n.
henning@
|
|
|
|
| |
Requested and OK deraadt@
|
|
|
|
|
|
|
| |
changes -- some are so hairy that I left them out for later by commenting out
larger blocks of code (just grep for XXX if you like to help).
Get it in early so that we can work on.
OK norby@
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
code the rest will be reused somehow.
|
|
|
|
|
|
|
|
|
| |
Bye bye global ospf options. OSPF options are per area (at least the one
flag that we set). So introduce a area_ospf_options() function that will
return the correct flags for each area. This makes stub area support a lot
easier.
Don't check for OSPF_OPTION_E in the parent. OSPF_OPTION_E is per area and
so the parent process has no way to know if it should redistribute or not.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
OK norby@
|
|
The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6 networks.
It is heavily based on ospfd(8), it is more or less a copy and paste of it.
Currently some unneeded stuff has been removed and the trasition from
IPv4 to IPv6 has begun.
ospf6d is not very usefull at the moment, it is being imported to allow more
people to work on it concurrently.
Not yet connected to the builds.
ok claudio@ dlg@
|