initial commit of file from CVS for smeserver-coova-chilli on Sat Sep 7 20:15:38 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:15:38 +10:00
parent ee4df6cdb4
commit 2120fa2210
85 changed files with 1432 additions and 2 deletions

View File

@@ -0,0 +1 @@
tcp:any:443

View File

@@ -0,0 +1 @@
3990

View File

@@ -0,0 +1 @@
direct

View File

@@ -0,0 +1 @@
private

View File

@@ -0,0 +1 @@
900

View File

@@ -0,0 +1 @@
7200

View File

@@ -0,0 +1 @@
254

View File

@@ -0,0 +1 @@
eth2

View File

@@ -0,0 +1 @@
10

View File

@@ -0,0 +1 @@
8.8.8.8

View File

@@ -0,0 +1 @@
8.8.4.4

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
400

View File

@@ -0,0 +1 @@
64

View File

@@ -0,0 +1 @@
10.1.0.0/255.255.255.0

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
disabled

View File

@@ -0,0 +1 @@
tun0

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,16 @@
{
my $chilliconf = $DB->get('chilli') || $DB->new_record('chilli', {type => 'service'});
my $uamsecret = $chilliconf->prop('uamsecret') || '';
if ($uamsecret eq ''){
$pass=`/usr/bin/openssl rand -base64 60 | tr -c -d '[:graph:]'`;
$chilliconf->set_prop('uamsecret',$pass);
}
# change default dns server as they are not available anymore
# new default is google
my $dns1 = $chilliconf->prop('dns1') || '212.73.209.226';
my $dns2 = $chilliconf->prop('dns2') || '194.206.120.1';
$chilliconf->set_prop('dns1','8.8.8.8') if $dns1 eq '212.73.209.226';
$chilliconf->set_prop('dns2','8.8.4.4') if $dns2 eq '194.206.120.1';
}