| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
vtysh uses PACKAG_NAME in PAM therfore expects /etc/pam.d/quagga.pam.
But dh_installpam only handles package.pam normally, so use option
to install other file.
|
|
|
|
|
|
| |
The PAM system is asking for quagga (not vyatta-quagga) so need
to change the name of the pam file. Make sure file is setup to allow
users in quaggavty group to access vtysh without password.
|
|\ |
|
| |
| |
| |
| | |
Add more prototypes and make some functions static
|
| |
| |
| |
| | |
included same file twice
|
| |
| |
| |
| |
| | |
Fix easy compiler warnings about unused code by marking them with #if 0
Add one missing printf argument.
|
| |
| |
| |
| |
| |
| |
| | |
ISISD has several different methods and only one is valid on each system,
so running the others through the preprocessor gives warnings for missing
includes. Instead, only run the few isisd files that have VTY stuff through
the extraction step.
|
| |
| |
| |
| |
| |
| | |
To get rid of warnings:
* remove unused functions with ifdef
* use correct printf formats
|
| |
| |
| |
| | |
ifdef out some unused functions to get rid of warnings.
|
| |
| |
| |
| | |
size is size_t not int.
|
| |
| |
| |
| | |
Excise dead code to remove compiler warning
|
| |
| |
| |
| |
| |
| |
| | |
Potential format incompatiablities because flags field in zebra is
uint64_t but the printf format was only 32 bit. For safety, convert
the flags field to unsigned long long. Since it is really a bit
field print in hex.
|
| |
| |
| |
| | |
remove unused code, compiler flags this as unused
|
| |
| |
| |
| |
| |
| |
| |
| | |
To eliminate compiler warnings
* comment out unused code
* fix printf formats
* remove always true expression
* initialize variables
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes to eliminate warnings:
* Use %td for pointer diff printf format
* Use %zd for size_t printf format
* Change asn buffers to use u_char
* make some functions local
* add some casts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Compiler warned about dubious code where test was:
char auth_str[];
...
if (!auth_str)
return 0;
Looks like what was meant was testing for empty auth
string.
|
| |
| |
| |
| | |
Enable ipv6 link detect in kernel if needed.
|
| |
| |
| |
| |
| | |
Rather that looking for /proc/sys/net/ipv4/conf, use --enable-linkdetect
flag to configure.
|
|/
|
|
| |
Fix the PAM setup file.
|
|
|
|
|
| |
If interface has link-detect enabled, try and turn on link-detect
in the kernel.
|
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
There is no need to increase buffer size or set non-blocking on the
netlink command socket. This reduces the number of system calls per
transaction.
|
|
|
|
|
|
| |
Netlink recvmsg always succeeds, there are no permission checks in
the kernel on receive, only on send and bind. This reduces the number
of system calls and any potential security vulnerabilty in recvmsg().
|
|\ |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The talk netlink socket should set it's own pid value, so
they can be ignored in listener.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For static routes, go through same logic to check the state of
the nexthop to see if the route should be activated or not.
Bug fix for 2708
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Netlink can notify us about changes that don't affect operative state
of the interface. So ignore these type of events.
|
| |\ \ \ |
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
The RIB data structures have lots of "holes" due to compiler alignment.
Since Quagga has to deal with large route tables, rearrange the elements
to save space.
|
|\| | | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | |/ / |
|
| | |/
| | |
| | |
| | | |
It is a harmless event when BGP tries to delete already deleted routes.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When zebra changes routes it uses the netlink cmd socket, but these
also show up on the netlink listen socket. Use more kernel level socket
filtering so that any changes that happend because of command socket
are ignored.
Uses the netlink port id (pid) to identify the changes from the
command socket.
|
| | | |
|
|/ /
| |
| |
| | |
Fix bug 487 by adding logging into quagga/zebra.
|
| |
| |
| |
| |
| | |
Vtysh is used in pipelines and it helps if the output starts right
away instead of waiting for a whole buffer to fill.
|
| | |
|
|\ \ |
|