Re: Run script as root without sudo

2021-08-18 Thread Matt Garber
> That would require root to put the file there and then to reboot the > machine. > > Ari As these are EC2 instances, you should be able to use user-data provided to the instance’s configinit (like cloud-init) with firstboot_pkgs_list=“sudo” similar to Colin’s example here[1], and then run your

Re: vtnet rxcsum broken for forwarding RELENG_13 ?

2022-04-11 Thread Matt Garber
On Mon, Apr 11, 2022 at 7:15 PM mike tancsa wrote: > I was setting up a VM pf firewall and noticed I was not able to nat out > for some reason. Looking at the pcap, it seems when the vm is in > forwarding mode, I get tcp checksum errors. If I do a > > ifconfig vtnet1 -rxcsum > > ifconfig vtnet0 -

Re: vtnet rxcsum broken for forwarding RELENG_13 ?

2022-04-12 Thread Matt Garber
On Tue, Apr 12, 2022 at 4:01 PM Patrick M. Hausen wrote: > Hi Kristof, hi all, > > > Am 12.04.2022 um 21:48 schrieb Kristof Provost : > > That PF checksum issue was fixed > c110fc49da2995d10d60d908af0838ecb4be9bee, back in 2015. > > I still have abysmal performance with pf NAT in a DigitalOcean d

Re: Slow WAN traffic to FreeBSD hosts but not to Linux hosts---how to debug/fix?

2023-01-30 Thread Matt Garber
> > Any help/insight is gratefully appreciated. > > > > Cheers, > > > > Paul. > > > > sysctl net.inet.tcp.cc.algorithm=htcp > > I would set "htcp" on the server and home computer to improve through in > your type of situation. There may be other FreeBSD sysctls that have bad defaults in this sce