summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2019-01-03be less verbose on resolver "errors", only log_warnx() real errors and notGilles Chehade
EAI_NODATA / EAI_NONAME in cases where these are expected and already part of a log line. ok eric@
2019-01-03do not strip dot-escaping when sending to filters, dot-escape is removed onGilles Chehade
return otherwise there are cases which can lead to a truncated mail. ok eric@
2019-01-03Add snmpv3 support.Martijn van Duren
Standard output should remain the same. Additional information is placed under the -v flag. -vv can be used to retrieve the asn1 dumps. Input and OK jmatthew@
2019-01-02Detect and remove routes in the kernel routing table with priorityremi
RTP_OSPF (or the configured fib-priority) inserted by another program. ospfd does the same. OK claudio@ benno@
2019-01-02Send a router LSA update when an interface was removed.remi
OK claudio@
2019-01-02minor tweaks;Jason McIntyre
2018-12-31Add config option fib-priority to set a custom prio for routes ripdremi
insers into the kernel routing table. OK deraadt@
2018-12-31A bad uid range on the command line should be a fatal error.Todd C. Miller
Based on a diff from Stefan R. Filipek.
2018-12-31unbreak tree; found the hard way by ottoFlorian Obser
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
ok deraadt@
2018-12-30add support for IPv6 VPN routesdenis
The kernel bits are missing as of now. With input from claudio@ and kn@ OK claudio@
2018-12-30remove unused F_ANN_DYNAMIC/F_PREFIX_ANNOUNCED handling in network_delete()Sebastian Benoit
ok claudio@
2018-12-29Add config option fib-priority to set a custom prio for routes ospf6dremi
inserts into the kernel routing table. OK denis@
2018-12-28move kroute_find() call laterdenis
No need to scan the list if we return early. OK claudio@
2018-12-28Add config option fib-priority to set a custom prio for routes ospfdremi
inserts into the kernel routing table. OK claudio@
2018-12-28introduce table_dump() and tweak formatEric Faurot
ok gilles@
2018-12-28set conf.capabilities.mp to 0 by defaultdenis
OK claudio@
2018-12-28type static tables on the fly when the first element is addedEric Faurot
ok gilles@
2018-12-28simplify codeEric Faurot
ok gilles@
2018-12-28report right function name in error messagedenis
2018-12-28zap unused codeEric Faurot
2018-12-28print well-known SAFI name instead of valuedenis
OK claudio@ sthen@
2018-12-28remove the tag workaround for table_create() and table_find(),Eric Faurot
now that static tables handle their updates internally. ok gilles@
2018-12-28rename smtp_session's hostname field to rdns, to make it clear what itGilles Chehade
stores and differentiate it further from smtpname and listener->hostname ok eric@
2018-12-28remove unused members in struct tableEric Faurot
2018-12-28fix logging of list entriesEric Faurot
2018-12-28use private data structure for managing static table contentEric Faurot
ok gilles@
2018-12-28move the smtp_mailaddr() calls _before_ filters indirection as filters MUSTGilles Chehade
only receive valid MAIL FROM and RCPT TO parameters.
2018-12-27Check if a control socket or address is already in use befor using it.remi
If it is used abort startup or let a reload fail. Sockets are now not unlinked anymore on regular shutdown. This helps a lot when one tries to do a config check without -n. Inputs and OK claudio@
2018-12-27When netbooting a vm using the `-B net' option, set the hostname DHCPanton
option in the lease to the name of the vm. Makes it easier to use dedicated autoinstall response files for different vms. ok ccardenas@
2018-12-27remove unused fileEric Faurot
2018-12-27fifo isn't really the right data structure for varying expirations.Ted Unangst
convert to a simple rbtree ordered by expiration time. ok anton
2018-12-27extract subaddress from last resolved node, not from dest or rcpt addressGilles Chehade
which was incorrect and can lead to ambiguous cases, this will affect the people who were using subaddresses within aliases themselves AND expected deliveries to a maildir subdir of the recipient user. ok eric@
2018-12-27table_fetch() always expect a valid dst pointer.Eric Faurot
ok gilles@
2018-12-27move the iterator variable in the private handle.Eric Faurot
it is now correctly reset between updates. ok gilles@
2018-12-27introduce dump() and add() table methods, only implemented for static tables.Eric Faurot
ok gilles@
2018-12-27remove dead code, we will only support ramstat stat backendGilles Chehade
ok eric@
2018-12-27pass the table pointer to the lookup()/fecth() methodsEric Faurot
ok gilles@
2018-12-27change the close() method to take the table pointerEric Faurot
ok gilles
2018-12-27Make the backend open method return an int to report success.Eric Faurot
The implementation is responsible for setting the handle pointer as needed. ok gilles@
2018-12-26reorder parameters for consistencyEric Faurot
2018-12-26simplify codeEric Faurot
ok gilles@
2018-12-26introduce a table_match() function to check for a key in a tableEric Faurot
ok gilles@
2018-12-26get rid of the unused dict argument in table lookup and fetch api.Eric Faurot
ok gilles@
2018-12-26unbreak VPN routes installation into FIBdenis
OK claudio@
2018-12-26move the table backend name in the backend struct.Eric Faurot
remove unused function. ok gilles@
2018-12-26when passing message to filters, do not worry yet about handling DATAGilles Chehade
errors as this requires more work and is caught on stream back anyways
2018-12-23remove dead codeEric Faurot
ok gilles@
2018-12-23the tree_* and dict_* api's in smtpd can be used standalone, do not haveGilles Chehade
them depend on smtpd.h, it makes it hard to reuse them elsewhere ok eric@
2018-12-23Simplify the table backend interface: lookup results are returnedEric Faurot
as strings, and parsing is handled by the upper layer. ok gilles@