Ir à oferta completa

MODIFYING NFTABLES FOR EXTENDED PAYLOAD INSPECTION

Descrição da oferta de emprego

I'm seeking assistance with modifying nftables to inspect traffic payloads up to bytes.
Currently, Linux limits inspection to 255 bytes, which is inadequate for my needs.
Error messages I've encountered suggest I need to amend nft_payload.
and possibly other files.
I would like this on Debian Key Areas of Assistance Needed.
- Code Modification.
Expertise in refactoring code for extended inspection capabilities.
- Identifying Relevant Files.
Knowledge of the Linux kernel structure and ability to pinpoint necessary files for modification.
The primary goal of these changes is to increase the payload inspection limit beyond the current 255 bytes.
Ideal skills for this job include deep understanding of nftables and Linux kernel coding, with experience in network packet inspection.
Please see notes below; I am trying to use nftables to inspect payloads within the inner header (@ih), I would like to inspect the whole of a payload (up to bytes), however it seems that Linux will only allow up to 255 bytes of the header; user@raspberrypi:~ $ sudo nft -f [login to view URL] [login to view URL]:.
Error.
Could not process rule.
Numerical result out of range        meta l4proto tcp tcp dport @th,x01 accept                                         ^^^^^^^^^^ note.
the depth of is in bits, not bytes.
I have been told that the limit is 255 bytes; [login to view URL] static const struct nla_policy nft_payload_policy[NFTA_PAYLOAD_MAX + 1] = {    [NFTA_PAYLOAD_SREG]       = {.
ype = NLA_U32 },    [NFTA_PAYLOAD_DREG]       = {.
ype = NLA_U32 },    [NFTA_PAYLOAD_BASE]       = {.
ype = NLA_U32 },    [NFTA_PAYLOAD_OFFSET]       = NLA_POLICY_MAX(NLA_BE),    [NFTA_PAYLOAD_LEN]       = NLA_POLICY_MAX(NLA_BE),    [NFTA_PAYLOAD_CSUM_TYPE]   = {.
ype = NLA_U32 },    [NFTA_PAYLOAD_CSUM_OFFSET]   = NLA_POLICY_MAX(NLA_BE),    [NFTA_PAYLOAD_CSUM_FLAGS]   = {.
ype = NLA_U32 }, }; I would like some assistence to be able to inspect traffic up to bytes within the payload.
I believe that this would require amending nft_payload.
and also other files.
I have amended nft_payload.
to;    [NFTA_PAYLOAD_OFFSET]       = NLA_POLICY_MAX(NLA_BE),    [NFTA_PAYLOAD_LEN]       = NLA_POLICY_MAX(NLA_BE),    [NFTA_PAYLOAD_CSUM_TYPE]   = {.
ype = NLA_U32 },    [NFTA_PAYLOAD_CSUM_OFFSET]   = NLA_POLICY_MAX(NLA_BE), recompiled and still experience the same error.
[login to view URL] contains; table netdev mytable { chain mychain { type filter hook ingress device eth0 priority 0; policy accept; # Ensure this rule matches only TCP packets meta l4proto tcp tcp dport @ih,x01 accept } } to apply this; user@raspberrypi:~ $ sudo nft -f [login to view URL] What I would like is the ability to then apply nftables using netdev, inspecting traffic upto bytes, so making this work and then how I can easily patch Debian so that if there's updates to Debian it doesn't break my nftables.
Please note that might be other files that are required to be amended, using chatGpt it seems to suggest other (userland) files.
thank you.
Linux Programação C++ Programação C Rede de Administração Arquitetura de software ID do Projeto.
# Sobre o projeto 20 propostas Aberto para ofertas Projeto remoto Ativo em 1 hora atrás
Ir à oferta completa

Detalhes da oferta

Empresa
  • Indeterminado
Localidade
  • Em todo Portugal
Endereço
  • Indeterminado - Indeterminado
Data de publicação
  • 11/11/2024
Data de expiração
  • 09/02/2025
NURSE FOR SENIOR CARE IN GERMANY
Eugenia talent recruitment

Benefits: • apartment accommodation can be provided for the initial quarter... • minimum 3 years of professional nursing experience for candidates without a diploma... they are in search of empathetic and proficient nursing staff with expertise in nursing or medicine, capable of offering thorough care......

Customer Support with French & English for Search Engine
Paco recrutiment

Twoje zadania: możliwość pomocy użytkownikom w zakresie przedsprzedaży, zapytań ogólnych i problemów związanych z pomocą techniczną za pośrednictwem telefonu, poczty elektronicznej, czatu i kanałów wiadomości społecznościowych (zgodnie z przydzielonymi kanałami) możliwość dostosowania głosu i......

Customer Support with Dutch & English for Search Engine
Paco recrutiment

Twoje zadania: możliwość pomocy użytkownikom w zakresie przedsprzedaży, zapytań ogólnych i problemów związanych z pomocą techniczną za pośrednictwem telefonu, poczty elektronicznej, czatu i kanałów wiadomości społecznościowych (zgodnie z przydzielonymi kanałami) możliwość dostosowania głosu i......

Customer Support with German & English for Insurance Company
Paco recrutiment

Firma: największa na świecie notowana na giełdzie firma zajmująca się ubezpieczeniami majątkowymi i osobistymi... 30] umowa na czas określony 6 miesięcy z możliwością przedłużenia procesy rekrutacyjne online konkurencyjne wynagrodzenie i system premiowy: 1100 € brutto x 14 miesięcy do 100 €......

Customer service german (m,f) banking lisbon
Personalbüro u. herrmann

The candidates book their own transportation and we will reimburse them fully (up to 700€ for external relocators and up to 150€ for internals)... job description:you will be a single point of contact for the bank's clients for different types of inquiriesyou are able to manage all different types of......

Bilingual Jobs in Portugal (M/F)
Get The Job

For employment beyond two years, a permanent contract may be offered... employment term: initial contracts of 12 months, extendable for another 12 months... accommodation benefit: for those staying in designated apartments, this benefit is tax-free... meal allowance: preloaded debit card for tax-free......

Customer service german (m,f) banking
Personalbüro u. herrmann

Job description:you will be a single point of contact for the bank's clients for different types of inquiriesyou are able to manage all different types of inquiries generated via inbound activities such as chat and email... start: asap banking project: german on-siterole: as customer service agent (m/f/d)......

Enfermeiros - vários serviços - UK
Cpl Healthcare

As you can see, there's a lot for you to do here... you'll also be part of working for the country's leading centre for rare + complex conditions, along with 1 of the largest transplant centres... our cqc rating of 'good' is proof that we are doing something right for our patients and staff......

Customer service german (m,f) banking
Personalbüro u. herrmann

Job description:you will be a single point of contact for the bank's clients for different types of inquiriesyou are able to manage all different types of inquiries generated via inbound activities such as chat and email... banking project: german on-siterole: as customer service agent (m/f/d) for german......

STATUSQ APPS LLP
STATUSQ APPS LLP

The competitive pricing of the premium version ensures excellent value for the features offered... statusq provides intuitive editing tools that make it easy for users to customize their video statuses... outros dados de posição statusq offers a wide range of professionally designed templates for users......