Skip to content

Commit

Permalink
Merge pull request #39 from ElNiak/development-formal-attacks
Browse files Browse the repository at this point in the history
Development formal attacks
  • Loading branch information
ElNiak authored Jun 5, 2024
2 parents 756cf25 + fe0d595 commit ff43d30
Show file tree
Hide file tree
Showing 207 changed files with 943 additions and 1,380,876 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [production]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ panther.egg-info/
site/
docs/
docs_assets/
**/build/*
**/build/*

.VSCodeCounter/
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
language_version: python3
skip-string-normalization: true
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
# - id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: pretty-format-json
args: ["--autofix", "--no-sort-keys"]
14 changes: 9 additions & 5 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# :wrench: Installation
# :wrench: Installation

Note, before implementation were added as submodule. Now we only consider Docker containers installation. (To be updated)

```
python3 -m pip install pre-commit
pre-commit installed at .git/hooks/pre-commit
```


## :computer: Local Installation (Not Recommended)
Expand All @@ -12,7 +16,7 @@ See Dockerfile for dependencies and commands



## :whale: Single implementation
## :whale: Single implementation



Expand All @@ -22,13 +26,13 @@ IMPLEM="picoquic" make build-docker
```


## :whale: WebApp (Recommended)
## :whale: WebApp (Recommended)

```bash
# For first installation
# For first installation
make install

# For modification:
# For modification:
# For major update in ivy:
make build-docker-compose-full
# For a minor update in some implementation:
Expand Down
6 changes: 6 additions & 0 deletions panther/docker-compose.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ services:
- MPLBACKEND="Agg"
- COLUMNS=100
- LINES=100
- PYTHONUNBUFFERED=1
- PYTHONPATH=${PYTHONPATH}:/app/implementations/quic-implementations/aioquic/src
hostname: picoquic-panther
image: picoquic-panther:latest
networks:
Expand Down Expand Up @@ -116,6 +118,8 @@ services:
- MPLBACKEND="Agg"
- COLUMNS=100
- LINES=100
- PYTHONUNBUFFERED=1
- PYTHONPATH=${PYTHONPATH}:/app/implementations/quic-implementations/aioquic/src
hostname: picoquic-shadow-panther
image: picoquic-shadow-panther:latest
networks:
Expand Down Expand Up @@ -159,6 +163,8 @@ services:
- MPLBACKEND="Agg"
- COLUMNS=100
- LINES=100
- PYTHONUNBUFFERED=1
- PYTHONPATH=${PYTHONPATH}:/app/implementations/quic-implementations/aioquic/src
hostname: ping-pong-panther
image: ping-pong-panther:latest
networks:
Expand Down
6 changes: 2 additions & 4 deletions panther/install_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = PANTHER
version = 1.0


[modules]
checkout_git = True
build_webapp = True
Expand All @@ -17,7 +16,6 @@ normal_cpu=4
shadow_mem=2048M
shadow_cpu=4


[implems]
; BGP
bgp_bird = False
Expand All @@ -42,7 +40,7 @@ quic_quinn = False

[shadow_support]
minip_ping_pong = True
quic_picoquic = True
quic_picoquic_shadow = True

[directories]
base_path = panther_worker/panther-ivy/protocol-testing/
Expand Down Expand Up @@ -73,4 +71,4 @@ quic_picoquic_vuln = ("picoquic-shadow", "${quic_path}picoquic", "Dockerfile.pic
quic_quant = ("quant", "${quic_path}quant", "Dockerfile.quant")
quic_quic_go = ("quic-go", "${quic_path}quic-go", "Dockerfile.quic-go")
quic_quiche = ("quiche", "${quic_path}quiche", "Dockerfile.quiche")
quic_quinn = ("quinn", "${quic_path}quinn", "Dockerfile.quinn")
quic_quinn = ("quinn", "${quic_path}quinn", "Dockerfile.quinn")
4,549 changes: 0 additions & 4,549 deletions panther/logs/compose_2024-06-02

This file was deleted.

1,210 changes: 0 additions & 1,210 deletions panther/logs/compose_2024-06-02 11:35:50.338719.log

This file was deleted.

1,253 changes: 0 additions & 1,253 deletions panther/logs/compose_2024-06-02 11:36:33.025625.log

This file was deleted.

4,977 changes: 0 additions & 4,977 deletions panther/logs/compose_2024-06-02 12:06:25.466312.log

This file was deleted.

Empty file.
4,972 changes: 0 additions & 4,972 deletions panther/logs/compose_2024-06-02 12:26:49.180693.log

This file was deleted.

4,243 changes: 0 additions & 4,243 deletions panther/logs/compose_2024-06-02 12:33:30.610217.log

This file was deleted.

6,653 changes: 0 additions & 6,653 deletions panther/logs/compose_2024-06-02 12:46:04.890875.log

This file was deleted.

Empty file.
6,110 changes: 0 additions & 6,110 deletions panther/logs/compose_2024-06-02 12:48:23.978535.log

This file was deleted.

7,295 changes: 0 additions & 7,295 deletions panther/logs/compose_2024-06-02 12:52:19.856653.log

This file was deleted.

2,431 changes: 0 additions & 2,431 deletions panther/logs/compose_2024-06-02 12:54:58.627906.log

This file was deleted.

5,199 changes: 0 additions & 5,199 deletions panther/logs/compose_2024-06-02 12:56:19.560375.log

This file was deleted.

14,018 changes: 0 additions & 14,018 deletions panther/logs/compose_2024-06-02 12:59:55.050642.log

This file was deleted.

20,238 changes: 0 additions & 20,238 deletions panther/logs/compose_2024-06-02 14:35:17.050173.log

This file was deleted.

8,764 changes: 0 additions & 8,764 deletions panther/logs/compose_2024-06-02 15:37:51.175045.log

This file was deleted.

586,251 changes: 0 additions & 586,251 deletions panther/logs/compose_2024-06-02 18:14:18.437053.log

This file was deleted.

109,867 changes: 0 additions & 109,867 deletions panther/logs/compose_2024-06-02 22:29:32.012590.log

This file was deleted.

20,533 changes: 0 additions & 20,533 deletions panther/logs/compose_2024-06-02 22:51:49.470675.log

This file was deleted.

1,152 changes: 0 additions & 1,152 deletions panther/logs/compose_2024-06-03 07:49:15.896805.log

This file was deleted.

1,152 changes: 0 additions & 1,152 deletions panther/logs/compose_2024-06-03 07:56:35.309623.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 07:57:50.401010.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:03:21.073997.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:04:37.671089.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:04:56.229326.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:05:20.750491.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:05:41.529027.log

This file was deleted.

2,183 changes: 0 additions & 2,183 deletions panther/logs/compose_2024-06-03 08:06:08.817201.log

This file was deleted.

4,510 changes: 0 additions & 4,510 deletions panther/logs/compose_2024-06-03 08:06:26.485342.log

This file was deleted.

64 changes: 0 additions & 64 deletions panther/logs/panther_docker_2024-06-02 08:05:39.585134.log

This file was deleted.

32 changes: 0 additions & 32 deletions panther/logs/panther_docker_2024-06-02 08:05:51.486381.log

This file was deleted.

Loading

0 comments on commit ff43d30

Please sign in to comment.