Odp: TTL
1. Edytorem - nano lub vi, jak wolisz
2. lub zrób echo "iptables -t mangle -I PREROUTING 1 -i wlan1 -j TTL --ttl-inc 1" > /etc/firewall.user (tylko raz!)
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → TTL
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
1. Edytorem - nano lub vi, jak wolisz
2. lub zrób echo "iptables -t mangle -I PREROUTING 1 -i wlan1 -j TTL --ttl-inc 1" > /etc/firewall.user (tylko raz!)
zrobilem, z tym ze ciagle jak pinguje onet to mam ttl46
root@Gargoyle:~# cat /etc/firewall.user
iptables -t mangle -I PREROUTING 1 -i wlan1 -j TTL --ttl-inc 1
Pinging onet.pl [213.180.141.140] with 32 bytes of data:
Reply from 213.180.141.140: bytes=32 time=54ms TTL=46
Reply from 213.180.141.140: bytes=32 time=53ms TTL=46
Reply from 213.180.141.140: bytes=32 time=60ms TTL=46
Reply from 213.180.141.140: bytes=32 time=109ms TTL=46
Ping statistics for 213.180.141.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 53ms, Maximum = 109ms, Average = 69ms
A poprzednio miałeś 40. Pingowałeś to samo?
tak
poprzednio pingowalem 8.8.8.8 i mialem 40
onet 46
teraz mam
C:\Users\bob>ping 8.8.8.8
Pinging 8.8.8.8 with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=32ms TTL=39
Reply from 8.8.8.8: bytes=32 time=26ms TTL=39
Reply from 8.8.8.8: bytes=32 time=29ms TTL=39
Reply from 8.8.8.8: bytes=32 time=39ms TTL=39
Ping statistics for 8.8.8.8:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 26ms, Maximum = 39ms, Average = 31ms
C:\Users\bob> ping onet.pl
Pinging onet.pl [213.180.141.140] with 32 bytes of data:
Reply from 213.180.141.140: bytes=32 time=55ms TTL=46
Reply from 213.180.141.140: bytes=32 time=57ms TTL=46
Reply from 213.180.141.140: bytes=32 time=55ms TTL=46
Reply from 213.180.141.140: bytes=32 time=58ms TTL=46
Ping statistics for 213.180.141.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 55ms, Maximum = 58ms, Average = 56ms
A teraz zrób
iptables -t mangle -I PREROUTING 1 -i wlan1 -j TTL --ttl-inc 2
ping onet.pl
ciagle ttl 46
Pinging onet.pl [213.180.141.140] with 32 bytes of data:
Reply from 213.180.141.140: bytes=32 time=83ms TTL=46
Reply from 213.180.141.140: bytes=32 time=52ms TTL=46
Reply from 213.180.141.140: bytes=32 time=54ms TTL=46
Reply from 213.180.141.140: bytes=32 time=53ms TTL=46
Ping statistics for 213.180.141.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 52ms, Maximum = 83ms, Average = 60ms
ale jak robie
root@Gargoyle:~# cat /etc/firewall.user
iptables -t mangle -I PREROUTING 1 -i wlan1 -j TTL --ttl-inc 1
to nie chce zmienic na inc2
Pokaż mi jeszcze wynik route -n
root@Gargoyle:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 br-wan
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 br-wan
192.168.43.1 0.0.0.0 255.255.255.255 UH 0 0 0 br-wan
Ty wychodzisz przez br-wan teraz, nie wlan1. Więc zrób
echo "iptables -t mangle -I PREROUTING 1 -i br-wan -j TTL --ttl-inc 1" > /etc/firewall.user
ufff, nareszcie dziekuje
zobacze czy to pomoze przy lyca belgium i dam znac
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → TTL
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc