Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-25 | Fixed compilation due usage of non existing macro (#474) | Yury Yaroshevich | |
2020-05-25 | Adjust `usrsctp_handle_timers` signature and implementation (#470) | Yury Yaroshevich | |
* usrsctp_handle_timers should accept mcecs as argument. * Renamed argument to have more clear name. * Renamed function to match behavior. | |||
2020-05-23 | Add support for SCTP_ASSOC_SUPPORTS_INTERLEAVING | Michael Tuexen | |
2020-05-23 | Don't reference an stcb which is about to be freed. | Michael Tuexen | |
2020-05-19 | Hopefully unbreak Windows builds. | Michael Tuexen | |
2020-05-19 | Use SCTP_SNPRINTF(). | Michael Tuexen | |
2020-05-18 | Cleanups. | Michael Tuexen | |
2020-05-18 | Remove unused variable. | Michael Tuexen | |
2020-05-18 | Address some warnings. | Michael Tuexen | |
2020-05-18 | Fix logical condition. | Michael Tuexen | |
2020-05-18 | Fix format string. | Michael Tuexen | |
2020-05-18 | Fix another warning. | Michael Tuexen | |
2020-05-18 | Fix warning by cpp-check. | Michael Tuexen | |
2020-05-18 | Fix logic error. Spotted by cpp-check. | Michael Tuexen | |
2020-05-18 | Address a warning by cpp-check. | Michael Tuexen | |
2020-05-18 | Fix format strings as reported by cpp-check. | Michael Tuexen | |
2020-05-18 | Check return value of snprintf(). | Michael Tuexen | |
This should fix https://github.com/sctplab/usrsctp/issues/453. | |||
2020-05-18 | Sync with FreeBSD. | Michael Tuexen | |
2020-05-15 | Add usrsctp_get_ulpinfo getter. (#467) | Taylor Brandstetter | |
2020-05-12 | fix truncated writing warning (#464) | Felix Weinrank | |
2020-05-12 | Fix copy and paste error. | Michael Tuexen | |
2020-05-11 | Ensure the stcb belongs to the inp when running the iterator. | Michael Tuexen | |
2020-05-10 | Ensure we have a net when starting a T3 timer. | Michael Tuexen | |
2020-05-10 | Only drop DATA chunk with lower priority as specified in RFC 7496. | Michael Tuexen | |
2020-05-05 | Avoid underflowing a variable, which would result in taking more | Michael Tuexen | |
data from the stream queues then needed. Thanks to Timo Voelker for finding this bug and providing a fix. | |||
2020-05-05 | Undo earlier change, since it is incorrect. | Michael Tuexen | |
2020-05-05 | Fix the computation of the numbers of entries of the mapping array to | Michael Tuexen | |
look at when generating a SACK. This was wrong in case of sequence numbers wrap arounds. Thanks to Gwenael FOURRE for reporting the issue for the userland stack: https://github.com/sctplab/usrsctp/issues/462 | |||
2020-05-05 | user_recv_thread: set fd to -1 when closing (#461) | Matthew Waters | |
Fixes a busy loop of the usrsctp UDP recv thread attempting to shutdown usrsctp with usrsctp_finish(). Usually, destroying the udp socket in recv_thread_destroy() would result in the udp receive thread returning an error (-1) with errno set to (-9) EDABF. In other cases, sometimes recvmsg would return 0 without an error being reported in errno. My assumption here is that the fd number would be reused for some other purpose. Explicitly set the socket/fd variables to -1 when performing a close()/closesocket() on them so that any future recv*() calls will return with an error. Also move the thread closure to the fd close block so that the threads are definitley closed before we continue. | |||
2020-04-29 | Fix #458 | Michael Tuexen | |
2020-04-22 | Improve input validation when processing AUTH chunks. | Michael Tuexen | |
Thanks to Natalie Silvanovich from Google for finding and reporting the issue found by her in the SCTP userland stack. | |||
2020-04-22 | Improve input validation when processing AUTH chunks. | Michael Tuexen | |
Thanks to Natalie Silvanovich from Google for finding and reporting the issue found by her in the SCTP userland stack. | |||
2020-04-20 | Honor sysctl variable sctp_no_csum_on_loopback not only for SCTP/IPv4. | Michael Tuexen | |
2020-04-11 | Zero out pointers for consistency. | Michael Tuexen | |
This was found by running a syzkaller instance on a INVARIANTS kernel. | |||
2020-04-06 | Be more pedantic when starting / stopping a timer. | Michael Tuexen | |
2020-03-28 | Deal with AF_CONN address in SCTP_STATUS. | Michael Tuexen | |
Thanks to Taylor Brandstetter for making me aware of the problem and suggesting a fix in https://github.com/sctplab/usrsctp/pull/450 | |||
2020-03-28 | Fix build. | Michael Tuexen | |
2020-03-28 | Fix time to ticks conversion and vice versa. Overflows were not | Michael Tuexen | |
handled correctly. | |||
2020-03-27 | More uint32_t cleanups. | Michael Tuexen | |
2020-03-27 | Use uint32_t where intended. | Michael Tuexen | |
2020-03-25 | Don't optimize for timers when the socket is gone. This fixes | Michael Tuexen | |
another bug where the COOKIE was not retransmitted if the socket was closed. | |||
2020-03-25 | Fix handling of accepted sockets. | Michael Tuexen | |
2020-03-25 | Fix FreeBSD vnet stuff and cleanup debug output. | Michael Tuexen | |
2020-03-25 | Fix lock name in Windows. | Michael Tuexen | |
2020-03-25 | Only call panic() when building with INVARIANTS. | Michael Tuexen | |
2020-03-24 | Cleanup the timer code and also stricly check the arguments | Michael Tuexen | |
used when starting or stopping a timer. | |||
2020-03-24 | Add some lock asserts, which will be used shortly. | Michael Tuexen | |
2020-03-23 | More timer cleanups. | Michael Tuexen | |
2020-03-21 | Get rid of unnecessary include in fuzzer (#449) | Taylor Brandstetter | |
2020-03-20 | Remove a set, but unused variable. | Michael Tuexen | |
This should fix https://github.com/sctplab/usrsctp/issues/447 | |||
2020-03-20 | Fix a NET_EPOCH bug. | Michael Tuexen | |