I teach computer networking and the latest assignment I gave my
students was to use Python and Scapy to emmulate traceroute. The code
is simple:
- send an ICMP packet with TTL = 1 which will fail but return the
first hop address
- continue sending ICMP packets - each time increasing the TTL to ge
Maybe use a vm on some random cloud service?
Or better yet, use a university computer.
On Sun, May 19, 2024 at 5:43 PM Shlomo Solomon
wrote:
> I teach computer networking and the latest assignment I gave my
> students was to use Python and Scapy to emmulate traceroute. The code
> is simple:
> -
Hi Shlomo,
1. Send me the code and I will try to test it.
2. Are you sure there is a reply when your message reaches the destination?
And does it depend on the destination? Some destinations may disable it for
security reasons (DDOS attacks).
Uri.
אורי
u...@speedy.net
On Sun, May 19, 2024 at 5:
Thanks.
Forgot to mention that I DID try the code at school and it works - high
school - not university :-)
I don't want to go to the time and expense of using a cloud server. I
want this to work at home as it has worked for many years :-)
On Sun, 19 May 2024 17:49:06 +0300
Shay Gover wrote:
Thanks.
1 - I will send it dirr=ectly to you - not to the list.
2 - No - that is not the problem since it works when I connect via a
hotspot (i.e. a different ISP).
When I use my "regular" 019 connection, I get:
sudo python tmp1.py www.google.com
1 10.0.0.138 0.047
2 10.64.0.250 0.038
3 10.64.0.
019 might have disabled it for the same reason (security/DDOS)
אורי
u...@speedy.net
On Sun, May 19, 2024 at 6:08 PM Shlomo Solomon
wrote:
> Thanks.
>
> 1 - I will send it dirr=ectly to you - not to the list.
>
> 2 - No - that is not the problem since it works when I connect via a
> hotspot (i.e
That is certainly a possibility, but since the packets and the replies
are between me and various routers on the way to the destination (and
not directed at 019), I don't see the point.
As I mentioned, only the final reply (from the destination) does not
arrive - error replies from all the router o
On 5/19/24 17:42, Shlomo Solomon wrote:
I teach computer networking and the latest assignment I gave my
students was to use Python and Scapy to emmulate traceroute. The code
is simple:
- send an ICMP packet with TTL = 1 which will fail but return the
first hop address
- continue sending ICMP
Thanks.
I see your point, but in this case it does not help me for the
following reasons:
1 - my purpose is to teach how to emmulate traceroute using Python and
Scapy, so looking at the "real" traceroute code written in C is not
really relevant.
2 - The fact that Python code that worked until rece
the fact that traceroute works in this case while your python code
doesn't work in this case, suggests there is some at least one scenario
that your code doesn't handle, even though it could.
your refusal to look at the code of traceroute, and instead insisting of
"blaming the middle-man" a
On Sun, May 19, 2024 at 5:43 PM Shlomo Solomon
wrote:
> I teach computer networking and the latest assignment I gave my
> students was to use Python and Scapy to emmulate traceroute. The code
> is simple:
> - send an ICMP packet with TTL = 1 which will fail but return the
> first hop address
>
Replying to my own post :-)
As I wrote earlier, I do not want to go to the time and expense of
using a cloud server. That would really be over-kill in this case. But I
discovered a great free service that offers a Linux bash prompt in the
cloud with no need to setup anything. For anyone who is int
On Sun, 19 May 2024 23:17:13 +0300
guy keren wrote:
>
> the fact that traceroute works in this case while your python code
> doesn't work in this case, suggests there is some at least one
> scenario that your code doesn't handle, even though it could.
Thank you again.
I agree, but see the rest
Thanks again.
As I wrote earlier in reply to Guy Keren, I know that the Python/Scapy
code to emulate traceroute does NOT work like the real traceroute, but
that is the assignment I give to my students based on the curriculum,
so comparing this code to the real traceroute does not really help in
th
14 matches
Mail list logo