forked from DebianDolor/nipe
-
Notifications
You must be signed in to change notification settings - Fork 0
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
11 changed files
with
97 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
DataDirectory /var/lib/tor | ||
PidFile /var/run/tor/tor.pid | ||
RunAsDaemon 1 | ||
User tor | ||
|
||
ControlSocket /var/run/tor/control | ||
ControlSocketsGroupWritable 1 | ||
|
||
CookieAuthentication 1 | ||
CookieAuthFileGroupReadable 1 | ||
CookieAuthFile /var/run/tor/control.authcookie | ||
|
||
Log notice file /var/log/tor/log | ||
|
||
ClientOnly 1 | ||
TransPort 9051 | ||
DNSPort 9061 | ||
|
||
VirtualAddrNetwork 10.66.0.0/255.255.0.0 | ||
AutomapHostsOnResolve 1 |
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,17 @@ | ||
name: Test Nipe on Fedora | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: fedora-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install dependencies | ||
run: | | ||
sudo dnf install -y perl cpanminus gcc make zlib-devel | ||
sudo cpanm --installdeps . | ||
sudo perl nipe.pl install | ||
- name: Verify Nipe status | ||
run: | | ||
sudo perl nipe.pl status |
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ jobs: | |
critic: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Run Perl::Critic | ||
uses: natanlao/[email protected] | ||
with: | ||
files: critic | ||
files: critic |
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,17 @@ | ||
name: Test Nipe on openSUSE Leap | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: opensuse-leap-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install dependencies | ||
run: | | ||
sudo zypper --non-interactive install perl cpanminus gcc make zlib-devel | ||
sudo cpanm --installdeps . | ||
sudo perl nipe.pl install | ||
- name: Verify Nipe status | ||
run: | | ||
sudo perl nipe.pl status |
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,18 @@ | ||
name: Test Nipe on Debian | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: debian-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y perl cpanminus gcc make zlib1g-dev | ||
sudo cpanm --installdeps . | ||
sudo perl nipe.pl install | ||
- name: Verify Nipe status | ||
run: | | ||
sudo perl nipe.pl status |
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,4 +1,5 @@ | ||
|
||
severity = 4 | ||
|
||
[-TestingAndDebugging::RequireUseStrict] | ||
[-TestingAndDebugging::RequireUseWarnings] | ||
[-TestingAndDebugging::RequireUseWarnings] |
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,8 +1,13 @@ | ||
FROM perl:5.38 | ||
FROM ubuntu:latest | ||
|
||
COPY . /usr/src/nipe | ||
WORKDIR /usr/src/nipe | ||
|
||
RUN cpanm --installdeps . | ||
EXPOSE 9050 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y cpanminus && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT [ "perl", "./nipe.pl" ] | ||
RUN cpanm --installdeps . | ||
RUN perl nipe.pl install |
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 @@ | ||
requires "Net::SSL"; | ||
requires "IO::Socket::SSL"; | ||
requires "JSON", "4.07"; | ||
requires "Try::Tiny", "0.31"; | ||
requires "Config::Simple", "4.58"; | ||
requires "Config::Simple"; |
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