Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1179 connectés 

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

bind et sécurité

n°125848
Kermit
Posté le 16-07-2002 à 18:34:57  profilanswer
 


Dans le passages des lignes concernant le lancement de bind dans mes logs j'obtient celle ci et je ne sais pas a koi elle correspond  
Car franchement ca m'inquiete un peu
 
 
Jul 16 17:59:01 cariboux named[778]: Forwarding source address is [0.0.0.0].53

mood
Publicité
Posté le 16-07-2002 à 18:34:57  profilanswer
 

n°125871
djtoz
Posté le 16-07-2002 à 19:31:21  profilanswer
 

Kermit a écrit a écrit :

 
Dans le passages des lignes concernant le lancement de bind dans mes logs j'obtient celle ci et je ne sais pas a koi elle correspond  
Car franchement ca m'inquiete un peu
 
 
Jul 16 17:59:01 cariboux named[778]: Forwarding source address is [0.0.0.0].53
 




 
ben si tu pouvais donne plus d info, comme ton named.conf par exemple
 
pk la comme ca, c vrai que cette ligne veut pas dire grand chose

n°125875
Kermit
Posté le 16-07-2002 à 19:48:16  profilanswer
 

Le passage complet :
 
 

Code :
  1. Jul 16 18:30:40 cariboux named[949]: hint zone "" (IN) loaded (serial 0)
  2. Jul 16 18:30:40 cariboux named[949]: master zone "localhost" (IN) loaded (serial 1)
  3. Jul 16 18:30:40 cariboux named[949]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
  4. Jul 16 18:30:40 cariboux named[949]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
  5. Jul 16 18:30:40 cariboux named[949]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
  6. Jul 16 18:30:40 cariboux named[949]: master zone "kermit.rez" (IN) loaded (serial 1)
  7. Jul 16 18:30:40 cariboux named[949]: master zone "1.168.192.in-addr.arpa" (IN) loaded (serial 1)
  8. Jul 16 18:30:40 cariboux named[949]: listening on [127.0.0.1].53 (lo)
  9. Jul 16 18:30:40 cariboux named[949]: listening on [192.168.1.1].53 (eth0)
  10. Jul 16 18:30:40 cariboux named[949]: Forwarding source address is [0.0.0.0].53
  11. Jul 16 18:30:40 cariboux named[950]: group = bind
  12. Jul 16 18:30:40 cariboux named[950]: user = bind
  13. Jul 16 18:30:40 cariboux named[950]: Ready to answer queries.

 
 
 
et la partie options du named .conf  
 

Code :
  1. options {
  2.         directory "/var/cache/bind";
  3.         pid-file "/var/run/named.pid";
  4.         // If there is a firewall between you and nameservers you want
  5.         // to talk to, you might need to uncomment the query-source
  6.         // directive below.  Previous versions of BIND always asked
  7.         // questions using port 53, but BIND 8.1 and later use an unprivileged
  8.         // port by default.
  9.         query-source address * port 53;
  10.         // If your ISP provided one or more IP addresses for stable  
  11.         // nameservers, you probably want to use them as forwarders.   
  12.         // Uncomment the following block, and insert the addresses replacing  
  13.         // the all-0's placeholder.
  14.         forward first;
  15.         forwarders {
  16.                 193.252.19.3;
  17.                 193.252.19.4;
  18.                 193.252.19.5;
  19.                 193.252.19.6;
  20.         };
  21.         allow-transfer { none;};
  22.         allow-query { 192.168.1.0/24; 127.0.0.1 ;};
  23.         listen-on { 192.168.1.0/24 ; 127.0.0.1 ;};
  24. };

n°125878
djtoz
Posté le 16-07-2002 à 20:03:20  profilanswer
 

Kermit a écrit a écrit :

Le passage complet :
 
 

Code :
  1. Jul 16 18:30:40 cariboux named[949]: hint zone "" (IN) loaded (serial 0)
  2. Jul 16 18:30:40 cariboux named[949]: master zone "localhost" (IN) loaded (serial 1)
  3. Jul 16 18:30:40 cariboux named[949]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
  4. Jul 16 18:30:40 cariboux named[949]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
  5. Jul 16 18:30:40 cariboux named[949]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
  6. Jul 16 18:30:40 cariboux named[949]: master zone "kermit.rez" (IN) loaded (serial 1)
  7. Jul 16 18:30:40 cariboux named[949]: master zone "1.168.192.in-addr.arpa" (IN) loaded (serial 1)
  8. Jul 16 18:30:40 cariboux named[949]: listening on [127.0.0.1].53 (lo)
  9. Jul 16 18:30:40 cariboux named[949]: listening on [192.168.1.1].53 (eth0)
  10. Jul 16 18:30:40 cariboux named[949]: Forwarding source address is [0.0.0.0].53
  11. Jul 16 18:30:40 cariboux named[950]: group = bind
  12. Jul 16 18:30:40 cariboux named[950]: user = bind
  13. Jul 16 18:30:40 cariboux named[950]: Ready to answer queries.

 
 
 
et la partie options du named .conf  
 

Code :
  1. options {
  2.         directory "/var/cache/bind";
  3.         pid-file "/var/run/named.pid";
  4.         // If there is a firewall between you and nameservers you want
  5.         // to talk to, you might need to uncomment the query-source
  6.         // directive below.  Previous versions of BIND always asked
  7.         // questions using port 53, but BIND 8.1 and later use an unprivileged
  8.         // port by default.
  9.         query-source address * port 53;
  10.         // If your ISP provided one or more IP addresses for stable  
  11.         // nameservers, you probably want to use them as forwarders.   
  12.         // Uncomment the following block, and insert the addresses replacing  
  13.         // the all-0's placeholder.
  14.         forward first;
  15.         forwarders {
  16.                 193.252.19.3;
  17.                 193.252.19.4;
  18.                 193.252.19.5;
  19.                 193.252.19.6;
  20.         };
  21.         allow-transfer { none;};
  22.         allow-query { 192.168.1.0/24; 127.0.0.1 ;};
  23.         listen-on { 192.168.1.0/24 ; 127.0.0.1 ;};
  24. };

 




 
viens de matter sur le mien et j'ai la meme chose
sauf ke moi c pas le port 53 mais un highport
 
je sais pas a quoi ca correspond
vais chercher un peu...

n°125882
djtoz
Posté le 16-07-2002 à 20:14:32  profilanswer
 

bon j ai chercher ds les newsgroup et voila la reponse :
 
It's telling you the source address and port that will be used when sending
out recursive queries.  [0.0.0.0] means that it will let the OS choose the
source address, and 60628 is the source port it will use (BIND 4 always
used port 53).  You can override these with the query-source option in
named.conf.
 
 
voila pq toi tu as le port 53, puisque que tu as mi cette ligne ds ton named.conf:
query-source address * port 53;
 
alors ke moi j ai rien precise


Message édité par djtoz le 16-07-2002 à 20:15:33

Aller à :
Ajouter une réponse
 

Sujets relatifs
remplacer le DNS du speedtouch par Bindsecurité serveur web
[MDK82] Securité Maximum - Problème avec le hosts.deny[FIREWALL] Quel port faut-il fermer, pour plus de sécurité ?
Sécurité Linux[securité inside]mode chroot all service ;)
Nouveau trou de securite dans Apache (mod_ssl)Installation de Bind 8 à partir des sources
J'ai peur ! [SECURITE INSIDE]Shorewall + règles de sécurité
Plus de sujets relatifs à : bind et sécurité


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR