Page MenuHomeFreeBSD
Feed Advanced Search

Apr 19 2019

tuexen created D19965: Fix various IPV6_CHECKSUM issues.
Apr 19 2019, 3:42 PM

Apr 18 2019

tuexen added a comment to D19960: Remove support for RFC2675.
In D19960#429029, @jtl wrote:

I agree with @bz about ideal process. I also agree with @kristof about the practical implications of this feature. :-)

Might a valid way forward be to write a draft, propose it, and see if anyone complains by the next IETF (July) before purging this?

Apr 18 2019, 8:21 PM

Apr 14 2019

tuexen closed D19898: Don't allow the user to set RTF_RNH_LOCKED.
Apr 14 2019, 10:19 AM
tuexen committed rS346197: When sending a routing message, don't allow the user to set the.
When sending a routing message, don't allow the user to set the
Apr 14 2019, 10:18 AM

Apr 13 2019

tuexen updated the test plan for D19898: Don't allow the user to set RTF_RNH_LOCKED.
Apr 13 2019, 2:06 PM
tuexen created D19898: Don't allow the user to set RTF_RNH_LOCKED.
Apr 13 2019, 2:06 PM
tuexen committed rS346182: When sending IPv4 packets on a SOCK_RAW socket using the IP_HDRINCL option,.
When sending IPv4 packets on a SOCK_RAW socket using the IP_HDRINCL option,
Apr 13 2019, 10:48 AM
tuexen closed D19181: Improve input validation when when using IP_HDRINCL socket option on SOCK_RAW sockets.
Apr 13 2019, 10:48 AM

Apr 11 2019

tuexen committed rS346134: Fix an SCTP related locking issue. Don't report that the TCB_SEND_LOCK.
Fix an SCTP related locking issue. Don't report that the TCB_SEND_LOCK
Apr 11 2019, 8:39 PM

Mar 26 2019

tuexen committed rS345525: Fix a double free of an SCTP association in an error path..
Fix a double free of an SCTP association in an error path.
Mar 26 2019, 8:27 AM

Mar 25 2019

tuexen committed rS345505: Initialize scheduler specific data for the FCFS scheduler..
Initialize scheduler specific data for the FCFS scheduler.
Mar 25 2019, 4:41 PM
tuexen committed rS345504: Improve locking when tearing down an SCTP association..
Improve locking when tearing down an SCTP association.
Mar 25 2019, 3:23 PM
tuexen committed rS345494: Fix the handling of fragmented unordered messages when using DATA chunks.
Fix the handling of fragmented unordered messages when using DATA chunks
Mar 25 2019, 9:47 AM

Mar 24 2019

tuexen committed rS345467: Fix build issue for the userland stack..
Fix build issue for the userland stack.
Mar 24 2019, 12:13 PM
tuexen committed rS345466: Fox more signed unsigned issues. This time on the send path..
Fox more signed unsigned issues. This time on the send path.
Mar 24 2019, 10:40 AM
tuexen committed rS345465: Fix a signed/unsigned bug when receiving SCTP messages..
Fix a signed/unsigned bug when receiving SCTP messages.
Mar 24 2019, 9:46 AM

Mar 23 2019

tuexen committed rS345461: Limit the size of messages sent on 1-to-many style SCTP sockets with the.
Limit the size of messages sent on 1-to-many style SCTP sockets with the
Mar 23 2019, 10:56 PM
tuexen committed rS345460: Limit the number of bytes which can be queued for SCTP sockets..
Limit the number of bytes which can be queued for SCTP sockets.
Mar 23 2019, 10:46 PM
tuexen closed D19355: Make RTO.Initial for TCP controllable via sysctl.
Mar 23 2019, 9:37 PM
tuexen committed rS345458: Add sysctl variable net.inet.tcp.rexmit_initial for setting RTO.Initial.
Add sysctl variable net.inet.tcp.rexmit_initial for setting RTO.Initial
Mar 23 2019, 9:37 PM
tuexen closed D19687: Fix KASSERT in tcp_output().

Committed in r345441.

Mar 23 2019, 9:20 PM
tuexen committed rS345441: Fix a KASSERT() in tcp_output()..
Fix a KASSERT() in tcp_output().
Mar 23 2019, 9:56 AM
tuexen created D19687: Fix KASSERT in tcp_output().
Mar 23 2019, 6:55 AM

Mar 8 2019

tuexen committed rS344925: Fix locking bug..
Fix locking bug.
Mar 8 2019, 6:18 PM
tuexen committed rS344924: Some cleanup and consistency improvements..
Some cleanup and consistency improvements.
Mar 8 2019, 6:16 PM

Mar 7 2019

