Half-open sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I have an application that sends commands to wpa_supplicant through
the control interface. It provides simple functionality like scan,
connect to an AP or disconnect from an AP. This application runs on an
embedded Linux device.

I have a test that simulates the use case when my device passes out of
AP coverage exactly in the moment when it tries to connect to the AP.
I'm running this test in a loop and I noticed that I run out of open
file descriptors in my application's process. Checking with lsof I can
see a lot of sockets with "can't identify protocol". I do not open any
sockets in my application. So, I'm wondering if they might be from the
control interface part - there it uses unix domain sockets to send the
commands to wpa_supplicant?

I tried looking into the source code of wpa_supplicant, but it's not
so simple to identify what happens to the socket file descriptor if
the connection process is interrupted during the 4way handshake.

wpa_supplicant version: 2.0 (cannot upgrade - I have some patches from
my driver provider)

Best Regards,
Flavius

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux