Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.5.1 release #892

Merged
merged 126 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
3b0934e
rewrite do_sleep to handle sub sleep times by only nanosleeping
Mar 4, 2023
2997633
Use clock_nanosleep with TIMER_ABSTIME, decide time function in use i…
Mar 12, 2023
a57b3e2
Merge pull request #1 from plangarbalint/timerabs_time_and_compile_ti…
plangarbalint Mar 29, 2023
961bc40
libxdp implementation
Apr 5, 2023
00e9f83
Read pcap files with nanosec precision, set nano_sleep as default sle…
plangarbalint Apr 22, 2023
ea08502
Merge pull request #3 from plangarbalint/read_pcap_with_nanosec
plangarbalint May 2, 2023
a044d72
fix gettimeofday_sleep function, add nap to now variable to get sleep…
plangarbalint May 2, 2023
77a1448
use CLOCK_MONOTONIC in clock_gettime function, modify gettimeofday_sl…
plangarbalint May 2, 2023
6085e4f
fix time related bug in send_dual_packets function
plangarbalint May 2, 2023
d522943
Fix loop feature for AF_XDP packet sending
plangarbalint May 8, 2023
5bdbad3
Check packet fits in umem frame before copying
plangarbalint May 8, 2023
ba8c807
change CLOCK_REALTIME to CLOCK_MONOTONIC flag in clock_nanosleep
plangarbalint May 11, 2023
5ac105d
Fix copy/paste error in configure.ac
Jun 5, 2023
ad31b98
Add support for LINUX_SLL2
btriller May 20, 2022
5f8c783
configure.ac: unify search dirs for pcap and add lib32
shr-project Sep 3, 2023
2f83213
4.5.0-beta1 bump version
fklassen Sep 3, 2023
ff65f22
Merge pull request #728 from btriller/add-linuxsll2-plugin
fklassen Sep 3, 2023
4def4c7
Feature #727 - Linux SLL version 2 updates
fklassen Sep 3, 2023
feb10df
Merge pull request #820 from appneta/Feature_#727_linuxsll2
fklassen Sep 3, 2023
54bf031
Bug #779 - honour overflow for all pps values
fklassen Sep 3, 2023
bea06a4
Merge pull request #821 from appneta/Bug_#779_pps_goes_full_speed_ove…
fklassen Sep 3, 2023
0f012c8
Merge branch 'af_xdp_extension_libxdp' of https://github.com/plangarb…
fklassen Sep 4, 2023
4b2a762
Merge branch 'plangarbalint-af_xdp_extension_libxdp' into Feature_#82…
fklassen Sep 4, 2023
4f33fbf
Feature #822: fix compile issue
fklassen Sep 4, 2023
dccbbc2
Feature #822: rename --batch-size to --xdp-batch-size
fklassen Sep 4, 2023
6bcac91
Feature #822 - add --xdp option, cleanup, document
fklassen Sep 4, 2023
e1ea082
Merge pull request #823 from appneta/Feature_#822_AF_XDF_socket_exten…
fklassen Sep 4, 2023
dd324f5
Handle IPv6 fragment extension header
ChuckCottrill Nov 29, 2023
58f935e
check for NULL ptr
ChuckCottrill Dec 12, 2023
c4ee66d
resolve warning
ChuckCottrill Dec 14, 2023
a591bf7
revise comparison to match rest of code
ChuckCottrill Dec 16, 2023
b43ad7f
Merge branch 'Feature_#796_nanosecond_packet_processing' into nanosec…
fklassen Dec 24, 2023
d5c8596
Merge pull request #796 from plangarbalint/nanosec_accurate_packet_pr…
fklassen Dec 24, 2023
6af4341
Feature #796: nanosecond -changelog/credit
fklassen Dec 25, 2023
f9e2f70
Feature #796: clang-format mods
fklassen Dec 25, 2023
dda4343
Feature #796: fix netmap, get_current_time etc.
fklassen Dec 25, 2023
d60b917
Merge pull request #832 from ChuckCottrill/fix/831-ipv6-fragment
fklassen Dec 26, 2023
6b5131d
Bug #837 - update CHANGELOG and CREDIT
fklassen Dec 26, 2023
5fdcd2e
Merge pull request #838 from appneta/Bug_#837_handle_IPv6_fragment_ex…
fklassen Dec 26, 2023
6f65f71
Merge branch '4.5.0' into Feature_#796_nanosecond_packet_processing
fklassen Dec 26, 2023
3f1a891
Feature #796 - Nano timer test no longer requires --timer
fklassen Dec 26, 2023
0dc684a
Merge pull request #836 from appneta/Feature_#796_nanosecond_packet_p…
fklassen Dec 29, 2023
8235264
Merge pull request #819 from shr-project/jansa/lib32
fklassen Dec 29, 2023
8b16b91
Feature #839 - add pull request template
fklassen Dec 29, 2023
914a62e
Merge pull request #840 from appneta/Feature_#839_GitHub_PR_Template
fklassen Dec 29, 2023
a0b6d84
add check for empty cidr
GabrielGanne Jan 21, 2024
52ed633
ipv6 - add check for extension header length
GabrielGanne Jan 21, 2024
d6ac779
add fixhdrlen option to turn on/off changing packet header length
ChuckCottrill Jan 31, 2024
6969823
resolve merge conflict
ChuckCottrill Jan 31, 2024
5811d31
resolve merge conflict
ChuckCottrill Jan 31, 2024
e66d58d
Merge branch 'master' into fix/844-ipv4-packet-order
ChuckCottrill Jan 31, 2024
fa37e0a
remove stray debug line
ChuckCottrill Jan 31, 2024
b559566
Merge branch 'fix/844-ipv4-packet-order' of https://github.com/ChuckC…
ChuckCottrill Jan 31, 2024
303cd76
remove comment
ChuckCottrill Feb 1, 2024
35aebe8
changes to address PR comment
ChuckCottrill Feb 9, 2024
4bbfd0c
changes from PR review
ChuckCottrill Feb 20, 2024
7180492
Fix the Autoconf test for inet_addr().
infrastation Feb 21, 2024
1819eb7
Fix some build issues on Haiku.
infrastation Feb 21, 2024
42f7bbc
configure.ac: do not run conftest in case of cross compilation
ChenQi1989 Mar 8, 2024
62bc10d
dlt_jnpr_ether_cleanup: check config before cleanup
Marsman1996 Apr 2, 2024
d00951b
Fix recursive tcpedit cleanup
GabrielGanne May 19, 2024
70e28a6
autotools - AC_HELP_STRING is obsolete in 2.70
GabrielGanne May 19, 2024
77f02cb
Merge pull request #842 from GabrielGanne/ipv6-extension-ength
fklassen Jun 1, 2024
5b56443
Bug #827 PR# 842: add check for IPv6 extension header length
fklassen Jun 1, 2024
2c435b9
Merge pull request #859 from appneta/Bug_#827_PR_#842_IPv6_ext_hdr_st…
fklassen Jun 1, 2024
963842c
Merge pull request #843 from GabrielGanne/empty-cidr-parse-fix
fklassen Jun 1, 2024
ef3df29
Bug #824 PR# 843: add check empty CIDR
fklassen Jun 1, 2024
36501b0
Merge pull request #860 from appneta/Bug_824_PR_843_empty_CIDR_check_…
fklassen Jun 1, 2024
b4148e7
Merge pull request #846 from ChuckCottrill/fix/844-ipv4-packet-order
fklassen Jun 1, 2024
859728b
Bug #844 PR# 846: --fixhdrlen option
fklassen Jun 1, 2024
4789dee
Bug #844 PR# 846: reject invalid header length packets
fklassen Jun 1, 2024
079cf31
Bug #844 PR# 846: backward compatibility for older libpcap
fklassen Jun 2, 2024
a2f7fb0
Bug #844 PR# 846: updated tests
fklassen Jun 2, 2024
c270806
Bug #844 PR# 846: print error log on CI failure
fklassen Jun 2, 2024
eaf2622
Merge pull request #861 from appneta/Bug_703_844_PR_846_optionally_fi…
fklassen Jun 2, 2024
c7d7ff0
Bug #863: CI build failures make test fail
fklassen Jun 2, 2024
1f648d6
Bug #863: implement tcpr_pcap_open() universally
fklassen Jun 2, 2024
0afb3c9
Merge pull request #865 from appneta/Bug_863_nansecond_timestamp_regr…
fklassen Jun 3, 2024
b6270b0
Merge pull request #856 from GabrielGanne/obsolete-autoconf-macros
fklassen Jun 3, 2024
0d86947
Merge pull request #847 from infrastation/some_haiku_support
fklassen Jun 3, 2024
a7aab40
Merge pull request #849 from ChenQi1989/cross
fklassen Jun 3, 2024
b002ccc
Merge pull request #851 from Marsman1996/master
fklassen Jun 3, 2024
b73ac4f
4.5.0-beta1 contributions
fklassen Jun 3, 2024
0d52251
Merge pull request #855 from GabrielGanne/recursive-tcpedit-cleanup
fklassen Jun 3, 2024
4ea1f43
4.5.0-beta1 tcpedit_dlt_cleanup changelog update
fklassen Jun 3, 2024
84dee5e
Bug #813: back out PR #855
fklassen Jun 4, 2024
0a21597
Merge pull request #866 from appneta/Bug_813_DLT_Juniper_double_free
fklassen Jun 4, 2024
14b7e85
4.5.0-beta1 - update CHANGELOG
fklassen Jun 4, 2024
804cacb
Bug #867 - run regfree() on close
fklassen Jun 5, 2024
d16b027
Merge pull request #868 from appneta/Bug_#867_tcpprep_memory_leak_regex
fklassen Jun 5, 2024
635c1e1
Bug #869 - free option->xX on exit
fklassen Jun 5, 2024
a1a4735
Bug #869 - GitHub Actions CI - enable ASAN
fklassen Jun 5, 2024
da44ab1
Merge pull request #870 from appneta/Bug_#869_tcpprep_memory_leak_inc…
fklassen Jun 5, 2024
8f26a97
Bug #811 - add check for invalid jnpr header length
fklassen Jun 8, 2024
6c32ff1
Merge pull request #872 from appneta/Bug_#811_SEGV_tcprewrite_dlt_utils
fklassen Jun 8, 2024
70a7843
Bug #792 avoid assertion and other fixes
fklassen Jun 8, 2024
a4af458
Merge pull request #873 from appneta/Bug_#792_Linux_cooked_packet_fat…
fklassen Jun 8, 2024
d6f7c5a
Bug #844 tap: ignore TUNSETIFF EBUSY errors
fklassen Jun 8, 2024
4db9f5b
Merge pull request #874 from appneta/Bug_#828_linux_tap_interfaces_fa…
fklassen Jun 8, 2024
bda0cad
v4.5.0-beta1
fklassen Jun 9, 2024
bb10e9c
Merge pull request #875 from appneta/4.5.0-beta1
fklassen Jun 9, 2024
555a92f
4.5.0-beta2 update Copyright to 2024
fklassen Jun 9, 2024
7dd7425
Bug #876 - add missing free_umem_and_xsk function
fklassen Jun 9, 2024
cd1718a
Merge pull request #877 from appneta/Bug_#876_AF_XDP_compile_failures
fklassen Jun 9, 2024
7ff711b
Feature #878 - add -w / --suppress-warning option
fklassen Jun 9, 2024
6dbe28a
Merge pull request #879 from appneta/Feature_#878_option_to_suppress_…
fklassen Jun 9, 2024
d7f5bfe
Bug #835 - improved flow_decode error messages
fklassen Jun 9, 2024
887077e
Bug #835 - proper 802.3 (Ethernet I) handling
fklassen Jun 9, 2024
724bdaf
Merge pull request #880 from appneta/Bug_#835_false_unsupported_DLT_w…
fklassen Jun 9, 2024
57bed13
Feature #884 fix tcpprep -x -X include to EOF
fklassen Jun 23, 2024
43b859a
Feature #884 add --include / --exclude options
fklassen Jun 24, 2024
23b035b
Feature #884 tests for --include / --exclude options
fklassen Jun 24, 2024
3ece9a8
Merge pull request #885 from appneta/Feature_#884_include_exclude_opt…
fklassen Jun 24, 2024
fd9eb3b
add -w output.pcap command line option to direct the output to a pcap…
jasonlu-corelight May 14, 2024
07007e7
Feature #853 - fix merge conflicts
fklassen Jun 3, 2024
1c1e6dc
Feature #853 - manual fix of merge issues
fklassen Jun 6, 2024
d5ce8bd
Feature #853 -w == --write, -W == --suppress-warnings
fklassen Jun 29, 2024
2ed8008
Feature #853 add -w / --write tests
fklassen Jun 29, 2024
26e47da
Merge pull request #871 from appneta/Feature_#853_direct_traffic_to_pcap
fklassen Jun 29, 2024
d1d7413
Merge pull request #886 from appneta/4.5.0-beta3
fklassen Jun 29, 2024
7f0bc82
Feature #853 restore missing -P command
fklassen Jun 29, 2024
d2f0722
update CREDIT
fklassen Jun 30, 2024
8e9cad0
Merge pull request #887 from appneta/4.5.0-beta4
fklassen Jul 12, 2024
d62a685
Bug #888: check for map == NULL in cidr.c
fklassen Jul 12, 2024
214c131
fix CodeQL scan issue
fklassen Jul 12, 2024
0ba7d17
release 4.5.1
fklassen Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: None
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Always
AllowShortEnumsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: All
Expand All @@ -16,7 +18,7 @@ AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros: ['__capability', '__output', '__ununsed', '_U_']
AttributeMacros: ['__capability', '__output', '__unused', '_U_']
BinPackArguments: false
BinPackParameters: false
BitFieldColonSpacing: None
Expand All @@ -28,9 +30,11 @@ BraceWrapping:
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
Expand Down Expand Up @@ -69,7 +73,12 @@ IncludeCategories:
Priority: 6
IndentGotoLabels: false
IndentPPDirectives: None
IndentRequiresClause: false
IndentExternBlock: AfterExternBlock
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: true
InsertTrailingCommas: None
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
Expand All @@ -86,12 +95,16 @@ SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 8
Expand Down
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Standards checklist:

