The OpenNET Project / Index page

[ новости/++ | форум | wiki | теги | ]



"PPTPD+FreeRADIUS ubuntu 12"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Информационная безопасность (VPN, IPSec / Linux)
Изначальное сообщение [ Отслеживать ]

"PPTPD+FreeRADIUS ubuntu 12"  +/
Сообщение от Igor_opennet (ok), 20-Авг-13, 13:46 
Добрый день!
настраиваю PPTPD+FreeRADIUS
(pptpd v1.3.4
FreeRADIUS Version 2.1.10, for host i686-pc-linux-gnu, built on Sep 24 2012 at)

Вот по этому ману http://www.tux.in.ua/articles/66
PPTPD настроил и отдельно работает норм, сложности при подключении RADIUS

При выполнении freeradius -X
ошибка выскакивает!!!!!!!!!!!!!!!!!!
Failed binding to authentication address 127.0.0.1 port 1812: Address already in use
/etc/freeradius/radiusd.conf[240]: Error binding to port for 127.0.0.1 port 1812

выдержка по ошибке 240 строки

listen {
        #  Type of packets to listen for.
        #  Allowed values are:
        #       auth    listen for authentication packets
        #       acct    listen for accounting packets
        #       proxy   IP to use for sending proxied packets
        #       detail  Read from the detail file.  For examples, see
        #               raddb/sites-available/copy-acct-to-home-server
        #       status  listen for Status-Server packets.  For examples,
        #               see raddb/sites-available/status
        #       coa     listen for CoA-Request and Disconnect-Request
        #               packets.  For examples, see the file
        #               raddb/sites-available/coa-server
        #
        type = auth

        #  Note: "type = proxy" lets you control the source IP used for
        #        proxying packets, with some limitations:
        #
        #    * A proxy listener CANNOT be used in a virtual server section.
        #    * You should probably set "port = 0".
        #    * Any "clients" configuration will be ignored.
        #
        #  See also proxy.conf, and the "src_ipaddr" configuration entry
        #  in the sample "home_server" section.  When you specify the
        #  source IP address for packets sent to a home server, the
        #  proxy listeners are automatically created.

        #  IP address on which to listen.
        #  Allowed values are:
        #       dotted quad (1.2.3.4)
        #       hostname    (radius.example.com)
        #       wildcard    (*)
        ipaddr = 127.0.0.1

        #  OR, you can use an IPv6 address, but not both
        #  at the same time.
#       ipv6addr = ::   # any.  ::1 == localhost

        #  Port on which to listen.
        #  Allowed values are:
        #       integer port number (1812)
        #       0 means "use /etc/services for the proper port"
        port = 0
}

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "PPTPD+FreeRADIUS ubuntu 12"  +/
Сообщение от Igor_opennet (ok), 20-Авг-13, 14:51 
>[оверквотинг удален]
>         #  Port on
> which to listen.
>         #  Allowed values
> are:
>         #    
>    integer port number (1812)
>         #    
>    0 means "use /etc/services for the proper port"
>         port = 0
> }

нашел ответ!
при выполнении FREERADIUS -X
служба FREERADIUS должна быть остановлена
service freeradius stop

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "PPTPD+FreeRADIUS ubuntu 12"  +/
Сообщение от Igor_opennet (ok), 20-Авг-13, 15:20 
Запутался бл...
направьте на статейку для freeradius 2.1 + pptpd
нашел только настройку freeradius 1.7(вроде , но точно старая версия)

