#
ce7279d8 |
| 21-May-2024 |
jsg <jsg@openbsd.org> |
remove prototypes with no matching function and externs with no var partly checked by millert@
|
#
8e9e2b7d |
| 29-Dec-2020 |
benno <benno@openbsd.org> |
getifaddrs() can return entries where ifa_addr is NULL. Check for this before accessing anything in ifa_addr. ok claudio@
|
#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
b47fcd70 |
| 22-Jan-2019 |
krw <krw@openbsd.org> |
PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() calls where the "wrong" #define was used.
ok dlg@
|
#
0aceaa17 |
| 11-Jul-2018 |
claudio <claudio@openbsd.org> |
Remove RTM_LOSING from the file, it is no longer used by OpenBSD and route6d is not realy using it anyway. OK henning@
|
#
0cd16294 |
| 01-Jul-2018 |
deraadt <deraadt@openbsd.org> |
more RTM_LOCK removals
|
#
2e4a4e5c |
| 01-Jul-2018 |
mpi <mpi@openbsd.org> |
Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.
ok tb@, sthen@
|
#
f0019ee5 |
| 14-Jun-2018 |
florian <florian@openbsd.org> |
fix mem leak from Thomas Barabosch (thomas.barabosch AT fkie fraunhofer de), thanks! OK tb
|
#
beb8b0dd |
| 16-Jan-2018 |
mpi <mpi@openbsd.org> |
Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip of IFF* flags.
inputs from jmc@, ok bluhm@, visa@
|
#
9acb278e |
| 23-Aug-2017 |
jca <jca@openbsd.org> |
No need to handle more than one routing message here.
|
#
2c7f82b2 |
| 05-Aug-2016 |
jca <jca@openbsd.org> |
Add a -u switch to always log route insertions/deletions.
Route updates (and associated warnings) are always prefixed with "RTADD" or "RTDEL". This is useful for people that previously used the -R
Add a -u switch to always log route insertions/deletions.
Route updates (and associated warnings) are always prefixed with "RTADD" or "RTDEL". This is useful for people that previously used the -R option that got removed.
Tested by Freddy Dissaux.
show more ...
|
#
537e86a7 |
| 05-Aug-2016 |
jca <jca@openbsd.org> |
Use tighter pledge(2) restrictions.
Made possible by the logging overhaul. Tested by Freddy Dissaux.
|
#
b034567a |
| 05-Aug-2016 |
jca <jca@openbsd.org> |
Rework logging.
Use log.c like in many other daemons, with small additions to maintain a log queue (useful to dump a single log line with several logging statements). Use log.c to dump the internal
Rework logging.
Use log.c like in many other daemons, with small additions to maintain a log queue (useful to dump a single log line with several logging statements). Use log.c to dump the internal state, and remove the -R option (a similar feature will be implemented differently soon).
The end goal is to avoid touching the filesystem and use much tighter pledge(2) restrictions.
Tested by Freddy Dissaux.
show more ...
|
#
b71b7f0a |
| 13-Jul-2016 |
mpi <mpi@openbsd.org> |
Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such instead of abusing RTF_CLONING.
Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@
|
#
a1ab39ba |
| 06-Jul-2016 |
jca <jca@openbsd.org> |
route6d spring cleanup
Various tweaks and fixes: - nuke util.h, not needed since pidfile(3) went away - nuke the rrt_same member of struct riprt, "future use" since import - mark rtdexit as __dead -
route6d spring cleanup
Various tweaks and fixes: - nuke util.h, not needed since pidfile(3) went away - nuke the rrt_same member of struct riprt, "future use" since import - mark rtdexit as __dead - nuke progname handling - fix pid handling: cache the pid *after* calling daemon(3) - nuke setting rtm_pid. The kernel is responsible for setting this in routing messages. - nuke the useless myseq variable
ok florian@ benno@ millert@ deraadt@ renato@
show more ...
|
#
1b762132 |
| 25-Jan-2016 |
jca <jca@openbsd.org> |
No need to declare main().
|
#
136ec716 |
| 25-Jan-2016 |
jca <jca@openbsd.org> |
malloc+memset -> calloc
|
#
72626fc8 |
| 19-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Remove NULL-check before free().
|
#
01dee56b |
| 30-Nov-2015 |
jca <jca@openbsd.org> |
Sort includes.
|
#
191045d7 |
| 30-Nov-2015 |
jca <jca@openbsd.org> |
Fix error message after conversion from select(2) to poll(2).
|
#
e6b70c8f |
| 26-Oct-2015 |
jca <jca@openbsd.org> |
Partial revert of r1.79, "np" handling is a bit trickier than expected.
|
#
a12abc5a |
| 26-Oct-2015 |
jca <jca@openbsd.org> |
Rename the struct pollfd array, "set" -> "pfd"
"set" reminds of select(2) fd_set, and is never used elsewhere in the tree as a name for a pollfd array. No functional change.
|
#
5a102fa9 |
| 26-Oct-2015 |
jca <jca@openbsd.org> |
Those variables should be local to the functions where they are used.
Gets rid of a lot of warnings with -Wshadow. No functional change.
|
#
3037d05a |
| 26-Oct-2015 |
jca <jca@openbsd.org> |
Kill unused variable and function.
No functional change.
|
#
7231ed61 |
| 25-Oct-2015 |
jca <jca@openbsd.org> |
hms() returns a pointer to static storage, annotate the return type with "const"
No functional change.
|