On Sun, 19 May 2024 23:17:13 +0300 guy keren <guy.choo.ke...@gmail.com> 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 of my reply below > > your refusal to look at the code of traceroute, and instead insisting > of "blaming the middle-man" and fixing the problem at their side, > strikes me as a bad example for your students. as a developer, i will > first try to verify i didn't miss some scenario or use-case, before > trying to pass the blame. I asked for help and REALLY appreciate all the answers I got, but maybe I was not clear enough so let me explain why your answer is CORRECT, but in this case NOT helpful. 1 - As a teacher, I must follow the curriculum and in this case I am teaching Python and Scapy and specifically ICMP, so looking at the code of traceroute which is completely different does not help. 2 - I did not intend to blame the middle-man. I just wrote that the code has worked for several years that I have been teaching and also works when connecting via a different ISP (at school or a cell phone hotspot). So the "logical" conclusion is that my ISP is blocking something that was not blocked before and is not blocked by other ISPs. 3 - As I wrote a few minute ago, I found a virtual cloud solution and this ALSO runs my code without any problem, so more evidence that my ISP is blocking something that is usually not blocked. 4 - I always make it clear to my students that the code they are writing is not a replacement for traceroute - only a learning excercise. > > for the sake of your students, please re-consider this approach... For the above reasons, I cannot change anything, but I do agree that some students could potentially draw incorrect conclusions, so in my next lesso, I will again explain that this was a learning exercise about ICMP and not intened to be a fully working solution/replacement for traceroute. > > --guy > > On 5/19/24 21:46, Shlomo Solomon wrote: > > 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 recently stopped > > working means that the problem is NOT the code (which has not > > changed). 3 - The fact that the code works at school and when using > > a cellphone Hotspot (Golan Telecom) but NOT when connected to my > > "regular" ISP (019) means that the ISP is probably blocking > > something. > > > > My problem is that I don't know how to explain this to the ISP > > support people or ask them to stop blocking whatever they are > > blocking. They will certainly not understand. > > The "standard" help remedies are boot the computer or reset the > > router to default factory settings or some other nonsense. And I > > don't even want to think about the fact that the first thing they > > will say is that I should change something in the Windows control > > panel settings - telling them I'm using Linux is an exercise in > > futility. > > > > > > > > > > > > On Sun, 19 May 2024 20:35:36 +0300 > > guy keren <guy.choo.ke...@gmail.com> wrote: > > > > > >>> BTW - ping and the "real" traceroute work fine. > >>> I also looked at router settings, but did not find anything > >>> suspicious. > >> > >> there is your clue - read the source code of traceroute, and see > >> what it is doing differently. > >> > >> --guy > >> > >> _______________________________________________ > >> Linux-il mailing list -- linux-il@cs.huji.ac.il > >> To unsubscribe send an email to linux-il-le...@cs.huji.ac.il > > > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 4.0.0 - KDE Plasma 5.24.7 - Kubuntu 22.04 _______________________________________________ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il