Re: Profiling ifconfig

2021-12-18 Thread Stuart Henderson
On 2021-12-17, Vladimir Nikishkin wrote: > 78429 ifconfig 1639744429.761947 CALL ioctl(3,SIOCSIFFLAGS,0x7f7bda80) > 78429 ifconfig 1639744660.684179 RET ioctl 0 > ``` > > I have no idea what this means, to be honest. > ioctl(3,SIOCSIFFLAGS,0x7f7bda80) seems to be the one running for >

Re: Profiling ifconfig

2021-12-17 Thread Vladimir Nikishkin
Profiling ifconfig was my first guess, I am not an experienced programmer in any sense of the word. I did the ktrace/kdump run, and the result is just 65 lines, most of which seem normal (attached). The suspicious lines below: ``` 78429 ifconfig 1639744429.761912 CALL socket(AF_INET,0x2,0) 7842

Re: Profiling ifconfig

2021-12-16 Thread Theo de Raadt
Claudio Jeker wrote: > On Thu, Dec 16, 2021 at 03:55:43PM +0800, Vladimir Nikishkin wrote: > > Hello, everyone > > > > Recently I had a problem: my system is losing network connectivity, > > although the interface (vio0 on KVM) seemed up. Restarting the > > connection with `ifconfig vio0 down` a

Re: Profiling ifconfig

2021-12-16 Thread Claudio Jeker
On Thu, Dec 16, 2021 at 03:55:43PM +0800, Vladimir Nikishkin wrote: > Hello, everyone > > Recently I had a problem: my system is losing network connectivity, > although the interface (vio0 on KVM) seemed up. Restarting the > connection with `ifconfig vio0 down` and `ifconfig vio0 up` restores the