<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">PARTE 2<br><br><br><style type="text/css">p { margin-bottom: 0.21cm; }</style>
<div style="margin-bottom: 0cm;">EL COMANDO SUDO IPTABLES -L -v</div>
<div style="margin-bottom: 0cm;">El comando sudo iptables -L -v da el
siguiente resultado:</div>
<div style="margin-bottom: 0cm;">primi@primi-lp:~$ sudo iptables -L -v
</div>
<div style="margin-bottom: 0cm;">[sudo] password for primi:
</div>
<div style="margin-bottom: 0cm;">Chain INPUT (policy DROP 6764 packets,
500K bytes)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;">4253K 2857M ufw-before-logging-input
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">4253K 2857M ufw-before-input all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 6768 500K ufw-after-input all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 6764 500K ufw-after-logging-input
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 6764 500K ufw-reject-input all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 6764 500K ufw-track-input all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain FORWARD (policy DROP 0 packets, 0
bytes)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-before-logging-forward
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-before-forward all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-after-forward all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-after-logging-forward
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-reject-forward all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain OUTPUT (policy ACCEPT 164
packets, 9955 bytes)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;">5828K 5672M ufw-before-logging-output
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">5828K 5672M ufw-before-output all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">70173 4801K ufw-after-output all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">70173 4801K ufw-after-logging-output
all -- any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">70173 4801K ufw-reject-output all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">70173 4801K ufw-track-output all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-forward (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-input (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-skip-to-policy-input
udp -- any any anywhere anywhere udp
dpt:netbios-ns
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-skip-to-policy-input
udp -- any any anywhere anywhere udp
dpt:netbios-dgm
</div>
<div style="margin-bottom: 0cm;"> 1 48 ufw-skip-to-policy-input
tcp -- any any anywhere anywhere tcp
dpt:netbios-ssn
</div>
<div style="margin-bottom: 0cm;"> 3 152 ufw-skip-to-policy-input
tcp -- any any anywhere anywhere tcp
dpt:microsoft-ds
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-skip-to-policy-input
udp -- any any anywhere anywhere udp
dpt:bootps
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-skip-to-policy-input
udp -- any any anywhere anywhere udp
dpt:bootpc
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-skip-to-policy-input
all -- any any anywhere anywhere
ADDRTYPE match dst-type BROADCAST
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-logging-forward (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 LOG all -- any
any anywhere anywhere limit: avg 3/min
burst 10 LOG level warning prefix `[UFW BLOCK] '
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-logging-input (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 3898 295K LOG all -- any
any anywhere anywhere limit: avg 3/min
burst 10 LOG level warning prefix `[UFW BLOCK] '
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-logging-output (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-after-output (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-forward (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-user-forward all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-input (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 13 552 ACCEPT all -- lo
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">4230K 2844M ACCEPT all -- any
any anywhere anywhere state
RELATED,ESTABLISHED
</div>
<div style="margin-bottom: 0cm;">15232 12M ufw-logging-deny all --
any any anywhere anywhere state INVALID
</div>
<div style="margin-bottom: 0cm;">15232 12M DROP all -- any
any anywhere anywhere state INVALID
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT icmp -- any
any anywhere anywhere icmp
destination-unreachable
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT icmp -- any
any anywhere anywhere icmp source-quench
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT icmp -- any
any anywhere anywhere icmp time-exceeded
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT icmp -- any
any anywhere anywhere icmp
parameter-problem
</div>
<div style="margin-bottom: 0cm;"> 15 784 ACCEPT icmp -- any
any anywhere anywhere icmp echo-request
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT udp -- any
any anywhere anywhere udp spt:bootps
dpt:bootpc
</div>
<div style="margin-bottom: 0cm;"> 7938 876K ufw-not-local all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT all -- any
any base-address.mcast.net/4 anywhere
</div>
<div style="margin-bottom: 0cm;"> 1169 376K ACCEPT all -- any
any anywhere base-address.mcast.net/4
</div>
<div style="margin-bottom: 0cm;"> 6769 500K ufw-user-input all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-logging-forward (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-logging-input (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-logging-output (1
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-before-output (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 13 552 ACCEPT all -- any
lo anywhere anywhere
</div>
<div style="margin-bottom: 0cm;">5758K 5667M ACCEPT all -- any
any anywhere anywhere state
RELATED,ESTABLISHED
</div>
<div style="margin-bottom: 0cm;">70173 4801K ufw-user-output all --
any any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-logging-allow (0 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 LOG all -- any
any anywhere anywhere limit: avg 3/min
burst 10 LOG level warning prefix `[UFW ALLOW] '
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-logging-deny (2 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 1234 919K RETURN all -- any
any anywhere anywhere state INVALID limit:
avg 3/min burst 10
</div>
<div style="margin-bottom: 0cm;"> 1118 893K LOG all -- any
any anywhere anywhere limit: avg 3/min
burst 10 LOG level warning prefix `[UFW BLOCK] '
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-not-local (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 6769 500K RETURN all -- any
any anywhere anywhere ADDRTYPE match
dst-type LOCAL
</div>
<div style="margin-bottom: 0cm;"> 1169 376K RETURN all -- any
any anywhere anywhere ADDRTYPE match
dst-type MULTICAST
</div>
<div style="margin-bottom: 0cm;"> 0 0 RETURN all -- any
any anywhere anywhere ADDRTYPE match
dst-type BROADCAST
</div>
<div style="margin-bottom: 0cm;"> 0 0 ufw-logging-deny all --
any any anywhere anywhere limit: avg
3/min burst 10
</div>
<div style="margin-bottom: 0cm;"> 0 0 DROP all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-reject-forward (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-reject-input (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-reject-output (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-skip-to-policy-forward (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 DROP all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-skip-to-policy-input (7
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 4 200 DROP all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-skip-to-policy-output (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-track-input (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-track-output (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;">25237 1514K ACCEPT tcp -- any
any anywhere anywhere state NEW
</div>
<div style="margin-bottom: 0cm;">44772 3277K ACCEPT udp -- any
any anywhere anywhere state NEW
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-forward (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-input (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT tcp -- any
any primi-lp.local anywhere tcp spt:4662
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT udp -- any
any primi-lp.local anywhere udp spt:4672
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT udp -- any
any primi-lp.local anywhere udp spt:4665
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT tcp -- any
any primi-lp.local anywhere tcp spt:4665
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT tcp -- any
any primi-lp.local anywhere tcp spt:50100
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT udp -- any
any primi-lp.local anywhere udp spt:50200
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-limit (0 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 LOG all -- any
any anywhere anywhere limit: avg 3/min
burst 5 LOG level warning prefix `[UFW LIMIT BLOCK] '
</div>
<div style="margin-bottom: 0cm;"> 0 0 REJECT all -- any
any anywhere anywhere reject-with
icmp-port-unreachable
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-limit-accept (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"> 0 0 ACCEPT all -- any
any anywhere anywhere
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-logging-forward (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-logging-input (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-logging-output (0
references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;">Chain ufw-user-output (1 references)
</div>
<div style="margin-bottom: 0cm;"> pkts bytes target prot opt in
out source destination
</div>
<div style="margin-bottom: 0cm;">primi@primi-lp:~$ ^C
</div>
<div style="margin-bottom: 0cm;">primi@primi-lp:~$
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div style="margin-bottom: 0cm;"><br>
</div>
<div><span><br></span></div><div> </div><div>Primitivo Pajares Mateos<br>Linux User: #486404<br></div> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"><b><span style="font-weight: bold;"></span></b></font><br> </div></div> </div> </div></body></html>