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

Re: Bug#1115961: packit: Injection not working; needs adjustments to new libnet



Em sex., 26 de set. de 2025 às 08:45, Chris Hofstaedtler
<zeha@debian.org> escreveu:
>
> Hi,
>
> On Mon, Sep 22, 2025 at 11:40:14AM -0300, Joao Eriberto Mota Filho wrote:
> > Package: packit
>
> > Currently, Packit is unable to inject traffic on any network. This issue
> > began with the Trixie release, which uses the new libnet 1.3. In this
> > version, libnet 1.3 changed several functions that Packit relies on.
> >
> > Packit will need to be updated to use these new functions. The following
> > functions, which Packit currently depends on, are no longer available in
> > libnet 1.3:
> >
> >     libnet_arp_hdr
> >     libnet_ether_addr
> >     libnet_ethernet_hdr
> >     libnet_icmpv4_hdr
> >     libnet_ipv4_hdr
> >     libnet_tcp_hdr
> >     libnet_udp_hdr
>
> These names have never been exported symbols, but instead they are
> structs.
>
> Is there a reproducer showing the problem with packit?

Hi Chris,

Thanks a lot for your interest. I was mistaken sending a copy of this
bug for your. The right person is YunQiang Su, the first DD to upload
the libnet 1.3 to Sid.

To reproduce in a ease way, considering a machine 10.0.0.1 as a target:

# tcpdump -n host 10.0.0.1   (run this command in a terminal)
# packit -d 10.0.0.1  (run this command in other terminal and check
the first terminal to see if the packet was sent)

Cheers,

Eriberto


Reply to: