History log of /src/sbin/ipf/libipf/load_poolnode.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 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 ...


# 2a63c3be 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# 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 ...


# a6fb9bbe 13-Dec-2021 Cy Schubert <cy@FreeBSD.org>

ipfilter userland: Replace sprintf with range checking version (snprintf)

MFC after: 1 week


# bfc88dcb 06-Sep-2013 Cy Schubert <cy@FreeBSD.org>

Update ipfilter 4.1.28 --> 5.1.2.

Approved by: glebius (mentor)
BSD Licensed by: Darren Reed <darrenr@reed.wattle.id.au> (author)


# d7eeb252 04-Jun-2007 Darren Reed <darrenr@FreeBSD.org>

Merge IPFilter 4.1.23 back to HEAD
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13


# 25508d6c 30-Dec-2005 Guido van Rooij <guido@FreeBSD.org>

Resolve conflicts (and believe me...you don't want to know).


# 750e8832 25-Apr-2005 Darren Reed <darrenr@FreeBSD.org>

* Someone imported a lot of files with the wrong CVS tag, so lots of files need
that fixed in them....
* Keep unnecessary files out of the non-vendor part of this CVS repository.


# 144279dc 25-Apr-2005 Darren Reed <darrenr@FreeBSD.org>

import ipfilter 4.1.8 into the vendor branch