Hello,

this is what Janne Johansson said in the earlier message:
"Since 6.1 I think the max is 2M, and not 256k."

Therefore, not surprised if 4MB will fail.

--
Regards,
Ville

On 14 September 2017 at 21:30, Andreas Krüger <a...@patientsky.com> wrote:
> I do manage to read the manual, but let me clarify this. I am not
> allowed to set a buffer larger than 256KB with iperf:
>
> $ uname -a
> OpenBSD odn1-fw-odn1-01 6.0 GENERIC.MP#0 amd64
>
> $ iperf -s -w 256KB
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size:  256 KByte
> ------------------------------------------------------------
>
> $ iperf -s -w 4MB
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 16.0 KByte (WARNING: requested 4.00 MByte)
> ------------------------------------------------------------
> $
>
> ANDREAS KRÜGER
> CTO Hosting and Infrastructure
>
> +45 51808863
> a...@patientsky.com
>
>
>
> PatientSky AS
> Hovfaret 17 B, NO-0275 Oslo, Norway
> patientsky.com
>
>
>
>
> 2017-09-14 19:46 GMT+02:00 Chris Cappuccio <ch...@nmedia.net>:
>> ipsec tunnels don't use TCP
>>
>> iperf has the -w option
>>
>> Andreas Kr??ger [a...@patientsky.com] wrote:
>>> How would i set i for ipsec tunnels or iperf etc. then?
>>> ANDREAS KR??GER
>>> CTO Hosting and Infrastructure
>>>
>>> +45 51808863
>>> a...@patientsky.com
>>>
>>>
>>>
>>> PatientSky AS
>>> Hovfaret 17 B, NO-0275 Oslo, Norway
>>> patientsky.com
>>>
>>>
>>>
>>>
>>> 2017-09-14 13:10 GMT+02:00 Janne Johansson <icepic...@gmail.com>:
>>> >
>>> > 2017-09-14 13:08 GMT+02:00 Janne Johansson <icepic...@gmail.com>:
>>> >>
>>> >> Since 6.1 I think the max is 2M, and not 256k. Many programs will also
>>> >> allow you to bump limits using setsockopt.
>>> >>
>>> >>
>>> >
>>> > httpd.conf:
>>> > server "secret.site" {
>>> >         tcp {
>>> >                 socket buffer 2097152
>>> >         }
>>> >
>>> > rsyncd.conf:
>>> >  ...
>>> >         socket options = SO_SNDBUF=2097152
>>> >
>>> >
>>> > --
>>> > May the most significant bit of your life be positive.
>

Reply via email to