Page MenuHomeFreeBSD

IP address parsing in netgraph eating too many characters
ClosedPublic

Authored by markus_stoffdv.at on Sep 20 2020, 8:40 AM.
Referenced Files
Unknown Object (File)
Tue, Mar 12, 5:42 AM
Unknown Object (File)
Feb 18 2024, 2:22 PM
Unknown Object (File)
Feb 3 2024, 6:53 PM
Unknown Object (File)
Dec 23 2023, 12:27 AM
Unknown Object (File)
Dec 12 2023, 3:46 PM
Unknown Object (File)
Oct 20 2023, 1:37 AM
Unknown Object (File)
Aug 16 2023, 8:53 AM
Unknown Object (File)
Aug 16 2023, 7:22 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have also filed a corresponding bug a couple of days ago: Bug 249327

After looking at your abandoned review (D26420) where you add parsing of IPv6 addresses. I wondered if we could use the generic inet_aton(3) functions available from kernel space?

P/S. Please add full context to your patches.
svn diff --diff-cmd = diff -x -U999999> change.diff
https://wiki.freebsd.org/Phabricator

After looking at your abandoned review (D26420) where you add parsing of IPv6 addresses. I wondered if we could use the generic inet_aton(3) functions available from kernel space?

I agree, this would probably have been the better than rolling the parser by hand. However, I think the man page leaves some room for improvement regarding it's IPv6 support.

I'm fine with this fix for a special case.
I agree, that a more complete approach would be fine, but this can be done in a later stage.

This revision is now accepted and ready to land.Sep 20 2020, 7:04 PM

Do you have a committer for this patch?