Udhcpc : add kernel packet priority setting (SK_PRIO)

My ISP (Orange France) needs that DHCPv4 and DHCPv6 related packets are sent with priority 6 (PCP 6), more info here (in French):

https://lafibre.info/remplacer-livebox/durcissement-du-controle-de-loption-9011-et-de-la-conformite-protocolaire/msg984140

This patch to odhcp6c was merged for Openwrt 25.12 to fix the v6 part:

https://github.com/openwrt/odhcp6c/pull/74

But udhcpc doesn't support this for the v4 part, so Orange users needs to set nft tables just for that.

The same author made the same patch for udhcpc that you can find here:

https://lists.busybox.net/pipermail/busybox/2023-April/090262.html

But is seems busybox never integrated the patch (and it seems busybox website is dead?)

Could it be possible to integrate this patch to Openwrt udhcpc version ?

@bigboo
An issue at GitHub would suite better in your and this case.
Are you able to do it yourself, open up an issue and provide enough details, or do you require assistance with it?

1 Like

Sure I can do it, thank you

EDIT : done

2 Likes

Maybe we can find here in the forum even someone who could prepare the patch and add the merge request to it. I did not checked the full details but it looks or sound like a rather small change. But this french ISP is not small and I assume lot of potentially affected users. Thanks so far.

@bigboo you still have this ISP for testing right?

Yes still using Orange