<!-- Fill with an x the ones that apply. Example: [x] -->

- [ ] The PR title is descriptive.
- [ ] The PR doesn't replicate another PR which is already open.
- [ ] I have read the contribution guide and followed all the instructions.
- [ ] The code follows the code style guide detailed in the wiki.
- [ ] The code is mine or it's from somewhere with an MIT-compatible license.
- [ ] The code is efficient, to the best of my ability, and does not waste computer resources.
- [ ] The code is stable and I have tested it myself, to the best of my abilities.
- [ ] If the code introduces new aliases, I provide a valid use case for all plugin users down below.

## Changes:

- [...]

## Other comments:

...
5 changes: 4 additions & 1 deletion .github/workflows/c-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ jobs:
if: steps.linter.outputs.checks-failed > 0
# for testing...
# run: echo "Some files failed the linting checks!"
# for development...
run: exit 0 # exit the job with a success status
# for actual deployment...
run: exit 1
# run: exit 1 # exit the job with a failure status

4 changes: 2 additions & 2 deletions .github/workflows/github-actions-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Create configure script
run: ./autogen.sh
- name: configure
run: ./configure --with-testnic=eth0 --disable-local-libopts
run: ./configure --with-testnic=eth0 --disable-local-libopts --enable-asan
- name: make
run: make
- name: make dist
Expand All @@ -28,5 +28,5 @@ jobs:
- name: List files in the repository
run: ls ${{ github.workspace }}
- name: tests
run: sudo make test
run: sudo make test || (cat test/test.log; false)
- run: echo "This test's status is ${{ job.status }}."
Loading
Loading