[mdk-re] POP3 ÓÅÒ×ÉÓ

Alexey A. Tchuykov =?iso-8859-1?q?tchuykov_=CE=C1_mail=2Eru?=
þÔ éÀÎ 21 13:44:00 MSD 2001


Vyt wrote:

> On Thu, 21 Jun 2001 11:57:14 +0400
> "Alexey A. Tchuykov" <tchuykov ÎÁ mail.ru> wrote:
>
> <skipped>
>
> > > Â ëîãàõ ñåðâåðà, â íàñòðîéêàõ firewall.
> >
> > â ëîãàõ
> > Jun 21 14:44:34 ns xinetd[3523]: refused connect from
> > 192.168.1.2
>
> Ïîñìîòðèòå, ÷òî â /etc/hosts.allow è /etc/hosts.deny

/etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
#  allowed to use the local INET services, as decided
#  by the '/usr/sbin/tcpd' server.
#
#

/etc/hosts.deny
ALL:ALL EXCEPT localhost:DENY
ALL: 192.168.1.2


>
> Ïðîâåðüòå ñòðîêè only_from â êîíôèãóðàöèè xinetd. Åñëè ÷òî-íèáóäü
> ïîìåíÿåòå, íå çàáóäüòå ïåðåçàïóñòèòü xinetd
> /sbin/service xinetd reload
> èëè
> /sbin/service xinetd restart
> äëÿ âåðíîñòè :)
>

/etc/xinetd/pop3d
# default: off
# description: Tiny secure implementation of POP3 (Post Office Protocol)
server.
service pop-3
{
 disable = no
 socket_type     = stream
 protocol        = tcp
 wait            = no
 user            = root
 server          = /usr/sbin/popa3d
 only_from = 0.0.0.0
}




>
> > firewall
> > :input ACCEPT
> > :forward ACCEPT
> > :output ACCEPT
> > -A forward -s 192.168.1.2/255.255.255.255 -d 0.0.0.0/0.0.0.0 -j
> > MASQ
>
> Ïî-ìîåìó, ýòî ëèøíåå. Çà÷åì â ýòîì ñëó÷àå ìàñêàðàäèíã?
>
> <skipped>
>
> --
> Regards, Vyt
> mailto:vyt ÎÁ vzljot.ru
>
> _______________________________________________
> Mandrake-russian mailing list
> Mandrake-russian ÎÁ altlinux.ru
> http://altlinux.ru/mailman/listinfo/mandrake-russian





ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community