Open meh opened 7 years ago
DHCP, NBNS, LLMNR, mDNS
Any known active work on an IPv6 builder? Just want to put it out there before I start looking myself.
@jasonish not that I know of :panda_face:
IPv6 parser.
IPIP builder. I've tried using the existing IPv4 Builder to create an encapsulated IP in IP packet, but setting the payload of the new packet to the old packet seems to result in a corrupt packet. I suspect there are some finalization checks that need to be done when two IPv4 headers are present.
An alternative approach would be to expose the finalisation of a layer for arbitrary sublayers. Any new layer can then create a builder for an existing layer via trait extension.
i.e
pub trait UdpBuilderExt {
fn udp(self) -> udp::Builder;
}
impl UdpBuilderExt for ipv4::Builder {
fn udp(self) -> udp::Builder{
// ....
}
};
impl UdpBuilderExt for ipv6::Builder {
fn udp(self) -> udp::Builder{
// ....
}
};
I can do a PoC if there is interest
If anyone wants a protocol that's not been implemented yet to be added, just ask here.
Protocols