(Courriels de diversion: <changee@quadrichromies-mecanisaient.com> <decalaminages@casait-saignants.com> <arpentes@quêteuse-complotees.com> <vaccinerais@detienne-curriculums.com> <meneras@ratissait-eclairerais.com> <limiter@plaqua-fermerons.com> <incantations@activaient-gendarmerai.com> <poursuivrions@reamorcerais-figues.com> <cederons@copiste-polira.com> <apocalypse@demissionnerait-socialisants.com> )
On Wed, 1 May 2002 19:10:20 +0200
phil <phernandez@free.fr> wrote:>
> Deja nmap pour scanner les ports . Si un port est ferme , ca passe pas
> ..
>
> tail -f /var/log/daemons pour la debian
>
> iptables -L pour voir ta config .
> activer les logs dans iptables est utile aussi .
>
> Ceci dit , tu aurait des precisions ?
>
Oui, voila :
Je ne comprends pas les 1534 ports scannés mais non montrés ....?
Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ )
Interesting ports on fred1.fred (192.168.1.1):
(The 1534 ports scanned but not shown below are in state: closed)
Port State Service
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
..etc ..ect
[root@fred1 fred]# iptables -LChain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@fred1 fred]#
Table de routage de la machine gw vers inet
Destination Passerelle Genmask Indic Metric Ref Use
Iface lan0-0-0-nas1-t * 255.255.255.255 UH 0 0
0 ppp0 192.168.1.0 * 255.255.255.0 U 0 0
0 eth0 44.151.31.0 fred2.fred 255.255.255.0 UG 0 0
0 eth0 127.0.0.0 * 255.0.0.0 U 0
0 0 lo default lan0-0-0-nas1-t 0.0.0.0 UG
0 0 0 ppp0
[root@fred1 fredeth0 Lien encap:Ethernet HWaddr 52:54:00:E0:E0:50 inet adr:192.168.1.1 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4585 errors:0 dropped:0 overruns:0 frame:7
TX packets:3840 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:396077 (386.7 Kb) TX bytes:376169 (367.3 Kb)
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3156 errors:0 dropped:0 overruns:0 frame:0
TX packets:3156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:525793 (513.4 Kb) TX bytes:525793 (513.4 Kb)
ppp0 Lien encap:Protocole Point-à-Point
inet adr:212.83.141.229 P-t-P:212.47.226.66
Masque:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST
MTU:1500 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0
frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:600 (600.0 b) TX bytes:732 (732.0 b)
]#
---------------------------------------------------------------------
Aide sur la liste: <URL:mailto:linux-31-help@CULTe.org>Le CULTe sur le web: <URL:http://www.CULTe.org/>