Aug 20 14:59:12 proxy pptpd[28508]: CTRL: Client 193.*.*.* control connection finished
Aug 20 15:00:01 proxy CRON[28515]: (root) CMD (/usr/bin/sarg)
Aug 20 15:00:18 proxy pptpd[28565]: CTRL: Client 193.*.*.* control connection started
Aug 20 15:00:18 proxy pptpd[28565]: CTRL: Starting call (launching pppd, opening GRE)
Aug 20 15:00:18 proxy pppd[28566]: Plugin radius.so loaded.
Aug 20 15:00:18 proxy pppd[28566]: RADIUS plugin initialized.
Aug 20 15:00:18 proxy pppd[28566]: Plugin radattr.so loaded.
Aug 20 15:00:18 proxy pppd[28566]: RADATTR plugin initialized.
Aug 20 15:00:18 proxy pppd[28566]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 20 15:00:18 proxy pppd[28566]: pppd 2.4.5 started by root, uid 0
Aug 20 15:00:18 proxy pppd[28566]: Using interface ppp0
Aug 20 15:00:18 proxy pppd[28566]: Connect: ppp0 <--> /dev/pts/1
Aug 20 15:00:18 proxy pptpd[28565]: GRE: Bad checksum from pppd.
Aug 20 15:00:21 proxy pptpd[28565]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 20 15:00:21 proxy pppd[28566]: rc_read_config: can't open /etc/radiusclient/radiusclient.conf: No such file or directory
Aug 20 15:00:21 proxy pppd[28566]: RADIUS: Can't read config file /etc/radiusclient/radiusclient.conf
Aug 20 15:00:21 proxy pppd[28566]: Peer test failed CHAP authentication
Aug 20 15:00:21 proxy pppd[28566]: Connection terminated.
Aug 20 15:00:21 proxy pppd[28566]: Exit.
Aug 20 15:00:21 proxy pptpd[28565]: GRE: read(fd=7,buffer=80504c0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Aug 20 15:00:21 proxy pptpd[28565]: CTRL: PTY read or GRE write failed (pty,gre)=(7,9)
Aug 20 15:00:21 proxy pptpd[28565]: CTRL: Reaping child PPP[28566]
Aug 20 15:00:21 proxy pptpd[28565]: CTRL: Client 193.*.*.* control connection finished
Aug 20 15:04:12 proxy named[14089]:   validating @0xb45a6db8: ru SOA: got insecure response; parent indicates it should be secure
Aug 20 15:04:12 proxy named[14089]: error (no valid RRSIG) resolving 'russia.ru/DS/IN': 192.168.1.1#53
Aug 20 15:04:12 proxy named[14089]: error (network unreachable) resolving 'russia.ru/DS/IN': 2001:678:17:0:193:232:128:6#53
Aug 20 15:09:33 proxy named[14089]:   validating @0xb45a5db0: com SOA: got insecure response; parent indicates it should be secure
Aug 20 15:09:33 proxy named[14089]: error (no valid RRSIG) resolving 'kaspersky.com/DS/IN': 192.168.1.1#53
Aug 20 15:10:01 proxy CRON[28912]: (root) CMD (/usr/bin/sarg)
Aug 20 15:10:09 proxy named[14089]:   validating @0xb434c0f8: org SOA: got insecure response; parent indicates it should be secure
Aug 20 15:10:09 proxy named[14089]: error (no valid RRSIG) resolving 'rutracker.org/DS/IN': 192.168.1.1#53
Aug 20 15:10:10 proxy named[14089]: validating @0xb26d80f0: org DNSKEY: got insecure response; parent indicates it should be secure
Aug 20 15:10:10 proxy named[14089]: error (insecurity proof failed) resolving 'org/DNSKEY/IN': 192.168.1.1#53
Aug 20 15:11:13 proxy pptpd[28984]: CTRL: Client 193.*.*.* control connection started
Aug 20 15:11:13 proxy pptpd[28984]: CTRL: Starting call (launching pppd, opening GRE)
Aug 20 15:11:13 proxy pppd[28985]: Plugin radius.so loaded.
Aug 20 15:11:13 proxy pppd[28985]: RADIUS plugin initialized.
Aug 20 15:11:13 proxy pppd[28985]: Plugin radattr.so loaded.
Aug 20 15:11:13 proxy pppd[28985]: RADATTR plugin initialized.
Aug 20 15:11:13 proxy pppd[28985]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 20 15:11:13 proxy pppd[28985]: pppd 2.4.5 started by root, uid 0
Aug 20 15:11:13 proxy pppd[28985]: Using interface ppp0
Aug 20 15:11:13 proxy pppd[28985]: Connect: ppp0 <--> /dev/pts/1
Aug 20 15:11:13 proxy pptpd[28984]: GRE: Bad checksum from pppd.
Aug 20 15:11:13 proxy pppd[28985]: rc_read_config: can't open /etc/radiusclient/radiusclient.conf: No such file or directory
Aug 20 15:11:13 proxy pppd[28985]: RADIUS: Can't read config file /etc/radiusclient/radiusclient.conf
Aug 20 15:11:13 proxy pppd[28985]: Peer test failed CHAP authentication
Aug 20 15:11:13 proxy pppd[28985]: Connection terminated.
Aug 20 15:11:13 proxy pppd[28985]: Exit.
Aug 20 15:11:13 proxy pptpd[28984]: GRE: read(fd=7,buffer=80504c0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Aug 20 15:11:13 proxy pptpd[28984]: CTRL: PTY read or GRE write failed (pty,gre)=(7,9)
Aug 20 15:11:13 proxy pptpd[28984]: CTRL: Reaping child PPP[28985]
Aug 20 15:11:13 proxy pptpd[28984]: CTRL: Client 193.*.*.* control connection finished

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "PPTPD+FreeRADIUS ubuntu 12"  +/
Сообщение от begagide (ok), 23-Окт-18, 19:34 
>[оверквотинг удален]
>         #  Port on
> which to listen.

Failed binding to authentication address 127.0.0.1 port 1812
https://atozsofts.com/blog/funny-wifi-names/
>         #  Allowed values
> are:
>         #    
>    integer port number (1812)
>         #    
>    0 means "use /etc/services for the proper port"
>         port = 0
> }

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема


  Закладки на сайте
  Проследить за страницей
Created 1996-2018 by Maxim Chirkov  
ДобавитьПоддержатьВебмастеруГИД  
Hosting by Ihor