-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
178 changed files
with
724 additions
and
1,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Copyright 2020-2021 Chris Morgan <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
environment: | ||
# This key is encrypted using secdev's appveyor private key, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Copyright 2020-2021 Chris Morgan <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
version: 2.1 | ||
|
||
orbs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Copyright 2020 Chris Morgan <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: .NET Core | ||
|
||
on: | ||
|
@@ -53,3 +56,15 @@ jobs: | |
|
||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default | ||
INCLUDE_SYMBOLS: true | ||
|
||
license-check: | ||
# We use https://github.com/fsfe/reuse-tool to ensure EVERY file has correct license and copyright info | ||
# Either in the file itself, or in .reuse\dep5 for binary files and files that don't support comments | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- run: pip install -r requirements.txt | ||
- run: reuse lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: sharppcap | ||
Upstream-Contact: Chris Morgan <[email protected]> | ||
Source: https://github.com/dotpcap/sharppcap | ||
|
||
Files: Examples/* | ||
SharpPcap.sln | ||
Test/capture_files/10k_packets.pcap | ||
Test/capture_files/arp_request_response.pcap | ||
Test/capture_files/ipv6_http.pcap | ||
Test/capture_files/ipv6_icmpv6_packet.pcap | ||
Test/capture_files/ip_packet_bogus_length.pcap | ||
Test/capture_files/README | ||
Test/capture_files/tcp.pcap | ||
Test/capture_files/tcp_with_extra_bytes.pcap | ||
Test/capture_files/test_stream.pcap | ||
Test/capture_files/udp_dns_request_response.pcap | ||
Copyright: Tamir Gal <[email protected]> | ||
Chris Morgan <[email protected]> | ||
License: MIT | ||
|
||
Files: Tutorial/* | ||
History.md | ||
README.md | ||
renovate.json | ||
Copyright: Chris Morgan <[email protected]> | ||
License: MIT | ||
|
||
Files: Test/capture_files/arp_with_vlan.pcap | ||
Copyright: Houcem Benali <[email protected]> | ||
License: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Copyright 2021-2022 Ayoub Kaanich <[email protected]> | ||
# SPDX-License-Identifier: MIT | ||
|
||
version: v1.0 | ||
name: Pipeline | ||
agent: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<!-- | ||
Copyright 2020-2021 Ayoub Kaanich <[email protected]> | ||
SPDX-License-Identifier: MIT | ||
--> | ||
<Project> | ||
<PropertyGroup> | ||
<Deterministic>true</Deterministic> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using SharpPcap.LibPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using SharpPcap.LibPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using SharpPcap.LibPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Net.NetworkInformation; | ||
using SharpPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using SharpPcap.LibPcap; | ||
|
2 changes: 2 additions & 0 deletions
2
Examples/Example4.BasicCapNoCallback/Example4.BasicCapNoCallback.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using PacketDotNet; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Net; | ||
using SharpPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using SharpPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using SharpPcap; | ||
using SharpPcap.LibPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
/* | ||
This file is part of SharpPcap. | ||
SharpPcap is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
SharpPcap is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with SharpPcap. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
/* | ||
* Copyright 2010 Evan Plaice <[email protected]> | ||
*/ | ||
// Copyright 2010 Evan Plaice <[email protected]> | ||
// | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using PacketDotNet; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Windows.Forms; | ||
using SharpPcap; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using System.Windows.Forms; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
using System; | ||
using PacketDotNet; | ||
using SharpPcap; | ||
|
Oops, something went wrong.