Update 433
- Update readme - Added support for updated driver configuration - Added revision control database schema (258fed034e
) - Added option "callhistory_answered_elsewhere" - save point in phone directory for pickup calls. (bug fix by dkgroot0291207d82
) - Bug fix options (TFTP SERVER remapping support) - And traditionally added new bugs. - И для тех кто хочет помочь проекту добавлены свежие баги. Я их еще не нашел, а вы ?
This commit is contained in:
parent
55f6dd73f9
commit
05a5c67930
|
@ -1,5 +1,5 @@
|
||||||
## Welcome to Develop Chan_SCCP GUI Manager for FreePBX
|
## Welcome to Develop Chan_SCCP GUI Manager for FreePBX
|
||||||
| [English](README.md) | [Russian](README.ru.md) |
|
| [English](README.md) | [Russian](README.ru.md) | [OLD Stable Release](https://github.com/PhantomVl/sccp_manager/tree/master)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ Make sure you have the following installed on your system:
|
||||||
- standard posix compatible applications like sed, awk, tr
|
- standard posix compatible applications like sed, awk, tr
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
- Chan_SCCP module 4.3.0 (or later) channel driver for Asterisk: [See our WIKI] (https://github.com/chan-sccp/chan-sccp/wiki/Building-and-Installation-Guide)
|
- Chan_SCCP module 4.3.1 (or later) channel driver for Asterisk: [See our WIKI] (https://github.com/chan-sccp/chan-sccp/wiki/Building-and-Installation-Guide)
|
||||||
- expected configure flags:
|
- expected configure flags:
|
||||||
```./configure --enable-conference --enable-advanced-functions --enable-distributed-devicestate```
|
```./configure --enable-conference --enable-advanced-functions --enable-distributed-devicestate```
|
||||||
- Creating mysql DB from sorce
|
- Creating mysql DB from sorce
|
||||||
|
@ -54,6 +54,8 @@ Make sure you have the following installed on your system:
|
||||||
```cp /usr/src/chan-sccp/conf/tftp/\*.xml\* /tftpboot/templates/```
|
```cp /usr/src/chan-sccp/conf/tftp/\*.xml\* /tftpboot/templates/```
|
||||||
|
|
||||||
- configure DHCP server [See our WIKI] (https://github.com/chan-sccp/chan-sccp/wiki/setup-dhcp-service)
|
- configure DHCP server [See our WIKI] (https://github.com/chan-sccp/chan-sccp/wiki/setup-dhcp-service)
|
||||||
|
Important!
|
||||||
|
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
- [Setting up a FreePBX system](http://wiki.freepbx.org/display/FOP/Install+FreePBX)
|
- [Setting up a FreePBX system](http://wiki.freepbx.org/display/FOP/Install+FreePBX)
|
||||||
|
@ -81,7 +83,10 @@ Make sure you have the following installed on your system:
|
||||||
> git pull
|
> git pull
|
||||||
> git checkout develop
|
> git checkout develop
|
||||||
|
|
||||||
|
|
||||||
### IMPORTANT NOTES:
|
### IMPORTANT NOTES:
|
||||||
|
- !!! If something stops working, use the master branch [master](https://github.com/PhantomVl/sccp_manager/tree/master)
|
||||||
|
!!! master branch does not support changes into chan-sccp made after October 2018.
|
||||||
- This system assumes/requires that you are using the Asterisk realtime database. If you are not yet using the realtime database,
|
- This system assumes/requires that you are using the Asterisk realtime database. If you are not yet using the realtime database,
|
||||||
you will have to set it up for this module to work ([See](https://github.com/chan-sccp/chan-sccp/wiki/Realtime-Configuration)).
|
you will have to set it up for this module to work ([See](https://github.com/chan-sccp/chan-sccp/wiki/Realtime-Configuration)).
|
||||||
- For the cisco phones to work correctly, they should be provisioned with the latest firmware (v8.1 or higher)
|
- For the cisco phones to work correctly, they should be provisioned with the latest firmware (v8.1 or higher)
|
||||||
|
|
13
README.ru.md
13
README.ru.md
|
@ -1,5 +1,5 @@
|
||||||
## Welcome to Develop Chan_SCCP GUI Manager for FreePBX
|
## Welcome to Develop Chan_SCCP GUI Manager for FreePBX
|
||||||
| [English](README.md) | [Russian](README.ru.md) |
|
| [English](README.md) | [Russian](README.ru.md) | [OLD Stable Release](https://github.com/PhantomVl/sccp_manager/tree/master)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
## Link
|
## Link
|
||||||
|
|
||||||
[](https://github.com/PhantomVl/sccp_manager/archive/master.zip)
|
[](https://github.com/PhantomVl/sccp_manager/archive/master.zip)и традиционно добалены новые баги
|
||||||
[](https://github.com/chan-sccp/chan-sccp/releases/latest)
|
[](https://github.com/chan-sccp/chan-sccp/releases/latest)
|
||||||
[![Chan-SCCP Documentation] (https://img.shields.io/badge/docs-wiki-blue.svg)](https://github.com/chan-sccp/chan-sccp/wiki)
|
[![Chan-SCCP Documentation] (https://img.shields.io/badge/docs-wiki-blue.svg)](https://github.com/chan-sccp/chan-sccp/wiki)
|
||||||
|
|
||||||
|
@ -23,15 +23,16 @@
|
||||||
Если вы планируете использовать Aserisk + FreePBX, то я надеюсь, что данный модуль существенно упростит управление и настройки телефонами от Cisco.
|
Если вы планируете использовать Aserisk + FreePBX, то я надеюсь, что данный модуль существенно упростит управление и настройки телефонами от Cisco.
|
||||||
В интернете, существует замечательный проект (IMHO) который интегрирует проприетарный протокол Cisco в Asterisk, конечно он пока далек от идеала,
|
В интернете, существует замечательный проект (IMHO) который интегрирует проприетарный протокол Cisco в Asterisk, конечно он пока далек от идеала,
|
||||||
но все же это замечательная замена серверам CCME, СCM, СUСM !
|
но все же это замечательная замена серверам CCME, СCM, СUСM !
|
||||||
Ну и я совершенно не представляю себе, сколько времени данный проект будет поддерживаться.
|
Ну я совершенно не представляю себе, сколько времени данный проект будет поддерживаться.
|
||||||
|
|
||||||
### Если ты еще с нами ...
|
### Если ты еще с нами ...
|
||||||
|
|
||||||
Как я говорил выше, это дополнение к (Aserisk + FreePBX), но нам еще потребуется :
|
Как я говорил выше, это дополнение к (Aserisk + FreePBX), но нам еще потребуется :
|
||||||
1. У меня не получилось поставить добиться работы с дисками Aserisk и FreePBX - собираем из исходников
|
1. У меня не получилось поставить добиться работы с дисками Aserisk и FreePBX - собираем из исходников
|
||||||
|
1.1. Замечательная копания freepbx. Теперь с SNG7-PBX-64bit-1805 все работает !
|
||||||
2. Mysql (Maria)
|
2. Mysql (Maria)
|
||||||
3. Драйвер протокола SCCP страница (https://github.com/chan-sccp/chan-sccp/)
|
3. Драйвер протокола SCCP страница (https://github.com/chan-sccp/chan-sccp/)
|
||||||
4. Ну и это модуль.
|
4. Ну и этот модуль.
|
||||||
|
|
||||||
### Вжно! В этой ветке лежат самые последне нововведения и обновления, и самые последние БАГИ !
|
### Вжно! В этой ветке лежат самые последне нововведения и обновления, и самые последние БАГИ !
|
||||||
Пользуйся и наслождайся. Так же не забывай писать нам об ошибках, которые ты нашел !
|
Пользуйся и наслождайся. Так же не забывай писать нам об ошибках, которые ты нашел !
|
||||||
|
@ -85,8 +86,10 @@ Make sure you have the following installed on your system:
|
||||||
> git checkout develop
|
> git checkout develop
|
||||||
|
|
||||||
### Важно:
|
### Важно:
|
||||||
|
- !!! Если это это проект не заработал на твоей системе - переключись на ветку мастер [master](https://github.com/PhantomVl/sccp_manager/tree/master)
|
||||||
|
!!! Но есть ограничение - ветка master не поддерживает изменения в chan-sccp сделаные после октября 2018 г.
|
||||||
- Желательно иметь Firmware телефонов Cisco, языковые пакеты ну всякое разное.
|
- Желательно иметь Firmware телефонов Cisco, языковые пакеты ну всякое разное.
|
||||||
- Возможно, ты найдешь то что ищешь в проекте (https://github.com/dkgroot/provision_sccp)
|
- Возможно, ты найдешь, то что ищешь, в проекте (https://github.com/dkgroot/provision_sccp)
|
||||||
- Если что-то не так [Wiki GUI] (https://github.com/PhantomVl/sccp_manager), [Wiki chan-sccp] (https://github.com/chan-sccp/chan-sccp/wiki),
|
- Если что-то не так [Wiki GUI] (https://github.com/PhantomVl/sccp_manager), [Wiki chan-sccp] (https://github.com/chan-sccp/chan-sccp/wiki),
|
||||||
[Wiki FreePbx] (https://wiki.freepbx.org/display/FOP/Install+FreePBX)
|
[Wiki FreePbx] (https://wiki.freepbx.org/display/FOP/Install+FreePBX)
|
||||||
|
|
||||||
|
|
212
contrib/rewrite.rules
Normal file
212
contrib/rewrite.rules
Normal file
|
@ -0,0 +1,212 @@
|
||||||
|
#
|
||||||
|
# TFTPd Rewrite for SCCP_Manager Custom remaping
|
||||||
|
# /firmware
|
||||||
|
# /settings
|
||||||
|
# /wallpapers
|
||||||
|
# /ringtones
|
||||||
|
# /locales
|
||||||
|
#
|
||||||
|
# 6901 firmware (java-based)
|
||||||
|
ri ^(APP6901SCCP)(.+\.sgn)$ firmware/6901/\1\2
|
||||||
|
ri ^(KNL6901SCCP)(.+\.sgn)$ firmware/6901/\1\2
|
||||||
|
ri ^(SCCP6901)(.+\.loads)$ firmware/6901/\1\2
|
||||||
|
|
||||||
|
# 6911 firmware (java-based)
|
||||||
|
ri ^(APP6911SCCP)(.+\.sgn)$ firmware/6911/\1\2
|
||||||
|
ri ^(BFS6911SCCP)(.+\.sgn)$ firmware/6911/\1\2
|
||||||
|
ri ^(KNL6911SCCP)(.+\.sgn)$ firmware/6911/\1\2
|
||||||
|
ri ^(SCCP6911)(.+\.loads)$ firmware/6911/\1\2
|
||||||
|
|
||||||
|
# 6921 firmware (java-based)
|
||||||
|
ri ^(BOOT69xx)(.+\.sgn)$ firmware/6921/\1\2
|
||||||
|
ri ^(DSP69xx)(.+\.sgn)$ firmware/6921/\1\2
|
||||||
|
ri ^(SCCP69xx)(.+\.loads)$ firmware/6921/\1\2
|
||||||
|
ri ^(SCCP69xx)(.+\.sgn)$ firmware/6921/\1\2
|
||||||
|
|
||||||
|
# 6945 firmware (java-based)
|
||||||
|
ri ^(SCCP6945)(.+\.sgn)$ firmware/6945/\1\2
|
||||||
|
ri ^(SCCP6945)(.+\.loads)$ firmware/6945/\1\2
|
||||||
|
|
||||||
|
# 69xx firmware (java-based)
|
||||||
|
ri ^(BOOT69xx)(.+\.sgn)$ firmware/69xx/\1\2
|
||||||
|
ri ^(DSP69xx)(.+\.sgn)$ firmware/69xx/\1\2
|
||||||
|
ri ^(SCCP69xx)(.+\.loads)$ firmware/69xx/\1\2
|
||||||
|
ri ^(SCCP69xx)(.+\.sgn)$ firmware/69xx/\1\2
|
||||||
|
|
||||||
|
# 7902 firmware (ancient)
|
||||||
|
ri ^(CP7902080002SCCP060817A.sbin)$ firmware/7902/\1
|
||||||
|
|
||||||
|
# 7905 firmware (ancient)
|
||||||
|
ri ^(CP7905080003SCCP070409A.sbin)$ firmware/7905/\1
|
||||||
|
ri ^(CP7905080003SCCP070409A.zup)$ firmware/7905/\1
|
||||||
|
|
||||||
|
# 7906_7911 firmware (java-based)
|
||||||
|
ri ^(apps11)(.+\.sbn)$ firmware/7906/\1\2
|
||||||
|
ri ^(cnu11)(.+\.sbn)$ firmware/7906/\1\2
|
||||||
|
ri ^(cvm11sccp)(.+\.sbn)$ firmware/7906/\1\2
|
||||||
|
ri ^(dsp11)(.+\.sbn)$ firmware/7906/\1\2
|
||||||
|
ri ^(jar11sccp)(.+\.sbn)$ firmware/7906/\1\2
|
||||||
|
ri ^(SCCP11)(.+\.loads)$ firmware/7906/\1\2
|
||||||
|
ri ^(term06)(.+\.loads)$ firmware/7906/\1\2
|
||||||
|
ri ^(term11)(.+\.loads)$ firmware/7906/\1\2
|
||||||
|
|
||||||
|
# 7910 firmware (ancient)
|
||||||
|
ri ^(P00405000700.bin)$ firmware/7910/\1
|
||||||
|
ri ^(P00405000700.sbn)$ firmware/7910/\1
|
||||||
|
|
||||||
|
# 7912 firmware (ancient)
|
||||||
|
ri ^(CP7912080004SCCP080108A.sbin)$ firmware/7912/\1
|
||||||
|
|
||||||
|
# 7915 firmware (ancient)
|
||||||
|
ri ^(B015-1-0-4.SBN)$ firmware/7915/\1
|
||||||
|
|
||||||
|
# 7916 firmware (ancient)
|
||||||
|
ri ^(B016-1-0-4.SBN)$ firmware/7916/\1
|
||||||
|
|
||||||
|
# 7920 firmware (ancient)
|
||||||
|
ri ^(cmterm_7920.4.0-03-02.bin)$ firmware/7920/\1
|
||||||
|
|
||||||
|
# 7921_7925 firmware (ancient)
|
||||||
|
ri ^(APPS-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
ri ^(CP7921G-1.4.3.4.LOADS)$ firmware/7921/\1
|
||||||
|
ri ^(GUI-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
ri ^(SYS-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
ri ^(TNUX-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
ri ^(TNUXR-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
ri ^(WLAN-1.4.3.4.SBN)$ firmware/7921/\1
|
||||||
|
|
||||||
|
# 7926 firmware (ancient)
|
||||||
|
ri ^(APPSS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(CP7926G-1.4.1SR1.LOADS)$ firmware/7926/\1
|
||||||
|
ri ^(EA15FW-BF3-220.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(GUIS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(JSYSS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(JUIS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(SYSS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(TNUXRS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(TNUXS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
ri ^(WLANS-1.4.1SR1.SBN)$ firmware/7926/\1
|
||||||
|
|
||||||
|
# 7931 firmware (java-based)
|
||||||
|
ri ^(apps31)(.+\.sbn)$ firmware/7931/\1\2
|
||||||
|
ri ^(cnu31)(.+\.sbn)$ firmware/7931/\1\2
|
||||||
|
ri ^(cvm31sccp)(.+\.sbn)$ firmware/7931/\1\2
|
||||||
|
ri ^(dsp31)(.+\.sbn)$ firmware/7931/\1\2
|
||||||
|
ri ^(jar31sccp)(.+\.sbn)$ firmware/7931/\1\2
|
||||||
|
ri ^(SCCP31)(.+\.loads)$ firmware/7931/\1\2
|
||||||
|
ri ^(term31)(.+\.loads)$ firmware/7931/\1\2
|
||||||
|
|
||||||
|
# 7935 firmware (ancient)
|
||||||
|
ri ^(P00503021900.bin)$ firmware/7935/\1
|
||||||
|
|
||||||
|
# 7936 firmware (ancient)
|
||||||
|
ri ^(cmterm_7936.3-3-21-0.bin)$ firmware/7936/\1
|
||||||
|
|
||||||
|
# 7937 firmware (ancient)
|
||||||
|
ri ^(apps37sccp.1-4-5-7.bin)$ firmware/7937/\1
|
||||||
|
|
||||||
|
# 7940_7960 firmware (ancient)
|
||||||
|
ri ^(P0030801SR01.bin)$ firmware/7940/\1
|
||||||
|
ri ^(P0030801SR01.loads)$ firmware/7940/\1
|
||||||
|
ri ^(P0030801SR01.sb2)$ firmware/7940/\1
|
||||||
|
ri ^(P0030801SR01.sbn)$ firmware/7940/\1
|
||||||
|
|
||||||
|
# 7941_7961 firmware (java-based)
|
||||||
|
ri ^(apps41)(.+\.sbn)$ firmware/7941/\1\2
|
||||||
|
ri ^(cnu41)(.+\.sbn)$ firmware/7941/\1\2
|
||||||
|
ri ^(cvm41sccp)(.+\.sbn)$ firmware/7941/\1\2
|
||||||
|
ri ^(dsp41)(.+\.sbn)$ firmware/7941/\1\2
|
||||||
|
ri ^(jar41sccp)(.+\.sbn)$ firmware/7941/\1\2
|
||||||
|
ri ^(SCCP41)(.+\.loads)$ firmware/7941/\1\2
|
||||||
|
ri ^(term41)(.+\.loads)$ firmware/7941/\1\2
|
||||||
|
ri ^(term61)(.+\.loads)$ firmware/7941/\1\2
|
||||||
|
|
||||||
|
# 7942_7962 firmware (java-based)
|
||||||
|
ri ^(apps42)(.+\.sbn)$ firmware/7942/\1\2
|
||||||
|
ri ^(cnu42)(.+\.sbn)$ firmware/7942/\1\2
|
||||||
|
ri ^(cvm42sccp)(.+\.sbn)$ firmware/7942/\1\2
|
||||||
|
ri ^(dsp42)(.+\.sbn)$ firmware/7942/\1\2
|
||||||
|
ri ^(jar42sccp)(.+\.sbn)$ firmware/7942/\1\2
|
||||||
|
ri ^(SCCP42)(.+\.loads)$ firmware/7942/\1\2
|
||||||
|
ri ^(term42)(.+\.loads)$ firmware/7942/\1\2
|
||||||
|
ri ^(term62)(.+\.loads)$ firmware/7942/\1\2
|
||||||
|
|
||||||
|
# 7945_7965 firmware (java-based)
|
||||||
|
ri ^(apps45)(.+\.sbn)$ firmware/7945/\1\2
|
||||||
|
ri ^(cnu45)(.+\.sbn)$ firmware/7945/\1\2
|
||||||
|
ri ^(cvm45sccp)(.+\.sbn)$ firmware/7945/\1\2
|
||||||
|
ri ^(dsp45)(.+\.sbn)$ firmware/7945/\1\2
|
||||||
|
ri ^(jar45sccp)(.+\.sbn)$ firmware/7945/\1\2
|
||||||
|
ri ^(SCCP45)(.+\.loads)$ firmware/7945/\1\2
|
||||||
|
ri ^(term45)(.+\.loads)$ firmware/7945/\1\2
|
||||||
|
ri ^(term65)(.+\.loads)$ firmware/7945/\1\2
|
||||||
|
|
||||||
|
# 7970_7971 firmware (java-based)
|
||||||
|
ri ^(apps70)(.+\.sbn)$ firmware/7970/\1\2
|
||||||
|
ri ^(cnu70)(.+\.sbn)$ firmware/7970/\1\2
|
||||||
|
ri ^(cvm70sccp)(.+\.sbn)$ firmware/7970/\1\2
|
||||||
|
ri ^(dsp70)(.+\.sbn)$ firmware/7970/\1\2
|
||||||
|
ri ^(jar70sccp)(.+\.sbn)$ firmware/7970/\1\2
|
||||||
|
ri ^(SCCP70)(.+\.loads)$ firmware/7970/\1\2
|
||||||
|
ri ^(term70)(.+\.loads)$ firmware/7970/\1\2
|
||||||
|
ri ^(term71)(.+\.loads)$ firmware/7970/\1\2
|
||||||
|
|
||||||
|
# 7975 firmware (java-based)
|
||||||
|
ri ^(apps75)(.+\.sbn)$ firmware/7975/\1\2
|
||||||
|
ri ^(cnu75)(.+\.sbn)$ firmware/7975/\1\2
|
||||||
|
ri ^(cvm75sccp)(.+\.sbn)$ firmware/7975/\1\2
|
||||||
|
ri ^(dsp75)(.+\.sbn)$ firmware/7975/\1\2
|
||||||
|
ri ^(jar75sccp)(.+\.sbn)$ firmware/7975/\1\2
|
||||||
|
ri ^(SCCP75)(.+\.loads)$ firmware/7975/\1\2
|
||||||
|
ri ^(term75)(.+\.loads)$ firmware/7975/\1\2
|
||||||
|
|
||||||
|
# 7985 firmware (ancient)
|
||||||
|
ri ^(cmterm_7985.4-1-7-0.bin)$ firmware/7985/\1
|
||||||
|
|
||||||
|
# 894x firmware (java-based)
|
||||||
|
ri ^(BOOT894x)(.+\.sgn)$ firmware/894x/\1\2
|
||||||
|
ri ^(SCCP894x)(.+\.sgn)$ firmware/894x/\1\2
|
||||||
|
ri ^(SCCP894x)(.+\.loads)$ firmware/894x/\1\2
|
||||||
|
|
||||||
|
# ata186/ata188 firmware (ancient)
|
||||||
|
ri ^(ATA030204SCCP090202A.zup)$ firmware/ata186/\1
|
||||||
|
|
||||||
|
# Sub-Directory Handling
|
||||||
|
|
||||||
|
# settings
|
||||||
|
ri ^(.+\.tlv)?$ settings/\1
|
||||||
|
ri ^\/(.+\.tlv)?$ settings/\1
|
||||||
|
ri ^((.+\.cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||||
|
ri ^\/((.+\-cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||||
|
ri ^\/((SPA504G-cfg.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||||
|
|
||||||
|
# Keep firmware in a separate directory (optional)
|
||||||
|
#ri ^(.+\.loads)$ firmware/\1
|
||||||
|
#ri ^(.+\.sbn)$ firmware/\1
|
||||||
|
|
||||||
|
# Keep locales in a separate directory (optional)
|
||||||
|
ri ^(.+)\/(.+-sccp.jar)$ locales/\1/\2
|
||||||
|
ri ^(.+)\/(.+-dictionary.xml)$ locales/\1/\2
|
||||||
|
#ri ^(.+)\/(.+-tones.xml)$ locales/countries/\1/\2
|
||||||
|
|
||||||
|
# Keep ring-tones in a separate directory (optional)
|
||||||
|
ri ^([R|r]ing[L|l]ist)(\.xml|-wb\.xml)(\.sgn)?$ ringtones/ringlist.xml
|
||||||
|
ri ^(Distinctive[R|r]ing[L|l]ist)(\.xml|-wb\.xml)(\.sgn)?$ ringtones/ringlist.xml
|
||||||
|
ri ^(.+)(\.raw|\.rwb)(\.sgn)?$ ringtones/\1\2\3
|
||||||
|
|
||||||
|
# Rename Desktops to wallpapers (optional)
|
||||||
|
#ri ^Desktops/(.+)/(List\.xml)(\.sgn)?$ wallpapers/\1/\2\3
|
||||||
|
#ri ^Desktops/(.+)/(.+\.png)(\.sgn)?$ wallpapers/\1/\2\3
|
||||||
|
|
||||||
|
ri ^authorized_keys$ settings/authorized_keys
|
||||||
|
|
||||||
|
#
|
||||||
|
# Generic Rules
|
||||||
|
#
|
||||||
|
ri ^[a-z]: # Remove "drive letters"
|
||||||
|
rg \\ / # Convert backslashes to slashes
|
||||||
|
rg \# @ # Convert hash marks to @ signs
|
||||||
|
rg /../ /..no../ # Convert /../ to /..no../
|
||||||
|
# e ^ok/ # These are always ok
|
||||||
|
# r ^[^/] /tftpboot/\0 # Convert non-absolute files
|
||||||
|
# a \.pvt$ # Reject requests for private files
|
18
contrib/tftp.xinetd
Normal file
18
contrib/tftp.xinetd
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# default: off
|
||||||
|
# description: The tftp server serves files using the trivial file transfer \
|
||||||
|
# protocol. The tftp protocol is often used to boot diskless \
|
||||||
|
# workstations, download configuration files to network-aware printers, \
|
||||||
|
# and to start the installation process for some operating systems.
|
||||||
|
service tftp
|
||||||
|
{
|
||||||
|
socket_type = dgram
|
||||||
|
protocol = udp
|
||||||
|
wait = yes
|
||||||
|
user = root
|
||||||
|
server = /usr/sbin/in.tftpd
|
||||||
|
server_args = -c -s -v /tftpboot -m /tftpboot/rewrite.rules
|
||||||
|
disable = no
|
||||||
|
per_source = 11
|
||||||
|
cps = 100 2
|
||||||
|
flags = IPv4
|
||||||
|
}
|
Loading…
Reference in a new issue