History log of /src/sbin/ipf/ipmon/ipmon.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 347dd053 29-Nov-2024 Richard Scheffenegger <rscheff@FreeBSD.org>

tcp: add TH_AE capabilities to ppp and pf

Add support for the AE Flag in the TCP header to pf and ppp.
Commonalize to the use of "E"(ECE), "W"(CWR) and "e"(AE)
for the TCP header flags, in line with

tcp: add TH_AE capabilities to ppp and pf

Add support for the AE Flag in the TCP header to pf and ppp.
Commonalize to the use of "E"(ECE), "W"(CWR) and "e"(AE)
for the TCP header flags, in line with tcpdump.

Reviewers: kp, cc, tuexen, cy, #transport!
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47106

show more ...


# 540be39b 28-Dec-2023 Elyes Haouas <ehaouas@noos.fr>

tree: Use 1 semicolon at the end of a statement

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/889


# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix

show more ...


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

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

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


# 90f2fee0 27-Jun-2023 John Baldwin <jhb@FreeBSD.org>

ipf: Remove set but unused variables.

Reported by: clang
Differential Revision: https://reviews.freebsd.org/D40667


# 2ac057dd 18-Apr-2023 John Baldwin <jhb@FreeBSD.org>

ipf: Use C89 function definitions.

Reviewed by: zlei
Differential Revision: https://reviews.freebsd.org/D39523


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


# d740faa3 27-Dec-2021 Cy Schubert <cy@FreeBSD.org>

ipfilter userland: Revert the ipmon part of a6fb9bbea731

a6fb9bbea731 caused incorrect formatting of ipmon log output.

Fixes: a6fb9bbea7318e993dfe0f8a7f00821f79850b26
MFC after: immediately


# 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


# e673debe 03-Feb-2021 Cy Schubert <cy@FreeBSD.org>

Simplify BSD macro tests.

All FreeBSD and NetBSD are BSD >= 199306 and have been for a long time.

MFC after: 1 week


# 0f34c80f 28-Jan-2021 Cy Schubert <cy@FreeBSD.org>

Replace the redundant MENTAT macro with SOLARIS.

MENTAT and SOLARIS are synonymous. Remove the extraneous duplicate
macro.

MFC after: 1 week


# 4cd1807c 26-Jan-2021 Cy Schubert <cy@FreeBSD.org>

Retire the K&R/STD C __P prototype declarations.

In the old days when K&R C and STD C were each in use a workaround
(read hack) was required to allow the same code to work on each
without modificati

Retire the K&R/STD C __P prototype declarations.

In the old days when K&R C and STD C were each in use a workaround
(read hack) was required to allow the same code to work on each
without modification. All C compilers support STD C. We can finally
put the __P prototype to rest.

MFC after: 1 week

show more ...


# 358e680a 27-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Return a return code scripts might expect. I missed this while
reviewing and rewriting a patch in PR/238816.

PR: 238816
Reported by: rgrimes@
Pointy hat to: cy@
MFC after: 1 week
X-MFC with: r349450


# accc4633 27-Jun-2019 Cy Schubert <cy@FreeBSD.org>

Update usage() to refect the current state of ipmon.

PR: 238816
MFC after: 1 week


# 0fcd8cab 03-Feb-2019 Cy Schubert <cy@FreeBSD.org>

ipfilter #ifdef cleanup.

Remove #ifdefs for ancient and irrelevant operating systems from
ipfilter.

When ipfilter was written the UNIX and UNIX-like systems in use
were diverse and plentiful. IRIX,

ipfilter #ifdef cleanup.

Remove #ifdefs for ancient and irrelevant operating systems from
ipfilter.

When ipfilter was written the UNIX and UNIX-like systems in use
were diverse and plentiful. IRIX, Tru64 (OSF/1) don't exist any
more. OpenBSD removed ipfilter shortly after the first time the
ipfilter license terms changed in the early 2000's. ipfilter on AIX,
HP/UX, and Linux never really caught on. Removal of code for operating
systems that ipfilter will never run on again will simplify the code
making it easier to fix bugs, complete partially implemented features,
and extend ipfilter.

Unsupported previous version FreeBSD code and some older NetBSD code
has also been removed.

What remains is supported FreeBSD, NetBSD, and illumos. FreeBSD and
NetBSD have collaborated exchanging patches, while illumos has expressed
willingness to have their ipfilter updated to 5.1.2, provided their
zone-specific updates to their ipfilter are merged (which are of interest
to FreeBSD to allow control of ipfilters in jails from the global zone).

Reviewed by: glebius@
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D19006

show more ...


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


# e86e3442 18-Oct-2007 Darren Reed <darrenr@FreeBSD.org>

Pullup IPFilter 4.1.28 from the vendor branch into HEAD.

MFC after: 7 days


# 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


# dac098f2 16-Aug-2006 Guido van Rooij <guido@FreeBSD.org>

Resolve conflicts

MFC after: 1 weeks


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

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


# 6ffb8d33 24-May-2005 Olivier Houchard <cognet@FreeBSD.org>

arm defaults to unsigned char as well.


# 9fce4d1d 08-May-2005 Peter Grehan <grehan@FreeBSD.org>

Fix tinderbox build on ppc.

Requested by: mlaier


12