Hi, Le 16/09/2020 à 22:45, Ciprian Dosoftei a écrit : > Hi all -- > > Just circling back for some feedback regarding the packet capture PHP > extension :)
> URL: https://github.com/rtckit/php-pcap-ext > I've also created a FFI counterpart > library: https://github.com/rtckit/php-pcap-ffi Some comments You have some PR to review on both projects ;) This extension (or library) requires high privileges This mean it can only be used by root user, of with a capability enhanced binary (cap_net_raw) This probably reduce a lot its usage What is the benefit of maintaining an extension if you already have good FFI bindings ? Especially as the extension target PHP >= 7.4 which have FFI I will understand better an extension for PHP < 7.4 when FFI is not available. Also an extension is installed system-wide, but this one won't be usable by normal users, so not really useful, while the library can be included only for a project (composer way). Regards, Remi -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php