OpenBSD CVS

CVS log for src/usr.sbin/tcpdump/pfctl_osfp.c


[BACK] Up to [local] / src / usr.sbin / tcpdump

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:51 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 8 17:19:01 2018 UTC (5 years, 7 months ago) by brynet
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Close the fingerprints file in the child after it has been loaded.

I missed this part in my previous commit.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 8 14:06:09 2018 UTC (5 years, 7 months ago) by brynet
Branch: MAIN
Changes since 1.13: +14 -10 lines
Diff to previous 1.13 (colored)

Hoist opening pf.os(5) fingerprints '-o' earlier so that it doesn't
need to be unveiled at runtime in the monitor process.

Cleanup the unused internal privsep "getlines" code, we now explictly
fdpass the OS fingerprints file instead.

ok mestre@ kn@

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 28 10:06:12 2017 UTC (7 years ago) by akfaew
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.12: +9 -3 lines
Diff to previous 1.12 (colored)

Reduce differences between the two pfctl_osfp.c files.

Apply three commits from pfctl/pfctl_osfp.c

OK bluhm@

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 28 07:40:12 2017 UTC (7 years ago) by akfaew
Branch: MAIN
Changes since 1.11: +7 -15 lines
Diff to previous 1.11 (colored)

Catch up with pfctl/pfctl_osfp.c, no binary change.

OK deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 5 19:27:17 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.10: +10 -19 lines
Diff to previous 1.10 (colored)

Remove two sets of NULL-checks before free().

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 20 18:26:58 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Adjust <sys/param.h> comments regarding use of use of MSIZE, or
delete <sys/param.h> if now possible
ok guenther

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 14 12:44:44 2014 UTC (9 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

No use for <netinet/in_systm.h> nor <netinet/tcpip.h>.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 22 16:50:15 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.7: +15 -15 lines
Diff to previous 1.7 (colored)

ctype cleanups, now that the kernel has u_char strings (that is the
easy road, otherwise this would be a righteous mess)
ok florian

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 18 15:55:28 2010 UTC (13 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.6: +9 -82 lines
Diff to previous 1.6 (colored)

Revert non-compatible and undocumented bullshit commited by 3 developers
who decided to just do it on their own.  henning, mcbride, jsing -- shame
on you -- if you had shown this diff to just 1 other network developer,
the astounding mistake in it would have been noticed.  Start practicing
inclusionary development instead of going alone.
ok claudio

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 17 12:14:28 2010 UTC (13 years, 7 months ago) by jsing
Branch: MAIN
Changes since 1.5: +81 -8 lines
Diff to previous 1.5 (colored)

Add quirks support to operating system fingerprinting. tcpdump part
by mcbride@.

ok mcbride@ henning@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 16 03:40:34 2008 UTC (15 years, 11 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

use correct struct when checking DF or INET6, ok frantzen@ months ago
forgotten in one of my trees

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 13 05:10:15 2006 UTC (17 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.3: +9 -1 lines
Diff to previous 1.3 (colored)

IPv6 passive OS fingerprinting.
reuses IPv4 signature file (assuming that TCP code is shared among IPv4/v6).
mcbride ok.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 17 13:18:00 2005 UTC (19 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored)

Fix indentation as to not mislead the code reader.  No functional change.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 19 13:27:25 2004 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

use strchr instead of index

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 28 19:44:55 2004 UTC (20 years, 4 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5

privilege separated tcpdump, joint work with otto@

tested by avsm@ vincent@ dhartmei@ markus@ hshoexer@ and others
go for it deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.