tuexen committed rS344872: After removing an entry from the stream scheduler list, set the pointers.
After removing an entry from the stream scheduler list, set the pointers
Mar 7 2019, 8:43 AM

Mar 3 2019

tuexen committed rS344742: Allocate an assocition id and register the stcb with holding the lock..
Allocate an assocition id and register the stcb with holding the lock.
Mar 3 2019, 7:55 PM

Mar 2 2019

tuexen committed rS344726: Remove debug output..
Remove debug output.
Mar 2 2019, 4:10 PM
tuexen committed rS344724: Allow SCTP stream reconfiguration operations only in ESTABLISHED.
Allow SCTP stream reconfiguration operations only in ESTABLISHED
Mar 2 2019, 2:30 PM
tuexen committed rS344723: Handle the case when calling the IPPROTO_SCTP level socket option.
Handle the case when calling the IPPROTO_SCTP level socket option
Mar 2 2019, 2:15 PM
tuexen committed rS344722: Use correct buffer sizes in sctp_get[lp]addrs()..
Use correct buffer sizes in sctp_get[lp]addrs().
Mar 2 2019, 1:16 PM
tuexen committed rS344721: Report the correct length when using the IPPROTO_SCTP level.
Report the correct length when using the IPPROTO_SCTP level
Mar 2 2019, 1:12 PM

Mar 1 2019

tuexen committed rS344708: Honor the memory limits provided when processing the IPPROTO_SCTP.
Honor the memory limits provided when processing the IPPROTO_SCTP
Mar 1 2019, 6:47 PM
tuexen committed rS344704: Improve consistency, not functional change..
Improve consistency, not functional change.
Mar 1 2019, 3:58 PM

Feb 27 2019

tuexen added a comment to D19371: net/packetdrill: update to 2019/02/26 head.

Looks good to me.

Feb 27 2019, 9:20 AM
tuexen added a comment to D19355: Make RTO.Initial for TCP controllable via sysctl.

The unit would be milli seconds, not seconds for the sysctl-variable. In general, I agree that it would be good to give at least the unit for sysctl variables, but

Feb 27 2019, 9:18 AM
tuexen added inline comments to D19371: net/packetdrill: update to 2019/02/26 head.
Feb 27 2019, 7:42 AM

Feb 25 2019

tuexen created D19355: Make RTO.Initial for TCP controllable via sysctl.
Feb 25 2019, 9:22 PM
tuexen committed rS344516: MFC r344428:.
MFC r344428:
Feb 25 2019, 12:36 PM
tuexen committed rS344515: MFC r343439:.
MFC r343439:
Feb 25 2019, 12:33 PM
tuexen committed rS344514: MFC r343920:.
MFC r343920:
Feb 25 2019, 12:25 PM
tuexen committed rS344512: MFC r343920:.
MFC r343920:
Feb 25 2019, 10:51 AM
tuexen added a comment to D18960: Patch to MFC TCP reassembly rewrite to stable/11.
In D18960#413211, @rscheff_gmx.at wrote:

Quick comment: DSACKs are not working in HEAD. Potentially, the tlenp is set to zero for the duplicate segment, so that tcp_update_sack_list is not called to build the DSACK entry to the next ACK. If this is the reason, this patch may break DSACK in BSD11

This is not to be a shipstopper, but a heads-up as the DSACK not working may be related hereto...

Feb 25 2019, 10:46 AM
tuexen closed D18960: Patch to MFC TCP reassembly rewrite to stable/11.
Feb 25 2019, 10:38 AM
tuexen committed rS344511: Backport the new TCP reassembly code from head to stable/11..
Backport the new TCP reassembly code from head to stable/11.
Feb 25 2019, 10:38 AM

Feb 23 2019

tuexen added a comment to D18960: Patch to MFC TCP reassembly rewrite to stable/11.
In D18960#413211, @rscheff_gmx.at wrote:

Quick comment: DSACKs are not working in HEAD. Potentially, the tlenp is set to zero for the duplicate segment, so that tcp_update_sack_list is not called to build the DSACK entry to the next ACK. If this is the reason, this patch may break DSACK in BSD11

This is not to be a shipstopper, but a heads-up as the DSACK not working may be related hereto...

Can you open a PR for this against head? Is it also broken in stable/12?

Feb 23 2019, 10:23 AM

Feb 21 2019

tuexen accepted D19287: Check the index hasn't changed after writing the cmp entry.
Feb 21 2019, 10:02 PM
tuexen added inline comments to D19181: Improve input validation when when using IP_HDRINCL socket option on SOCK_RAW sockets.
Feb 21 2019, 7:20 PM
tuexen updated the diff for D19181: Improve input validation when when using IP_HDRINCL socket option on SOCK_RAW sockets.

