NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

_modules/scripts/ipv6_controller.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

ipv6_controller.sh on main
Author Date Commit Line Code
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
1
#!/usr/bin/env bash
Open commit View diff
1 #!/usr/bin/env bash
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
2
# _modules/scripts/ipv6_controller.sh
Open commit View diff
2 # _modules/scripts/ipv6_controller.sh
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
3
# THIS SCRIPT IS DESIGNED TO BE RUNNING BY MAILCOW SCRIPTS ONLY!
Open commit View diff
3 # THIS SCRIPT IS DESIGNED TO BE RUNNING BY MAILCOW SCRIPTS ONLY!
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
4
# DO NOT, AGAIN, NOT TRY TO RUN THIS SCRIPT STANDALONE!!!!!!
Open commit View diff
4 # DO NOT, AGAIN, NOT TRY TO RUN THIS SCRIPT STANDALONE!!!!!!
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
5
Open commit View diff
5
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
6
# 1) Check if the host supports IPv6
Open commit View diff
6 # 1) Check if the host supports IPv6
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
7
get_ipv6_support() {
Open commit View diff
7 get_ipv6_support() {
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
8
  # ---- helper: probe external IPv6 connectivity without DNS ----
Open commit View diff
8 # ---- helper: probe external IPv6 connectivity without DNS ----
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
9
  _probe_ipv6_connectivity() {
Open commit View diff
9 _probe_ipv6_connectivity() {
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
10
    # Use literal, always-on IPv6 echo responders (no DNS required)
Open commit View diff
10 # Use literal, always-on IPv6 echo responders (no DNS required)
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
11
    local PROBE_IPS=("2001:4860:4860::8888" "2606:4700:4700::1111")
Open commit View diff
11 local PROBE_IPS=("2001:4860:4860::8888" "2606:4700:4700::1111")
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
12
    local ip rc=1
Open commit View diff
12 local ip rc=1
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
13
Open commit View diff
13
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
14
    for ip in "${PROBE_IPS[@]}"; do
Open commit View diff
14 for ip in "${PROBE_IPS[@]}"; do
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
15
      if command -v ping6 &>/dev/null; then
Open commit View diff
15 if command -v ping6 &>/dev/null; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
16
        ping6 -c1 -W2 "$ip" &>/dev/null || ping6 -c1 -w2 "$ip" &>/dev/null
Open commit View diff
16 ping6 -c1 -W2 "$ip" &>/dev/null || ping6 -c1 -w2 "$ip" &>/dev/null
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
17
        rc=$?
Open commit View diff
17 rc=$?
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
18
      elif command -v ping &>/dev/null; then
Open commit View diff
18 elif command -v ping &>/dev/null; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
19
        ping -6 -c1 -W2 "$ip" &>/dev/null || ping -6 -c1 -w2 "$ip" &>/dev/null
Open commit View diff
19 ping -6 -c1 -W2 "$ip" &>/dev/null || ping -6 -c1 -w2 "$ip" &>/dev/null
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
20
        rc=$?
Open commit View diff
20 rc=$?
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
21
      else
Open commit View diff
21 else
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
22
        rc=1
Open commit View diff
22 rc=1
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
23
      fi
Open commit View diff
23 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
24
      [[ $rc -eq 0 ]] && return 0
Open commit View diff
24 [[ $rc -eq 0 ]] && return 0
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
25
    done
Open commit View diff
25 done
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
26
    return 1
Open commit View diff
26 return 1
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
27
  }
Open commit View diff
27 }
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
28
Open commit View diff
28
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
29
  if [[ ! -f /proc/net/if_inet6 ]] || grep -qs '^1' /proc/sys/net/ipv6/conf/all/disable_ipv6 2>/dev/null; then
Open commit View diff
29 if [[ ! -f /proc/net/if_inet6 ]] || grep -qs '^1' /proc/sys/net/ipv6/conf/all/disable_ipv6 2>/dev/null; then
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
30
    DETECTED_IPV6=false
Open commit View diff
30 DETECTED_IPV6=false
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
31
    echo -e "${YELLOW}IPv6 not detected on host – ${LIGHT_RED}IPv6 is administratively disabled${YELLOW}.${NC}"
Open commit View diff
31 echo -e "${YELLOW}IPv6 not detected on host – ${LIGHT_RED}IPv6 is administratively disabled${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
32
    return
Open commit View diff
32 return
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
33
  fi
Open commit View diff
33 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
34
Open commit View diff
34
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
35
  if ip -6 route show default 2>/dev/null | grep -qE '^default'; then
Open commit View diff
35 if ip -6 route show default 2>/dev/null | grep -qE '^default'; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
36
    echo -e "${YELLOW}Default IPv6 route found – testing external IPv6 connectivity...${NC}"
Open commit View diff
36 echo -e "${YELLOW}Default IPv6 route found – testing external IPv6 connectivity...${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
37
    if _probe_ipv6_connectivity; then
Open commit View diff
37 if _probe_ipv6_connectivity; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
38
      DETECTED_IPV6=true
Open commit View diff
38 DETECTED_IPV6=true
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
39
      echo -e "IPv6 detected on host – ${LIGHT_GREEN}leaving IPv6 support enabled${YELLOW}.${NC}"
Open commit View diff
39 echo -e "IPv6 detected on host – ${LIGHT_GREEN}leaving IPv6 support enabled${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
40
    else
Open commit View diff
40 else
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
41
      DETECTED_IPV6=false
Open commit View diff
41 DETECTED_IPV6=false
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
42
      echo -e "${YELLOW}Default IPv6 route present but external IPv6 connectivity failed – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
Open commit View diff
42 echo -e "${YELLOW}Default IPv6 route present but external IPv6 connectivity failed – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
43
    fi
Open commit View diff
43 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
44
    return
Open commit View diff
44 return
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
45
  fi
Open commit View diff
45 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
46
Open commit View diff
46
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
47
  if ip -6 addr show scope global 2>/dev/null | grep -q 'inet6'; then
Open commit View diff
47 if ip -6 addr show scope global 2>/dev/null | grep -q 'inet6'; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
48
    DETECTED_IPV6=false
Open commit View diff
48 DETECTED_IPV6=false
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
49
    echo -e "${YELLOW}Global IPv6 address present but no default route – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
Open commit View diff
49 echo -e "${YELLOW}Global IPv6 address present but no default route – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
50
    return
Open commit View diff
50 return
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
51
  fi
Open commit View diff
51 fi
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
52
Open commit View diff
52
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
53
  if ip -6 addr show scope link 2>/dev/null | grep -q 'inet6'; then
Open commit View diff
53 if ip -6 addr show scope link 2>/dev/null | grep -q 'inet6'; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
54
    echo -e "${YELLOW}Only link-local IPv6 addresses found – testing external IPv6 connectivity...${NC}"
Open commit View diff
54 echo -e "${YELLOW}Only link-local IPv6 addresses found – testing external IPv6 connectivity...${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
55
    if _probe_ipv6_connectivity; then
Open commit View diff
55 if _probe_ipv6_connectivity; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
56
      DETECTED_IPV6=true
Open commit View diff
56 DETECTED_IPV6=true
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
57
      echo -e "External IPv6 connectivity available – ${LIGHT_GREEN}leaving IPv6 support enabled${YELLOW}.${NC}"
Open commit View diff
57 echo -e "External IPv6 connectivity available – ${LIGHT_GREEN}leaving IPv6 support enabled${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
58
    else
Open commit View diff
58 else
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
59
      DETECTED_IPV6=false
Open commit View diff
59 DETECTED_IPV6=false
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
60
      echo -e "${YELLOW}Only link-local IPv6 present and no external connectivity – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
Open commit View diff
60 echo -e "${YELLOW}Only link-local IPv6 present and no external connectivity – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
61
    fi
Open commit View diff
61 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
62
    return
Open commit View diff
62 return
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
63
  fi
Open commit View diff
63 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
64
Open commit View diff
64
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
65
  DETECTED_IPV6=false
Open commit View diff
65 DETECTED_IPV6=false
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
66
  echo -e "${YELLOW}IPv6 not detected on host – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
Open commit View diff
66 echo -e "${YELLOW}IPv6 not detected on host – ${LIGHT_RED}disabling IPv6 support${YELLOW}.${NC}"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
67
}
Open commit View diff
67 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
68
Open commit View diff
68
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
69
# 2) Ensure Docker daemon.json has (or create) the required IPv6 settings
Open commit View diff
69 # 2) Ensure Docker daemon.json has (or create) the required IPv6 settings
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
70
docker_daemon_edit(){
Open commit View diff
70 docker_daemon_edit(){
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
71
  DOCKER_DAEMON_CONFIG="/etc/docker/daemon.json"
Open commit View diff
71 DOCKER_DAEMON_CONFIG="/etc/docker/daemon.json"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
72
  DOCKER_MAJOR=$(docker version --format '{{.Server.Version}}' 2>/dev/null | cut -d. -f1)
Open commit View diff
72 DOCKER_MAJOR=$(docker version --format '{{.Server.Version}}' 2>/dev/null | cut -d. -f1)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
73
  MISSING=()
Open commit View diff
73 MISSING=()
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
74
Open commit View diff
74
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
75
  _has_kv() { grep -Eq "\"$1\"[[:space:]]*:[[:space:]]*$2" "$DOCKER_DAEMON_CONFIG" 2>/dev/null; }
Open commit View diff
75 _has_kv() { grep -Eq "\"$1\"[[:space:]]*:[[:space:]]*$2" "$DOCKER_DAEMON_CONFIG" 2>/dev/null; }
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
76
Open commit View diff
76
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
77
  if [[ -f "$DOCKER_DAEMON_CONFIG" ]]; then
Open commit View diff
77 if [[ -f "$DOCKER_DAEMON_CONFIG" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
78
Open commit View diff
78
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
79
    # reject empty or whitespace-only file immediately
Open commit View diff
79 # reject empty or whitespace-only file immediately
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
80
    if [[ ! -s "$DOCKER_DAEMON_CONFIG" ]] || ! grep -Eq '[{}]' "$DOCKER_DAEMON_CONFIG"; then
Open commit View diff
80 if [[ ! -s "$DOCKER_DAEMON_CONFIG" ]] || ! grep -Eq '[{}]' "$DOCKER_DAEMON_CONFIG"; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
81
      echo -e "${RED}ERROR: $DOCKER_DAEMON_CONFIG exists but is empty or contains no JSON braces – please initialize it with valid JSON (e.g. {}).${NC}"
Open commit View diff
81 echo -e "${RED}ERROR: $DOCKER_DAEMON_CONFIG exists but is empty or contains no JSON braces – please initialize it with valid JSON (e.g. {}).${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
82
      exit 1
Open commit View diff
82 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
83
    fi
Open commit View diff
83 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
84
Open commit View diff
84
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
85
    # Validate JSON if jq is present
Open commit View diff
85 # Validate JSON if jq is present
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
86
    if command -v jq &>/dev/null && ! jq empty "$DOCKER_DAEMON_CONFIG" &>/dev/null; then
Open commit View diff
86 if command -v jq &>/dev/null && ! jq empty "$DOCKER_DAEMON_CONFIG" &>/dev/null; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
87
      echo -e "${RED}ERROR: Invalid JSON in $DOCKER_DAEMON_CONFIG – please correct manually.${NC}"
Open commit View diff
87 echo -e "${RED}ERROR: Invalid JSON in $DOCKER_DAEMON_CONFIG – please correct manually.${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
88
      exit 1
Open commit View diff
88 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
89
    fi
Open commit View diff
89 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
90
Open commit View diff
90
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
91
    # Gather missing keys
Open commit View diff
91 # Gather missing keys
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
92
    ! _has_kv ipv6 true && MISSING+=("ipv6: true")
Open commit View diff
92 ! _has_kv ipv6 true && MISSING+=("ipv6: true")
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
93
Open commit View diff
93
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
94
    # For Docker < 28, keep requiring fixed-cidr-v6 (default bridge needs it on old engines)
Open commit View diff
94 # For Docker < 28, keep requiring fixed-cidr-v6 (default bridge needs it on old engines)
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
95
    if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
Open commit View diff
95 if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
96
      ! grep -Eq '"fixed-cidr-v6"[[:space:]]*:[[:space:]]*".+"' "$DOCKER_DAEMON_CONFIG" \
Open commit View diff
96 ! grep -Eq '"fixed-cidr-v6"[[:space:]]*:[[:space:]]*".+"' "$DOCKER_DAEMON_CONFIG" \
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
97
                                && MISSING+=('fixed-cidr-v6: "fd00:dead:beef:c0::/80"')
Open commit View diff
97 && MISSING+=('fixed-cidr-v6: "fd00:dead:beef:c0::/80"')
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
98
    fi
Open commit View diff
98 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
99
Open commit View diff
99
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
100
    # For Docker < 27, ip6tables needed and was tied to experimental in older releases
Open commit View diff
100 # For Docker < 27, ip6tables needed and was tied to experimental in older releases
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
101
    if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
Open commit View diff
101 if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
102
      _has_kv ipv6 true && ! _has_kv ip6tables true && MISSING+=("ip6tables: true")
Open commit View diff
102 _has_kv ipv6 true && ! _has_kv ip6tables true && MISSING+=("ip6tables: true")
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
103
      ! _has_kv experimental true && MISSING+=("experimental: true")
Open commit View diff
103 ! _has_kv experimental true && MISSING+=("experimental: true")
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
104
    fi
Open commit View diff
104 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
105
Open commit View diff
105
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
106
    # Fix if needed
Open commit View diff
106 # Fix if needed
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
107
    if ((${#MISSING[@]}>0)); then
Open commit View diff
107 if ((${#MISSING[@]}>0)); then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
108
      echo -e "${MAGENTA}Your daemon.json is missing: ${YELLOW}${MISSING[*]}${NC}"
Open commit View diff
108 echo -e "${MAGENTA}Your daemon.json is missing: ${YELLOW}${MISSING[*]}${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
109
      if [[ -n "$FORCE" ]]; then
Open commit View diff
109 if [[ -n "$FORCE" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
110
        ans=Y
Open commit View diff
110 ans=Y
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
111
      else
Open commit View diff
111 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
112
        read -p "Would you like to update $DOCKER_DAEMON_CONFIG now? [Y/n] " ans
Open commit View diff
112 read -p "Would you like to update $DOCKER_DAEMON_CONFIG now? [Y/n] " ans
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
113
        ans=${ans:-Y}
Open commit View diff
113 ans=${ans:-Y}
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
114
      fi
Open commit View diff
114 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
115
Open commit View diff
115
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
116
      if [[ $ans =~ ^[Yy]$ ]]; then
Open commit View diff
116 if [[ $ans =~ ^[Yy]$ ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
117
        cp "$DOCKER_DAEMON_CONFIG" "${DOCKER_DAEMON_CONFIG}.bak"
Open commit View diff
117 cp "$DOCKER_DAEMON_CONFIG" "${DOCKER_DAEMON_CONFIG}.bak"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
118
        if command -v jq &>/dev/null; then
Open commit View diff
118 if command -v jq &>/dev/null; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
119
          TMP=$(mktemp)
Open commit View diff
119 TMP=$(mktemp)
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
120
          # Base filter: ensure ipv6 = true
Open commit View diff
120 # Base filter: ensure ipv6 = true
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
121
          JQ_FILTER='.ipv6 = true'
Open commit View diff
121 JQ_FILTER='.ipv6 = true'
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
122
Open commit View diff
122
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
123
          # Add fixed-cidr-v6 only for Docker < 28
Open commit View diff
123 # Add fixed-cidr-v6 only for Docker < 28
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
124
          if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
Open commit View diff
124 if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
125
            JQ_FILTER+=' | .["fixed-cidr-v6"] = (.["fixed-cidr-v6"] // "fd00:dead:beef:c0::/80")'
Open commit View diff
125 JQ_FILTER+=' | .["fixed-cidr-v6"] = (.["fixed-cidr-v6"] // "fd00:dead:beef:c0::/80")'
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
126
          fi
Open commit View diff
126 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
127
Open commit View diff
127
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
128
          # Add ip6tables/experimental only for Docker < 27
Open commit View diff
128 # Add ip6tables/experimental only for Docker < 27
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
129
          if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
Open commit View diff
129 if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
130
            JQ_FILTER+=' | .ip6tables = true | .experimental = true'
Open commit View diff
130 JQ_FILTER+=' | .ip6tables = true | .experimental = true'
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
131
          fi
Open commit View diff
131 fi
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
132
Open commit View diff
132
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
133
          jq "$JQ_FILTER" "$DOCKER_DAEMON_CONFIG" >"$TMP" && mv "$TMP" "$DOCKER_DAEMON_CONFIG"
Open commit View diff
133 jq "$JQ_FILTER" "$DOCKER_DAEMON_CONFIG" >"$TMP" && mv "$TMP" "$DOCKER_DAEMON_CONFIG"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
134
          echo -e "${LIGHT_GREEN}daemon.json updated. Restarting Docker...${NC}"
Open commit View diff
134 echo -e "${LIGHT_GREEN}daemon.json updated. Restarting Docker...${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
135
          (command -v systemctl &>/dev/null && systemctl restart docker) || service docker restart
Open commit View diff
135 (command -v systemctl &>/dev/null && systemctl restart docker) || service docker restart
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
136
          echo -e "${YELLOW}Docker restarted.${NC}"
Open commit View diff
136 echo -e "${YELLOW}Docker restarted.${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
137
        else
Open commit View diff
137 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
138
          echo -e "${RED}Please install jq or manually update daemon.json and restart Docker.${NC}"
Open commit View diff
138 echo -e "${RED}Please install jq or manually update daemon.json and restart Docker.${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
139
          exit 1
Open commit View diff
139 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
140
        fi
Open commit View diff
140 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
141
      else
Open commit View diff
141 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
142
        echo -e "${YELLOW}User declined Docker update – please insert these changes manually:${NC}"
Open commit View diff
142 echo -e "${YELLOW}User declined Docker update – please insert these changes manually:${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
143
        echo "${MISSING[*]}"
Open commit View diff
143 echo "${MISSING[*]}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
144
        exit 1
Open commit View diff
144 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
145
      fi
Open commit View diff
145 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
146
    fi
Open commit View diff
146 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
147
Open commit View diff
147
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
148
  else
Open commit View diff
148 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
149
    # Create new daemon.json if missing
Open commit View diff
149 # Create new daemon.json if missing
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
150
    if [[ -n "$FORCE" ]]; then
Open commit View diff
150 if [[ -n "$FORCE" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
151
      ans=Y
Open commit View diff
151 ans=Y
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
152
    else
Open commit View diff
152 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
153
      read -p "$DOCKER_DAEMON_CONFIG not found. Create it with IPv6 settings? [Y/n] " ans
Open commit View diff
153 read -p "$DOCKER_DAEMON_CONFIG not found. Create it with IPv6 settings? [Y/n] " ans
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
154
      ans=${ans:-Y}
Open commit View diff
154 ans=${ans:-Y}
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
155
    fi
Open commit View diff
155 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
156
Open commit View diff
156
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
157
    if [[ $ans =~ ^[Yy]$ ]]; then
Open commit View diff
157 if [[ $ans =~ ^[Yy]$ ]]; then
Colin Kubon 10 months ago c217be0

scripts: make sure /etc/docker exists (#6791)

Full commit hash
c217be06c6ced586976e4e900701c84d51f6e35c
Author
Colin Kubon <[email protected]>
Date
10 months ago
Selected line
158
      mkdir -p "$(dirname "$DOCKER_DAEMON_CONFIG")"
Open commit View diff
158 mkdir -p "$(dirname "$DOCKER_DAEMON_CONFIG")"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
159
      if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
Open commit View diff
159 if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
160
        cat > "$DOCKER_DAEMON_CONFIG" <<EOF
Open commit View diff
160 cat > "$DOCKER_DAEMON_CONFIG" <<EOF
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
161
{
Open commit View diff
161 {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
162
  "ipv6": true,
Open commit View diff
162 "ipv6": true,
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
163
  "fixed-cidr-v6": "fd00:dead:beef:c0::/80",
Open commit View diff
163 "fixed-cidr-v6": "fd00:dead:beef:c0::/80",
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
164
  "ip6tables": true,
Open commit View diff
164 "ip6tables": true,
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
165
  "experimental": true
Open commit View diff
165 "experimental": true
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
166
}
Open commit View diff
166 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
167
EOF
Open commit View diff
167 EOF
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
168
      elif [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
Open commit View diff
168 elif [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 28 ]]; then
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
169
        cat > "$DOCKER_DAEMON_CONFIG" <<EOF
Open commit View diff
169 cat > "$DOCKER_DAEMON_CONFIG" <<EOF
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
170
{
Open commit View diff
170 {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
171
  "ipv6": true,
Open commit View diff
171 "ipv6": true,
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
172
  "fixed-cidr-v6": "fd00:dead:beef:c0::/80"
Open commit View diff
172 "fixed-cidr-v6": "fd00:dead:beef:c0::/80"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
173
}
Open commit View diff
173 }
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
174
EOF
Open commit View diff
174 EOF
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
175
      else
Open commit View diff
175 else
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
176
        # Docker 28+: ipv6 works without fixed-cidr-v6
Open commit View diff
176 # Docker 28+: ipv6 works without fixed-cidr-v6
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
177
        cat > "$DOCKER_DAEMON_CONFIG" <<EOF
Open commit View diff
177 cat > "$DOCKER_DAEMON_CONFIG" <<EOF
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
178
{
Open commit View diff
178 {
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
179
  "ipv6": true
Open commit View diff
179 "ipv6": true
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
180
}
Open commit View diff
180 }
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
181
EOF
Open commit View diff
181 EOF
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
182
      fi
Open commit View diff
182 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
183
      echo -e "${GREEN}Created $DOCKER_DAEMON_CONFIG with IPv6 settings.${NC}"
Open commit View diff
183 echo -e "${GREEN}Created $DOCKER_DAEMON_CONFIG with IPv6 settings.${NC}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
184
      echo "Restarting Docker..."
Open commit View diff
184 echo "Restarting Docker..."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
185
      (command -v systemctl &>/dev/null && systemctl restart docker) || service docker restart
Open commit View diff
185 (command -v systemctl &>/dev/null && systemctl restart docker) || service docker restart
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
186
      echo "Docker restarted."
Open commit View diff
186 echo "Docker restarted."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
187
    else
Open commit View diff
187 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
188
      echo "User declined to create daemon.json – please manually merge the docker daemon with these configs:"
Open commit View diff
188 echo "User declined to create daemon.json – please manually merge the docker daemon with these configs:"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
189
      echo "${MISSING[*]}"
Open commit View diff
189 echo "${MISSING[*]}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
190
      exit 1
Open commit View diff
190 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
191
    fi
Open commit View diff
191 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
192
  fi
Open commit View diff
192 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
193
}
Open commit View diff
193 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
194
Open commit View diff
194
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
195
# 3) Main wrapper for generate_config.sh and update.sh
Open commit View diff
195 # 3) Main wrapper for generate_config.sh and update.sh
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
196
configure_ipv6() {
Open commit View diff
196 configure_ipv6() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
197
  # detect manual override if mailcow.conf is present
Open commit View diff
197 # detect manual override if mailcow.conf is present
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
198
  if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]] && grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
Open commit View diff
198 if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]] && grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
199
    MANUAL_SETTING=$(grep '^ENABLE_IPV6=' "$MAILCOW_CONF" | cut -d= -f2)
Open commit View diff
199 MANUAL_SETTING=$(grep '^ENABLE_IPV6=' "$MAILCOW_CONF" | cut -d= -f2)
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
200
  elif [[ -z "$MAILCOW_CONF" ]] && [[ -n "${ENABLE_IPV6:-}" ]]; then
Open commit View diff
200 elif [[ -z "$MAILCOW_CONF" ]] && [[ -n "${ENABLE_IPV6:-}" ]]; then
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
201
    MANUAL_SETTING="$ENABLE_IPV6"
Open commit View diff
201 MANUAL_SETTING="$ENABLE_IPV6"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
202
  else
Open commit View diff
202 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
203
    MANUAL_SETTING=""
Open commit View diff
203 MANUAL_SETTING=""
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
204
  fi
Open commit View diff
204 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
205
Open commit View diff
205
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
206
  get_ipv6_support
Open commit View diff
206 get_ipv6_support
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
207
Open commit View diff
207
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
208
  # if user manually set it, check for mismatch
Open commit View diff
208 # if user manually set it, check for mismatch
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
209
  if [[ "$DETECTED_IPV6" != "true" ]]; then
Open commit View diff
209 if [[ "$DETECTED_IPV6" != "true" ]]; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
210
    if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]]; then
Open commit View diff
210 if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]]; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
211
      if grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
Open commit View diff
211 if grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
212
        sed -i 's/^ENABLE_IPV6=.*/ENABLE_IPV6=false/' "$MAILCOW_CONF"
Open commit View diff
212 sed -i 's/^ENABLE_IPV6=.*/ENABLE_IPV6=false/' "$MAILCOW_CONF"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
213
      else
Open commit View diff
213 else
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
214
        echo "ENABLE_IPV6=false" >> "$MAILCOW_CONF"
Open commit View diff
214 echo "ENABLE_IPV6=false" >> "$MAILCOW_CONF"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
215
      fi
Open commit View diff
215 fi
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
216
    else
Open commit View diff
216 else
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
217
      export IPV6_BOOL=false
Open commit View diff
217 export IPV6_BOOL=false
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
218
    fi
Open commit View diff
218 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
219
    echo "Skipping Docker IPv6 configuration because host does not support IPv6."
Open commit View diff
219 echo "Skipping Docker IPv6 configuration because host does not support IPv6."
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
220
    echo "Make sure to check if your docker daemon.json does not include \"enable_ipv6\": true if you do not want IPv6."
Open commit View diff
220 echo "Make sure to check if your docker daemon.json does not include \"enable_ipv6\": true if you do not want IPv6."
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
221
    echo "IPv6 configuration complete: ENABLE_IPV6=false"
Open commit View diff
221 echo "IPv6 configuration complete: ENABLE_IPV6=false"
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
222
    sleep 2
Open commit View diff
222 sleep 2
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
223
    return
Open commit View diff
223 return
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
224
  fi
Open commit View diff
224 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
225
Open commit View diff
225
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
226
  docker_daemon_edit
Open commit View diff
226 docker_daemon_edit
same change 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
227
Open commit View diff
227
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
228
  if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]]; then
Open commit View diff
228 if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
229
    if grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
Open commit View diff
229 if grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
230
      sed -i 's/^ENABLE_IPV6=.*/ENABLE_IPV6=true/' "$MAILCOW_CONF"
Open commit View diff
230 sed -i 's/^ENABLE_IPV6=.*/ENABLE_IPV6=true/' "$MAILCOW_CONF"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
231
    else
Open commit View diff
231 else
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
232
      echo "ENABLE_IPV6=true" >> "$MAILCOW_CONF"
Open commit View diff
232 echo "ENABLE_IPV6=true" >> "$MAILCOW_CONF"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
233
    fi
Open commit View diff
233 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
234
  else
Open commit View diff
234 else
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
235
    export IPV6_BOOL=true
Open commit View diff
235 export IPV6_BOOL=true
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
236
  fi
Open commit View diff
236 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
237
Open commit View diff
237
DerLinkman 11 months ago 94c1a6c

scripts: ipv6_controller improvement + fix modules handling (#6722)

Full commit hash
94c1a6c4e1f8901e38e4562dd208cc026277fab8
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
238
  echo "IPv6 configuration complete: ENABLE_IPV6=true"
Open commit View diff
238 echo "IPv6 configuration complete: ENABLE_IPV6=true"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
239
}
Open commit View diff
239 }