Hi all -- Just circling back for some feedback regarding the packet capture PHP extension :)
Also, a quick errata to my original posting: the intended architectures are x86_64 and arm64. In the meantime, I've also created a FFI counterpart library: https://github.com/rtckit/php-pcap-ffi -- this is intended as a drop in replacement and not subject to this PECL request (shipping it as a Composer package is just fine). Looking forward to some input, thank you! On Tue, 1 Sep 2020 at 20:20, Ciprian Dosoftei <[email protected]> wrote: > Hello everyone! > > I would like to submit my pcap extension to PECL and maintain its code and > documentation: > > URL: https://github.com/rtckit/php-pcap-ext > License: MIT > Binds to: libpcap > * URL: https://www.tcpdump.org/ > * License: 3-clause BSD > > Its purpose is to provide bindings to libpcap (the library powering tools > such as tcpdump and wireshark) and expose the packet flow as a PHP stream, > thus no new classes/functions are added to the user space, only the `pcap` > stream wrapper. Where available, the extension supports the option to put > the stream in non-blocking mode, facilitating its use in stream_select() > loops (or more elaborate event loop frameworks such as ReactPHP etc). > > From an OS/architecture standpoint, the extension targets Linux on x86_64 > and amd64; the target PHP version is >= 7.4 and actively testing against > PHP 8. > > Best, > Ciprian > -- Best Regards, Ciprian Dosoftei The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message. Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.
