#
3a2cb65b |
| 08-Nov-2024 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Support printing of IPv6 addresses in error message
Replace inet_ntoa(3) with inet_ntop(3). This supporting the printing of IPv6 IP addresses in addition to IPv4 IP addresses in error mess
ipfilter: Support printing of IPv6 addresses in error message
Replace inet_ntoa(3) with inet_ntop(3). This supporting the printing of IPv6 IP addresses in addition to IPv4 IP addresses in error message.
MFC after: 1 week
show more ...
|
#
858a7a27 |
| 07-Nov-2024 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Close a bracket in the poolnode error message
When a node in a tree is discovered in error, i.e. duplicate, the IP address of the node is printed but no closing bracket completes the node
ipfilter: Close a bracket in the poolnode error message
When a node in a tree is discovered in error, i.e. duplicate, the IP address of the node is printed but no closing bracket completes the node in the message. Fix this.
MFC after: 1 week
show more ...
|
#
470c680c |
| 07-Nov-2024 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Print the pool name when adding a poolnode fails
Printing the pool node (IP address) only leads to speculation which pool the failed add occurred. This is especially useful when the same I
ipfilter: Print the pool name when adding a poolnode fails
Printing the pool node (IP address) only leads to speculation which pool the failed add occurred. This is especially useful when the same IP address is listed in multiple pools.
MFC after: 1 week
show more ...
|
#
42935716 |
| 07-Nov-2024 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Avoid overrunning the message buffer
Avoid overrunning the message buffer when printing an ippool btree error. We do this in two ways. First we increase the message buffer from 80 to 255 b
ipfilter: Avoid overrunning the message buffer
Avoid overrunning the message buffer when printing an ippool btree error. We do this in two ways. First we increase the message buffer from 80 to 255 bytes and secondly we replace strcat(3) with strlcat(3).
MFC after: 1 week
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
2a63c3be |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
44bc3019 |
| 04-Jan-2022 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter userland: Style(9) requires a space after return
Reported by: jrtc27 Fixes: 2582ae5740181e0d2bab10003d66ae91c9b56329 MFC after: 1 month
|
#
2582ae57 |
| 22-Dec-2021 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Adjust userland returns to conform to style(9)
Adjust ipfilter's userland return statements to conform to style(9).
MFC after: 1 month
|
#
efeb8bff |
| 20-Dec-2021 |
Cy Schubert <cy@FreeBSD.org> |
ipflter: ANSIfy userland function declarations
Convert ipfilter userland function declarations from K&R to ANSI. This syncs our function declarations with NetBSD hg commit 75edcd7552a0 (apply our ch
ipflter: ANSIfy userland function declarations
Convert ipfilter userland function declarations from K&R to ANSI. This syncs our function declarations with NetBSD hg commit 75edcd7552a0 (apply our changes). Though not copied from NetBSD, this change was partially inspired by NetBSD's work and inspired by style(9).
Reviewed by: glebius (for #network) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33595
show more ...
|
#
41edb306 |
| 15-Dec-2021 |
Cy Schubert <cy@FreeBSD.org> |
ipfilter: Move userland bits to sbin
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sbin/ipf. Now that I'm planning on implementing MSS cl
ipfilter: Move userland bits to sbin
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sbin/ipf. Now that I'm planning on implementing MSS clamping as in iptables it makes more sense to move ipfilter to sbin.
This is the second of three commits of the ipfilter move.
Suggested by glebius on two occaions.
Suggested by and discussed with: glebius Reviewed by: glebius, kp (for #network) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33510
show more ...
|