Integrate jtl@'s suggestion.

Feb 21 2019, 7:19 PM
tuexen committed rS344433: The receive buffer autoscaling for TCP is based on a linear growth, which.
The receive buffer autoscaling for TCP is based on a linear growth, which
Feb 21 2019, 10:35 AM
tuexen closed D18375: Improve receive window autoscaling for TCP.
Feb 21 2019, 10:35 AM
tuexen updated the diff for D18960: Patch to MFC TCP reassembly rewrite to stable/11.

Merge r344428.

Feb 21 2019, 10:17 AM
tuexen committed rS344428: This patch addresses an issue brought up by bz@ in D18968:.
This patch addresses an issue brought up by bz@ in D18968:
Feb 21 2019, 9:35 AM
tuexen closed D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.
Feb 21 2019, 9:35 AM

Feb 20 2019

tuexen added a comment to D19252: Unwire pages when cleaning up the kcov state.

Latest version tested again with running kcovtrace /usr/bin/uptime in a loop and in addition with running syzkaller. Both work fine.

Feb 20 2019, 7:29 PM
tuexen added inline comments to D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.
Feb 20 2019, 7:26 PM
tuexen updated the diff for D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.

Address bz@'s comment.

Feb 20 2019, 7:23 PM
tuexen retitled D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled from Avoid dereferencing a NULL point when TCP_REASS_LOGGING is enabled to Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.
Feb 20 2019, 6:05 PM
tuexen closed D18941: RTO.Initial = 1 second for TCP.
Feb 20 2019, 6:04 PM
tuexen committed rS344368: Reduce the TCP initial retransmission timeout from 3 seconds to.
Reduce the TCP initial retransmission timeout from 3 seconds to
Feb 20 2019, 6:04 PM
tuexen committed rS344367: Use exponential backoff for retransmitting SYN segments as specified.
Use exponential backoff for retransmitting SYN segments as specified
Feb 20 2019, 5:57 PM
tuexen closed D18974: Use exponential backoff also for SYN segments.
Feb 20 2019, 5:57 PM
tuexen added a comment to D19252: Unwire pages when cleaning up the kcov state.

Using this version, the memory lockup observed does not occur anymore. Tested with running kcovtrace /usr/bin/uptime in a loop.

Feb 20 2019, 10:47 AM

Feb 19 2019

tuexen created D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.
Feb 19 2019, 10:14 PM
tuexen added inline comments to D19252: Unwire pages when cleaning up the kcov state.
Feb 19 2019, 9:26 PM

Feb 17 2019

tuexen requested changes to D19000: Avoid cwnd update for SYN sequence space.

Hi Richard,

Feb 17 2019, 11:05 AM

Feb 15 2019

tuexen committed rS344148: Fix a byte ordering issue for the advertised receiver window in ACK.
Fix a byte ordering issue for the advertised receiver window in ACK
Feb 15 2019, 9:45 AM

Feb 13 2019

tuexen created D19181: Improve input validation when when using IP_HDRINCL socket option on SOCK_RAW sockets.
Feb 13 2019, 8:00 PM

Feb 12 2019

tuexen committed rS344048: Improve input validation for raw IPv4 socket using the IP_HDRINCL.
Improve input validation for raw IPv4 socket using the IP_HDRINCL
Feb 12 2019, 10:17 AM
tuexen closed D18834: Check IPv4 options when using IP_HDRINCL socket option on SOCK_RAW sockets.
Feb 12 2019, 10:17 AM

Feb 11 2019

tuexen committed rS344012: Fix flags used when compiling kern_kcov.c and subr_coverage.c..
Fix flags used when compiling kern_kcov.c and subr_coverage.c.
Feb 11 2019, 3:38 PM
tuexen closed D19135: Fix compiler flags related to kernel coverage.
Feb 11 2019, 3:38 PM
tuexen added inline comments to D19135: Fix compiler flags related to kernel coverage.
Feb 11 2019, 2:28 PM
tuexen updated the diff for D19135: Fix compiler flags related to kernel coverage.

Follow Andrew's advice.

Feb 11 2019, 2:27 PM
tuexen added inline comments to D19135: Fix compiler flags related to kernel coverage.
Feb 11 2019, 1:40 PM

Feb 10 2019

tuexen added inline comments to D19135: Fix compiler flags related to kernel coverage.
Feb 10 2019, 4:29 PM
tuexen updated the diff for D19135: Fix compiler flags related to kernel coverage.

Use underscores instead of hyphens as suggested by Ed.

Feb 10 2019, 4:27 PM
tuexen added a comment to D19135: Fix compiler flags related to kernel coverage.

I tested this patch on a kernel build with clang in base and with the amd64-xtoolchain-gcc cross toolchain.

