| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Internalize control_state and ctl_conns.
|
| |
|
|
|
|
|
| |
imsg_compose_event() directly. This is needed to make the imsg event
structures static in ospfe.c, rde.c and ospf6d.c.
|
|
|
|
| |
a common symbol.
|
| |
|
| |
|
|
|
|
| |
into control.c nothing outside needs access to this.
|
|
|
|
|
| |
rename nconf in the ospf engine to noeconf. This fixes the last common
symbols in ospfd.
|
|
|
|
| |
and ctl_conns are not really needed outside of control.c
|
|
|
|
| |
Removes another -fno-common issue from the build.
|
|
|
|
|
| |
a local export of iev_rde. Remove the extern in preperation of -fno-common
cleanup.
|
|
|
|
|
|
|
| |
used. With this there should be no more embedded scopes left and therefor
in6addr_to_text() can be removed. getnameinfo() will just do the right
thing now.
OK eric@
|
|
|
|
|
|
|
| |
else does not skip enough of the original code. Instead use a temporary
sockaddr pointer and adjust it to point to the sin6 one if an embedded
scope was detected.
OK jca@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A server configuration yields multiple struct server_config in the
env->sc_servers queue: an actual server ("parent") and one for each
location directive in httpd.conf. In parent_configure(), the parents
are configured first, then the corresponding locations.
parse.y r1.118 kills the parent if an error is encountered on loading
the TLS keypairs but leaves the locations in the sc_servers queue.
When running the default config without TLS keys already in place, this
then leads to the self-explanatory "invalid location" error message. Its
intention is to indicates the unexpected situation that config_setserver()
encounters a location without an associated server.
Fix this by not only destroying the parent but also removing all of its
locations.
ok jsing
|
| |
|
|
|
|
| |
OK denis@
|
|
|
|
|
|
|
|
|
| |
equal versions put the RD and lable stack right into struct bgpd_addr.
For non-VPN addresses these extra fields are ignored. Since VPN and non-VPN
addresses encode the prefix in the same way now some code can be simplified.
In most cases a fallthrough or reuse of encoding functions is now possible.
It should also reduce the size of struct bgpd_addr a bit.
OK denis@
|
|
|
|
| |
OK tb@
|
|
|
|
| |
Tweak and ok martijn@
|
|
|
|
|
|
| |
This code does not really need to be optional since for non embedded
scope link local addresses this is a NOP.
OK jca@
|
|
|
|
|
|
| |
This code does not really need to be optional since for non embedded
scope link local addresses this is a NOP.
OK jca@
|
|
|
|
|
|
| |
struct in6_pktinfo includes the interface index in ipi6_ifindex but no
struct sockaddr_in6.
OK jca@
|
|
|
|
|
|
| |
struct in6_pktinfo includes the interface index in ipi6_ifindex but no
struct sockaddr_in6.
OK jca@
|
|
|
|
| |
i'll have to find real pci4 hardware to test with.
|
| |
|
| |
|
|
|
|
|
|
|
| |
but also for AS paths starting with an AS_SET segment. RFC4271 wants this
and it also makes sense for all the cases where aspath_neighbor() is used
in bgpd.
OK denis@ job@
|
|
|
|
|
|
|
| |
ospfd will pick the right interface to send out hello packets.
Clear the struct ip_mreqn in all cases because not all fields are
used.
OK bluhm@ phessler@
|
|
|
|
| |
Tweaked and OK claudio@
|
|
|
|
|
|
|
| |
the int type by doing calculations on bigger types. Instead just do a > and <
check. Also improve the remote_addr test by using the same address comparison
as in other places.
OK benno@
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doing the LIST_REMOVE() outside of prefix_evalute() is no longer valid.
As a benefit it is now simply possible to re-evaluate a prefix by passing
it to prefix_evaluate() for both removal and insertion. prefix_evaluate()
will then take care to ensure that a update is sent out if necessary.
Also move rde_send_kroute() call to rde_generate_updates() to make it a
bit easier to plug this module into a regress test.
OK denis@
|
|
|
|
|
|
|
|
|
|
|
|
| |
IPv6 address. Compare against all possible interface addresses instead of
only against iface->addr which is set to the last link-local address and
so there is a high chance of failure when multiple link-local addresses
are present.
Also simplify send_packet(), there is no need to use sendmsg() just use
sendto().
OK benno@
|
|
|
|
|
|
| |
iface->dst is not initalized so instead use nbr->addr (like it is done in
ospfd).
OK benno@
|
| |
|
|
|
|
|
| |
out packets. This way ospfd can work on interfaces that share the same IP.
OK dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- tweak the look-up mechanism for dependencies to NOT look at installed
packages for inter-dependencies between subpackages (and debug packages)
of the SAME pkgpath.
The rationale for looking at installed packages in the usual case
is that it's normally much faster rather than have the ports tree
spew out packing-lists.
In the case of multi-packages updates, the new version may have been built
successfully (and correctly) while the old version is still around.
However, if pkg_create looks at the installed version, it may fail to create
the package because the shared library versions will be different.
|
|
|
|
|
|
|
|
|
| |
daemons. This avoids giving an additional permission (in this case unveil(2)
"c") to the daemon just to be able to delete the socket and we already discussed
in the past that leaving that file behind doesn't cause any problems.
Discussed with deraadt@ rob@ florian@
OK rob@ benno@ deraadt@
|
|
|
|
|
| |
modified version of diff from wolf on misc,
improved by and ok florian benno sthen
|
|
|
|
|
|
| |
probes can be parsed again.
ok anton@ kn@
|
|
|
|
|
|
|
|
|
| |
both the export check and the address family check should be done as
early as possible since these peers will not need any kind of updates
to happen. Also remove the non-standard ORIGINATOR_ID check.
With this up_test_update() becomes a simple true/false function which
makes the rest of the code a bit simpler.
OK benno@
|
|
|
|
| |
Suggested by martijn@, ok claudio@
|
|
|
|
|
|
| |
Feedback by Olivier Cherrier, Hiltjo Posthuma, Mischa
OK benno@
|
|
|
|
|
| |
Revision 1.21 removed the volatile from the cgi_inflight global but
accept_reserve() was not updated to match. OK florian@
|
| |
|
|
|
|
|
|
|
|
| |
queue element around once it is sent to the parser process. Instead just
keep a count of pending entities and make the parser send back the entity
type instead of the id (since this is the only field needed to figure out
what to do).
OK job@
|
|
|
|
|
|
|
| |
data between processes. This completely decouples the write side.
rpki-client can't really use the imsg framework but it can use the ibuf
bits wich imsg is built on.
OK benno@ job@
|
|
|
|
|
| |
VMs with addition package daemons were not given enough time to shutdown
gracefully.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
synatx element with its optional / empty element. While this is needed for
redistribute statements it causes the conflicts in the interface sections
since there the statement can not be empty (this conflicts with empty new
lines handled in optnl). Add a dependonopt for redistribute statements
and make depend on no longer optional.
Also sync the curly bracket blocks (interface, area, ...) to be like
set blocks and the blocks in bgpd. This should result in more flexible
newline handling.
Tested by sthen@, benno@, Kapetanakis Giannis
OK benno@
|
|
|
|
| |
pointed out by jsg@
|
| |
|