Track last sent seq and read responses until a relevant one is received.
Seems like NEWRULE sometimes (not always) produces two ACKs.
Change-Id: Id650ea4db3a685a2b06d4ab29572ac8d6cfb06fe
Not 100% sure if this is how it's intended to be handled, as the failed
requests seem to produce multiple ACK messages, but at least this fixes
the immediate problem of the printed error message not matching the
request which failed.
Closes#2041
Change-Id: I2a6bf57ce996c134b44d4f3484164a39c68fc93c
- Update copyright years.
- Update Standards-Version to 4.7.2.
- Remove «Rules-Requires-Root: no» field, which is now the default.
- Remove «Priority: optional» field, which is now the default.
- Remove dependencies for essential packages now always satisfied.
- Wrap and sort fields.
- Add spaces around operators in make variables.
Change-Id: I1796fc98978a2ae17e119154210d50f7036a0b91
Add support for RHEL/AlmaLinux/Rocky Linux 9.x kernels which backport
the 'reset' parameter to nft_expr_dump function from kernel 6.2.0.
This affects all RHEL 9 family distributions with kernel 5.14.
Tested on AlmaLinux 9.7 with kernel 5.14.0-611.11.1.el9_7.x86_64
Closes#2038Closes#2037
Change-Id: I305be17cdbf7730acbc7d9b978694c7b0eb37b02
Since CLI tools don't reliably print the rules pointing to the handler
kernel module, add a dummy rule in the vicinity that contains just a
comment explaining what's there.
Change-Id: Ib5c9e6959643b3b3be5acd05203e91763b52da54
Register expression for IPv4, IPv6, and INET protocols.
Support one u32 attribute, which is the table ID.
Change-Id: If6385dab53c79c9b3de80df470fa537fbb6d33f6
Don't pass the xt_action_param into the inner functions as they don't
need it. Get the struct net pointer first and then pass that down.
Change-Id: I82e95c93ed1066bf051fae63ff7697d72265f24b
Introduce three new NG protocol flags that automatically select the matching
configured rtpengine interface based on the system's routing table:
- inbound-peer=<ip>: resolves to interface for inbound (from) direction
- outbound-peer=<ip>: resolves to interface for outbound (to) direction
- peer=<ip> resolves to interface when only one interface is required
When these flags are used, the system:
- Uses a temporary UDP socket to determine the local address assigned by routing
- Finds the first configured rtpengine interface matching that local address
- Uses that interface for the media stream
This allows dynamic interface selection based on network topology without
requiring explicit interface names in the signaling.
Closes#2033
Change-Id: I211806b9cef9d028fdb689d90ea3fe627bdf5d0d