-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
Start implementing ipv6 support #3631
Draft
jaapmarcus
wants to merge
436
commits into
hestiacp:main
Choose a base branch
from
asmcc:ipv6
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
436 commits
Select commit
Hold shift + click to select a range
96545cd
IPV6: Optional IPV6 deactivation in both installation scripts
0202101
IPV6: IPV6 support deactivated as default in both installation scripts
420986b
IPV6: Correction of some errors after shell and yarn check
6dc0919
IPV6: Compatibility mode for bin/v-add-web-domain
ede3580
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 1ad0ed1
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 04e7e1f
IPV6: Small editional corrections after review
c354e5d
IPV6: Add IPV6_SUPPORT variable and bugfixing in syshealth.sh
ff9e809
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc dfb1e13
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 37f7efa
Add ipv6 before running tests
jaapmarcus 0e92598
Update drone to also run ipv6 branch
jaapmarcus 5e7e085
Merge pull request #1 from hestiacp/ipv6
asmcc a5f85f4
IPV6: Bug fixing with add and rebuild web domain
8ab2af8
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 0cd23a0
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 8003fdc
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc aacfecf
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 15a1edd
IPV6: Sed insertion instead of double nginx config
e403d3b
IPV6: Better resolver detection during modification of nginx.conf
2a2a6f6
IPV6: Cosmetic changes during generation of nginx.conf
6abc400
IPV6: Right order of ns1 and ns2 during modification of nginx.conf
7633fad
IPV6: Replacement apache2/status-ipv6.conf by sed inline modification
68e3609
IPV6: Replacement double vsftpd.conf by sed inline modification
772264f
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc bd60ee9
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 3dcb2a9
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc eec215c
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc a20a2cf
IPV6: Manual adaptations of list_web.php after merge with upstream main
e46a935
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 9293d40
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc c9c8e27
IPV6: ADD DNS DOMAIN. New and legacy scripts
6d37f20
IPV6: Bug fixing. Using braces in variables
6b0afa1
IPV6: Fix network listing concerning proxmon eth@ interfaces
12486a9
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 0004296
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 2bbef7e
IPV6: Default DNS template for IPV4 and IPV6
fb69480
IPV6: Add DNS. Enhancement and bug fixing
6c90071
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 01e4e46
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 752a613
IPV6: Manual merge list_web.php after update from main
8ec3c59
IPV6: Revert yarn version to 3.5.1
1940b9a
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 60f68a5
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc aa35d5f
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc eb63380
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc c1b9d50
IPV6: Manual merge after update from main
b3973b1
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 6f4b9a5
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc a9de4fd
IPV6: Unified function create_dns_domain_config
a5945e0
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc f743b54
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc e43a9a4
IPV6: Change DNS domain
4a085ef
IPV6: Optimisations on DNS scripts
cc91c22
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc aa57886
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 2636189
IPV6: Move add DKIM records to domain.sh as function
f45e65d
IPV6: Add dns webmail records in func/domain.sh
3a0c31f
IPV6: list_web.php Correction due to new table style
e7d80d1
IPV6: Bug fixing in shell script for user ip listing
54efb0d
IPV6: Change DNS domain ip. Script modification
f3d2713
IPV6: Bug fixing in func/domain.sh
9a984a9
IPV6: Further bug fixing in func/domain.sh
c5df079
IPV6: 3x bug fixing in func/domain.sh
4e255c6
IPV6: Improvement in func/domain.sh for passing shell test
a4ee99b
IPV6: Test2 in func/domain.sh for passing shell test
b6dc3e2
IPV6: Disable shell check SC1087 in func/domain.sh
a2b154a
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc d542290
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc dbeec5d
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 16b57d8
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc ac1022a
IPV6: Add DNS on web alias
7d124ae
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 1191cdd
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 8b78a16
IPV6: Manual merge after update from main
df8fda8
IPV6: Bugfixin after manual merge
904243d
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc c075b43
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 153443e
IPV6: Manual merge after shit sync against main
c3c32ac
IPV6: Manual merge after shit sync against main. 1-6 templates
8d9c792
IPV6: Manual merge after shit sync against main. 7-12 templates
9758d91
IPV6: Manual merge after shit sync against main. 13-16 templates
333ccb5
IPV6: Bugfixing. New resolver replace during installation
f6fbb66
IPV6: Bugfixing DNS CNAME Webmail record
663b688
IPV6: Listing Web
35cb3b4
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc f72275a
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 55dd414
IPV6: Adaptation of v-add-domain
d37e6c4
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc baa1d7d
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc f9a5b8e
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 87f2152
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 575ca9f
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc f47940f
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 3fb4e78
IPV6: Cosmetically adaptations in v-add-mail-domain
b0552db
IPV6: Adaptations in v-add-mail-domain-ssl
ab231e3
IPV6: Cosmetically adaptations in v-add-mail-domain-webmail
0429b7c
IPV6: Clearance with curved braces as call arguments
3fe7a39
IPV6: Domain listing option in v-list-mail-domain
b8950c3
IPV6: Re-formatting of v-add-mail-domain
a7a1c14
IPV6: Bugfixing v-add-mail-domain * inside of qoutes
7422965
IPV6: Double quotes in further v-add-mail-domain- scripts
a680f1b
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 417fbd4
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc fa3efde
IPV6: Braces check and modification in add-scripts
c154502
Merge branch 'ipv6' of github.com:asmcc/hestiacp into ipv6
757f203
IPV6: Further braces check and small modifications in add- and list- …
ca575e8
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc bca0527
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc ef6964d
IPV6: Manual merge after sync with main
12c8c9b
IPV6: Bug fixing in v-add-web-domain-ipv46
df4f7fc
IPV6: Simple listing function
2a08e3d
IPV6: Further simple listing functions
25d66f3
IPV6: Modifications in network and ip scripts
7f77045
IPV6: Bug fixing. v-delete-sys-ip
13e5c47
IPV6: Bug fixing in xx-sys-ip scripts
dc30354
IPV6: Bug fixing in v-delete-sys-ip script
06b6e81
IPV6: Bug fixing for empty parameters during ip listing with filtering
43849d3
IPV6: Further optimisations in v-list-xx scripts
07f4d40
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc a9bfb02
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc b699c02
IPV6: Small editions in v-list-xx scripts
8257581
IPV6: Better implementation of domain verification in v-add-xx scripts
b36ea26
IPV6: Eliminate wrong error log message after add a dns, mail or web …
9dc0f31
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 3a28c1d
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc ed596f8
IPV6: Double quotas in a function and in a script
87f6014
IPV6: Improved listing of dns records, if dns domain does not exist
0c1b86f
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 37bbe4f
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc d584b06
IPV6: Manual merge after sync with main
a02a1a2
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 4bc84c4
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 2c725fb
IPV6: Reactivation of universal port definition under NGINX
78eecff
Merge branch 'ipv6' of github.com:asmcc/hestiacp into ipv6
bfe4d0d
IPV6: Unitary method to read HESTIA port from nginx.conf
ce9d730
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc e295a73
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc d942987
IPV6: Manual merge and conflict resolving after sync with main
5c902f2
IPV6: Bugfixing for empty input arguments in get_ip_format()
417234a
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc ba7d602
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 3b09280
IPV6: New modification method of port listing in nginx.conf
56ddb53
IPV6: Define an ipv6 address for config tests
5c78b54
IPV6: Define a compatible ipv6 address for config tests
a9f2b51
IPV6: config-tests.bats variable with braces
cd3291b
IPV6: New backup file for HESTIA-NGINX original config
39c9617
IPV6: Optional port listing for HESTIA-NGINX config using comment out…
9c04fb4
IPV6: Optional port listing for HESTIA-NGINX as func/syshealth.sh fun…
8256728
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 8102f84
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc bf66243
IPV6: Enhanced listing of system network interfaces. Delete only HEST…
23c8f00
IPV6: Reverse order during listing of IPV6 addresses. First added (sy…
05ddfdf
Merge branch 'main' into hestiamain
asmcc 4865d33
Merge branch 'main' into ipv6
asmcc 9b34955
Merge branch 'main' into hestiamain
asmcc bd6c35f
Merge branch 'main' into ipv6
asmcc 0374d05
IPV6: Bug elimination with Ubuntu netplan
6492fc9
IPV6: Unified script to change web domain ip
43454ef
IPV6: Avoiding of issues with empty IPs during change web domain IP o…
4fc892a
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc aaf67af
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 2b66c2c
IPV6: Avoiding error logs due to listing of not existing dns and mail…
96ee43c
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 6a4b967
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 3a32b96
IPV6: Bugfixing. Add DNS records for second and further webmail user …
54c972c
Merge branch 'ipv6' of github.com:asmcc/hestiacp into ipv6
3333fe8
IPV6: Some Change and add scripts. Double quotation
f162a40
IPV6: Further add and change scripts. Double quotation
59b6d81
IPV6: Change and delete scripts. Filter enhancement and double quotation
cb4b3e5
IPV6: Bug fixing for better filtering during the delete of IP address…
de711bf
Merge branch 'main' into ipv6
asmcc 6f86640
Merge branch 'main' into hestiamain
asmcc c517072
Merge branch 'main' into hestiamain
asmcc 0965647
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 4092020
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 7ce7782
IPV6: Documentation and small corrections
b982d5d
Merge remote-tracking branch 'upstream/main' into hestiamain
asmcc 1ef4a66
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 4eab2b8
Merge branch 'main' into hestiamain
asmcc a40bda8
Merge branch 'main' into ipv6
asmcc 68ef78e
Merge branch 'main' into hestiamain
asmcc 25daf53
Merge main into IPV6 branch with manual conflict resolving
asmcc 74c44a4
IPV6: Manual corrections after merge with main
75621d2
IPV6: Bugfixing after merge with admin user change
1caed2b
IPV6: Remove the empty user definition in bin/v-add-sys-ip
ef85581
IPV6: Revert changes with empty user definition
9cba694
IPV6: Failback definition for variable within func/main.sh
e9e2e0e
IPV6: Second attempt for failback definition
ada451e
IPV6: Third attempt for failback definition
89c042a
IPV6: Additional bugfixing for empty user definition
535bd07
IPV6: Further bugfixing for empty user definition
036a3e0
Merge branch 'main' into hestiamain
asmcc e0daf8a
Bugfixing of empty issue after change to user defined admin user
5631881
Further corrections in some firewall scripts to generate correct rela…
665e4f0
Merge branch 'empty_user-issue' into ipv6
asmcc dbe2999
Merge branch 'main' into ipv6
asmcc 3e2dd44
IPV6: Remove override option from install scripts
5e9cd47
IPV6: Replace bin/v-list-sys-users by bin/v-list-users
a2b8d61
Merge branch 'main' into ipv6
asmcc f3ffd1d
Bugfixing in firewall scripts
7cc6c12
Bugfixing bin/v-update-firewall
c139a8e
IPV6: Address definition for letsencrypt test
61d7404
Merge branch 'main' into ipv6
asmcc fd70cb5
Merge branch 'main' into ipv6
asmcc c4cc352
Bug with / not mounting due error with systemd files when username co…
jaapmarcus 760856a
Use double qoutes
jaapmarcus fd66fc8
Add test regarding sftp jail
jaapmarcus f759cd2
Fix: idn2: toAscii: A-label roundtrip failed
jaapmarcus ae4c748
Merge remote-tracking branch 'upstream/fix/sftp-jail-user-name-contai…
asmcc 5415ae1
Merge remote-tracking branch 'upstream/fix/generate-ssl-bug' into ipv6
asmcc f72c606
Fix folder not created
jaapmarcus cbcaee7
Use mkdir -p
jaapmarcus e947454
Improve chown
jaapmarcus 70801e0
Convert email correctly
jaapmarcus f38384d
Remove echo
jaapmarcus bc45fc3
Merge remote-tracking branch 'upstream/fix/generate-ssl-bug' into ipv6
asmcc 017547f
Merge remote-tracking branch 'upstream/fix/sftp-jail-user-name-contai…
asmcc db516e8
IPV6: Optimisations for IP format detection and validation in func/ma…
9b6cdf9
IPV6: Revert of overwritten changes from last commit
33a2c67
Merge branch 'main' into ipv6
asmcc 2ae4db0
Merge branch 'main' into ipv6
asmcc 0055941
Merge branch 'main' into ipv6
asmcc dde7c1a
Merge branch 'main' into ipv6
asmcc 5ae747b
Merge branch 'main' into ipv6
asmcc a02cf34
Merge branch 'main' into ipv6
asmcc 0430e0d
Merge branch 'main' into ipv6
asmcc ab9a211
Merge branch 'main' into ipv6
asmcc 074d84c
Merge branch 'main' into ipv6
asmcc 4e695e2
Merge branch 'main' into ipv6
asmcc 1d2b32f
Merge branch 'main' into ipv6
asmcc 19b81cb
IPV6: Manual corrections after merge with main
asmcc ad0f37c
Merge branch 'main' into ipv6
asmcc 85982a2
Merge branch 'main' into ipv6
asmcc 05aa9ab
IPV6: Fail2Ban. First working version
a2004ef
Merge branch 'main' into ipv6
asmcc 8b32046
IPV6: Fail2Ban. Special case ALL chains. Remove lockingopt from add-f…
57e59e4
IPV6: Improvement of v-add-firewall-chain
ea4c50b
Merge branch 'main' into ipv6
asmcc 8f819da
IPV6: Fail2Ban. Arguments check
5df4108
Merge branch 'main' into ipv6
asmcc 7408f55
IPV6: Fail2Ban. Bugfix arguments check
8fd098c
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 4575eb8
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 97c76d1
IPV6: FIREWALL. Move locking option to global function
a1204bc
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc bb6069d
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 8933224
Manual changes in v-add-web-domain-ipv46 after merge with main
a1db7dc
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc 8e85809
Merge remote-tracking branch 'upstream/main' into ipv6
asmcc File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need iptables / fw_lockingopt option
I don't we will ever want to implement anything other then iptables and it should all be the same..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe for iptables6 and iptables...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this locking option (as -w) comes from standard example of fail2ban. Therefore I pass-through it here, like it is defined in standard library of fail2ban. Unfortunatelly it works actually only in case of "add chain". I do not know, why, but that were results of my "printf test" or better to say "echo test" and play with these scripts.
The problem with this additionally option is followed: If you ignore it completelly, may be, that it will be added during call as last argument. In this case you will have iptables="iptables -w" (or something else). Therefore we need a "very last" argument after "last argument" iptables. Then you will have "clean" separation in iptables="iptables" and rest in this "lockingopt".
After it we can decide, if we want to use it, if we call iptables. Actually it is only during "add chain" and I will observe, how it works. I do not know really, why fail2ban use this option. I will read more about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can find this file under /etc/fail2ban/actions.d/iptables.conf
And that is a kind of "library" for calls over this iptables-interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.