Feb 10 2019, 2:23 PM
tuexen committed rS343961: Fix a locking issue when reporing outbount messages..
Fix a locking issue when reporing outbount messages.
Feb 10 2019, 2:02 PM
tuexen committed rS343960: Fix a locking issue in the IPPROTO_SCTP level SCTP_PEER_ADDR_THLDS socket.
Fix a locking issue in the IPPROTO_SCTP level SCTP_PEER_ADDR_THLDS socket
Feb 10 2019, 1:55 PM
tuexen committed rS343954: Fix a locking bug in the IPPROTO_SCTP level SCTP_EVENT socket option..
Fix a locking bug in the IPPROTO_SCTP level SCTP_EVENT socket option.
Feb 10 2019, 10:42 AM
tuexen committed rS343951: Fix locking for IPPROTO_SCTP level SCTP_DEFAULT_PRINFO socket option..
Fix locking for IPPROTO_SCTP level SCTP_DEFAULT_PRINFO socket option.
Feb 10 2019, 8:29 AM

Feb 9 2019

tuexen created D19135: Fix compiler flags related to kernel coverage.
Feb 9 2019, 2:48 PM

Feb 8 2019

tuexen closed D19071: Get TCP CDG CC working if net.inet.tcp.cc.cdg.smoothing_factor = 0 .
Feb 8 2019, 8:43 PM
tuexen committed rS343920: Ensure that when using the TCP CDG congestion control and setting the.
Ensure that when using the TCP CDG congestion control and setting the
Feb 8 2019, 8:43 PM

Feb 5 2019

tuexen added a comment to D19071: Get TCP CDG CC working if net.inet.tcp.cc.cdg.smoothing_factor = 0 .

Suggest moving stailq flush loops out of cdg_cb_destroy() into an inline function, changing smoothing_factor sysctl to a SYSCTL_PROC with custom handler similar to the exp_backoff_scale sysctl, and calling flush function from both cdg_cb_destroy() and sysctl handler when smoothing_factor is set to zero

Feb 5 2019, 2:39 PM
tuexen committed rS343770: Only reduce the PMTU after the send call. The only way to increase it, is.
Only reduce the PMTU after the send call. The only way to increase it, is
Feb 5 2019, 10:29 AM
tuexen committed rS343769: Fix an off-by-one error in the input validation of the SCTP_RESET_STREAMS.
Fix an off-by-one error in the input validation of the SCTP_RESET_STREAMS
Feb 5 2019, 10:14 AM

Feb 4 2019

tuexen committed rS343742: Add missing SCTP_EOR entry..
Add missing SCTP_EOR entry.
Feb 4 2019, 1:31 PM

Feb 3 2019

tuexen created D19071: Get TCP CDG CC working if net.inet.tcp.cc.cdg.smoothing_factor = 0 .
Feb 3 2019, 1:09 PM

Feb 1 2019

tuexen closed D19033: Initialise snd_wnd on the server side always before processing the ack.
Feb 1 2019, 12:33 PM
tuexen committed rS343661: When handling SYN-ACK segments in the SYN-RCVD state, set tp->snd_wnd.
When handling SYN-ACK segments in the SYN-RCVD state, set tp->snd_wnd
Feb 1 2019, 12:33 PM
tuexen updated the diff for D19033: Initialise snd_wnd on the server side always before processing the ack.

Simplification of the fix within the RACK code.

Feb 1 2019, 9:01 AM

Jan 31 2019

tuexen added a comment to D19033: Initialise snd_wnd on the server side always before processing the ack.
In D19033#407072, @rscheff_gmx.at wrote:

RACK seems to have a similar code in rack_do_syn_recv.

Jan 31 2019, 12:10 PM
tuexen updated the diff for D19033: Initialise snd_wnd on the server side always before processing the ack.

Also fix the issue in the RACK stack.

Jan 31 2019, 12:09 PM

Jan 30 2019

tuexen created D19033: Initialise snd_wnd on the server side always before processing the ack.
Jan 30 2019, 4:02 PM

Jan 28 2019

tuexen closed D18996: Disallow broken ECN TCP stacks from using ECN.
Jan 28 2019, 12:46 PM
tuexen committed rS343525: Fix the detection of ECN-setup SYN-ACK packets..
Fix the detection of ECN-setup SYN-ACK packets.
Jan 28 2019, 12:45 PM
tuexen requested changes to D18996: Disallow broken ECN TCP stacks from using ECN.

Please apply the same fix to tcp_stacks/rack.c.

Jan 28 2019, 12:23 PM
tuexen accepted D18996: Disallow broken ECN TCP stacks from using ECN.
Jan 28 2019, 12:04 PM