> -----Message d'origine-----
> De : Jacques Caruso [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 18 mai 2004 20:28
> À : linux06@linuxfr.org
> Objet : Re: [TECH] xinetd
> 
> 
> Pas de route ? Tu veux dire que lorsque tu fais un route -n, aucune 
> route par défaut ne s'affiche ? Que se passe-t-il si tu fais un bon 
> vieux :


Voici le route  :

Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use
Iface
80.8.50.1       *               255.255.255.255 UH    0      0        0 ppp0
10.0.0.0        *               255.255.255.0   U     0      0        0 eth0
192.168.2.0     *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         80.8.50.1       0.0.0.0         UG    0      0        0 ppp0

Ce qui me semble tout a fait correct...

> route add default dev ppp0
> 
> Dans le même ordre d'idées, as-tu l'instruction 
> 'defaultroute' dans ton > fichier de config' pour
> pppd (dans /etc/ppp/peers/quelquechose, normalement) ?

J'ai un fichier /etc/ppp/peers/adsl mais il n'y a rien dans adsl... il est
vide...
Faut qu'il y ait quelque chose ??? Si oui sous quelle forme ?? Comment ???
Pourquoi "l'install" ne le "remplit" pas ??? (j'en suis a ma 100 installe de
la MNF !! :(

> Euh, parce que BIND n'est pas géré par inetd, mais bon, toi tu veux 
> accéder à un DNS externe, pas en monter un sur ta machine. Si ?

Non, je veux juste que ma machine accede au dns de wanadoo et puisse sortir
sur le net...
That's all, folks ! C'est pourtant simple, mais ici dans la mnf ca a l'air
bien complqiué...

Actuellement un ping ou ssh sur une adresse net donne : "temporary failure
in name resolution" ...

> les routes qui vont bien, puis fais un iptables -L -n -v et 

Voici le fichier :
*********************************

Chain INPUT (policy DROP 2 packets, 120 bytes)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  lo     *       0.0.0.0/0
0.0.0.0/0          
    0     0 eth0_in    all  --  eth0   *       0.0.0.0/0
0.0.0.0/0          
   23  1180 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    5   264 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:INPUT:REJECT:' 
   23  1180 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 TCPMSS     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          tcp flags:0x06/0x02 TCPMSS clamp to PMTU 
    0     0 eth0_fwd   all  --  eth0   *       0.0.0.0/0
0.0.0.0/0          
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:FORWARD:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      lo      0.0.0.0/0
0.0.0.0/0          
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW,RELATED,ESTABLISHED 
    0     0 fw2lan     all  --  *      eth0    0.0.0.0/0
0.0.0.0/0          
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:OUTPUT:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain all2all (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:all2all:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain common (8 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 icmpdef    icmp --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 DROP       tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state INVALID 
    0     0 REJECT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          udp dpts:137:139 reject-with icmp-port-unreachable 
    0     0 REJECT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          udp dpt:445 reject-with icmp-port-unreachable 
    0     0 reject     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          tcp dpt:135 
    0     0 DROP       udp  --  *      *       0.0.0.0/0
0.0.0.0/0          udp dpt:1900 
    0     0 DROP       all  --  *      *       0.0.0.0/0
255.255.255.255    
    0     0 DROP       all  --  *      *       0.0.0.0/0
224.0.0.0/4        
    0     0 reject     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          tcp dpt:113 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          tcp flags:0x10/0x10 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          tcp flags:0x04/0x04 
    0     0 DROP       all  --  *      *       0.0.0.0/0
10.0.0.255         

Chain dmz2all (3 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:dmz2all:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain dmz2fw (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 dmz2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain dmz2lan (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 dmz2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain dmz2wan (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW udp dpt:53 
    0     0 dmz2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain dynamic (2 references)
 pkts bytes target     prot opt in     out     source
destination         

Chain eth0_fwd (1 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 dynamic    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain eth0_in (1 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 dynamic    all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 lan2fw     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain fw2all (3 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:fw2all:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain fw2dmz (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 fw2all     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain fw2lan (1 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 fw2all     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain fw2wan (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:53 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW udp dpt:53 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW udp dpt:123 
    0     0 ACCEPT     tcp  --  *      20022   0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:21 
    0     0 fw2all     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain icmpdef (1 references)
 pkts bytes target     prot opt in     out     source
destination         

Chain lan2all (3 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:lan2all:REJECT:' 
    0     0 reject     all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain lan2dmz (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 lan2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain lan2fw (1 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:22 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:8443 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0
0.0.0.0/0          icmp type 8 
    0     0 lan2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain lan2wan (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW udp dpt:53 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:110 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:25 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:80 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:443 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:22 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:21 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:119 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:143 
    0     0 lan2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain reject (10 references)
 pkts bytes target     prot opt in     out     source
destination         
   23  1180 REJECT     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          reject-with tcp-reset 
    0     0 REJECT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          reject-with icmp-port-unreachable 

Chain shorewall (0 references)
 pkts bytes target     prot opt in     out     source
destination         

Chain wan2all (1 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 common     all  --  *      *       0.0.0.0/0
0.0.0.0/0          
    0     0 LOG        all  --  *      *       0.0.0.0/0
0.0.0.0/0          limit: avg 10/hour burst 5 LOG flags 0 level 6 prefix
`Shorewall:wan2all:DROP:' 
    0     0 DROP       all  --  *      *       0.0.0.0/0
0.0.0.0/0          

Chain wan2fw (0 references)
 pkts bytes target     prot opt in     out     source
destination         
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0          state RELATED,ESTABLISHED 
    0     0 reject     tcp  --  *      *       0.0.0.0/0
0.0.0.0/0          state NEW tcp dpt:113 
    0     0 wan2all    all  --  *      *       0.0.0.0/0
0.0.0.0/0          


> Bon, faut absolument que je file prendre mon train, hop !

Toi aussi ??? ;) 

Bon train et merci...
@+


Linux-Azur :      http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à