You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go get -d -u -t github.com/refraction-networking/gotapdance/...
40
39
```
41
40
42
-
**Install PF_RING**
41
+
**Install PF_RING**
43
42
44
43
1.[Install from Package](https://github.com/refraction-networking/conjure/wiki/PF_RING#from-packages)
45
44
46
45
2.[Install From Git / Source](https://github.com/refraction-networking/conjure/wiki/PF_RING#from-source)
47
-
* if installing from git / source make the zbalance_ipc executable, and ensure that it is available through your `$PATH`.
46
+
- if installing from git / source make the zbalance_ipc executable, and ensure that it is available through your `$PATH`.
48
47
49
48
### Build the station
50
49
@@ -57,6 +56,38 @@ make
57
56
58
57
### Configure
59
58
59
+
The layout of configuration expected by the default layout of a production server is:
60
+
61
+
```sh
62
+
## Station specific configuration and files go in /var/lib/conjure
63
+
$ tree /var/lib/conjure/
64
+
/var/lib/conjure/
65
+
├── app_config.toml
66
+
├── ClientConf # if running the registration server locally
67
+
├── conjure.conf
68
+
├── phantom_subnets.toml
69
+
├── privkey
70
+
├── pubkey
71
+
└── reg_config.toml # if running the registration server locally
72
+
73
+
## Scripts, executables, and the default environment script (conjure.conf) go in /opt/conjure
74
+
$ tree /opt/conjure/
75
+
/opt/conjure/
76
+
├── bin
77
+
│ ├── application
78
+
│ ├── conjure
79
+
│ └── registration_server # if running the registration server locally
80
+
├── on-reboot.sh
81
+
├── scripts
82
+
│ ├── install_pfring.sh
83
+
│ ├── start_application.sh
84
+
│ ├── start_detector.sh
85
+
│ ├── start_registrar.sh
86
+
│ └── start_zbalance_ipc.sh
87
+
└── sysconfig
88
+
└── conjure.conf # Expected by systemd services, applies overrides from /var/lib/conjure/conjure.conf
89
+
```
90
+
60
91
To run a station configuration modifications are required. This section outlines
61
92
some minimal changes, for more configuration options see the [wiki configuration page](https://github.com/refraction-networking/conjure/wiki/Configuration).
62
93
@@ -67,24 +98,25 @@ some minimal changes, for more configuration options see the [wiki configuration
67
98
# The interface(s) which PF_RING Zero Copy will tap.
68
99
CJ_IFACE="zc:enp179s0f0,zc:enp179s0f1"
69
100
70
-
Public addresses that of non-tap interface - used for kernel DNAT
101
+
Public addresses that of non-tap interface - used for kernel DNAT
71
102
IP4_ADDR="<PUBLIC_STATION_V4_ADDRESS>"
72
103
IP6_ADDR="<PUBLIC_STATION_V6_ADDRESS>"
73
104
74
105
```
75
106
76
107
Note: ipv6 in disabled by default. To enable IPv6 modify
77
108
`application/config.toml`
109
+
78
110
```diff
79
111
# Allow the station to opt out of either version of internet protocol to limit a
80
112
# station to handling one or the other. For example, v6 on small station deployment
81
-
# with only v6 phantom subnet, v4 only on station with no puvlic v6 address.
113
+
# with only v6 phantom subnet, v4 only on station with no puvlic v6 address.
82
114
enable_v4 = true
83
115
-enable_v6 = false
84
116
+enable_v6 = true
85
117
```
86
118
87
-
2. Define application parameters in `application/congfig.toml`
119
+
2. Define application parameters in `application/app_config.toml`
88
120
89
121
```toml
90
122
# ============[ REQUIRED ]============
@@ -105,16 +137,16 @@ updated going forward with new generations) in `sysconfig/phantom_subnets.toml`
0 commit comments