traceroute

Is it possible to do a traceroute in the browser?

时间秒杀一切 提交于 2019-12-20 09:55:41
问题 I'm looking for a way to do a traceroute client-side, i.e. in a browser. As far as I know, it's not possible to send ICMP, UDP or TCP packets with arbitrary TTL values via Javascript or Flash. I know Flash allows TCP connections via the Socket class in Actionscript but it doesn't seem useful for a traceroute implementation. Is the only solution to develop a browser plug-in ? EDIT : I just found out that it has been done with a Java applet: http://www.codefromthe70s.org/traceroute.aspx The bad

Batch - Parsing the output of Tracert

空扰寡人 提交于 2019-12-10 11:09:30
问题 i would like to ask for some help with the output of tracert in windows, ie i have this output : Tracing route to Y.Y.Y.Y over a maximum of 30 hops 1 1 ms 1 ms 1 ms X.X.X.X 2 103 ms 71 ms 22 ms X.X.X.X 3 35 ms 51 ms 35 ms X.X.X.X .... and i would like to produce a file that contains only the X.X.X.X or as an intermediate step to get there, only the lines of tracer that actually contain IPs. Ie : X.X.X.X X.X.X.X X.X.X.X I ve tried this through a batch file : for /f "tokens=8" %%a in ('tracert

Linux___网络命令__12

假装没事ソ 提交于 2019-12-10 04:07:16
39 网络命令:write 命令名称:write 命令所在路径:/usr/bin/write 执行权限:所有用户 语法:write<用户名> 功能描述:给用户发信息(用户必须在线),以ctrl+D保存结束 范例: ~write linzhiling ——————————————————————————————————————— 40 网络命令:wall 命令名称:wall 英文原意:write all 命令所在路径:/usr/bin/wall 执行权限:所有用户 语法:wall [message] 功能描述:发广播信息 范例: ~wall hello world ——————————————————————————————————————— 41 网络命令:ping 命令名称:ping 命令所在路径:/bin/ping 执行权限:所有用户 语法:ping 选项 IP地址 -c:指定发送次数 功能描述:测试网络连接连通性 范例: ~ping 192.268.1.156 备注:linux下使用ping命令后,会持续更新,想关闭需要按ctrl+c ——————————————————————————————————————— 42 网络命令:ifconfig 命令名称:ifconfig 命令所在路径:/sbin/ifconfig 执行权限:root 语法:ifconfig 网卡名称

How can I get IP of a specific hop for traceroute in python

丶灬走出姿态 提交于 2019-12-08 13:57:47
问题 addr = socket.gethostbyname('dalitstan.org') target = [addr] result, unans = traceroute(target,maxttl=32) I am doing this and getting the below output. Is there some way here to get the IP of specific hop in a variable. And also why some hop number are missing in the traceroute result? Begin emission: Finished to send 32 packets. ************************* Received 25 packets, got 25 answers, remaining 7 packets 185.53.178.6:tcp80 1 192.168.43.1 11 3 10.71.83.18 11 4 172.16.26.245 11 5 172.26

how do I install the traceroute functionality from busybox programmatically

£可爱£侵袭症+ 提交于 2019-12-08 03:08:25
问题 I am currently working on implementing traceroute functionality in android and for that I need some help. I aksed question on this on SO. And in answer user of suggested me to do following : The busybox utility includes traceroute. You can run busybox on your device without rooting your phone by following this youtube tutorial. You should then be able to use the first code segment you posted to query traceroute from within your app. Of course, you will need to make sure that you use the

Implement Traceroute functionality in android

天大地大妈咪最大 提交于 2019-12-07 06:09:07
问题 This is the first time I am asking any question so forgive me for my any mistake. I want to implement traceroute functionality like this apps available in android play store. Visual TracertPro Traceroute I know that when typing in CMD in windows traceroute google.com will display all intermediate IP used. Now what I have tried. I try using traceroute command but android not support traceroute only rooted device support it. Process process =Runtime.getRuntime().exec("traceroute yahoo.com");

how do I install the traceroute functionality from busybox programmatically

余生长醉 提交于 2019-12-06 14:27:20
I am currently working on implementing traceroute functionality in android and for that I need some help. I aksed question on this on SO . And in answer user of suggested me to do following : The busybox utility includes traceroute. You can run busybox on your device without rooting your phone by following this youtube tutorial . You should then be able to use the first code segment you posted to query traceroute from within your app. Of course, you will need to make sure that you use the correct path when calling traceroute. Now you will think why I am asking same again but I watched video

Batch - Parsing the output of Tracert

ⅰ亾dé卋堺 提交于 2019-12-06 10:59:38
i would like to ask for some help with the output of tracert in windows, ie i have this output : Tracing route to Y.Y.Y.Y over a maximum of 30 hops 1 1 ms 1 ms 1 ms X.X.X.X 2 103 ms 71 ms 22 ms X.X.X.X 3 35 ms 51 ms 35 ms X.X.X.X .... and i would like to produce a file that contains only the X.X.X.X or as an intermediate step to get there, only the lines of tracer that actually contain IPs. Ie : X.X.X.X X.X.X.X X.X.X.X I ve tried this through a batch file : for /f "tokens=8" %%a in ('tracert -4 -d 8.8.8.8^|find "ms"') do ( @echo %%a >D:\panagos\desktop\ips.txt ) but instead of the desired

华为云服务器使用评测

隐身守侯 提交于 2019-12-06 09:10:23
前言 个人简介:某双非学校软件工程大二学生 服务器对于每一个开发者都具有非常重要的作用, MBA智库百科 上面这么是这么介绍的: 服务器是指能向网络用户提供特定服务的软件和硬件。这个服务器的定义包含了以下两个方面的内容:一方面,服务器的作用是为网络提供特定的服务,而人们通常会以服务器所能提供的服务来命名服务器,如提供文件共享服务的服务器称为文件服务器,提供打印队列共享服务的服务器称为打印服务器等;另一方面,服务器是软件和硬件的统一体,特定的服务程序需要运行在特定的硬件或一般通用的微机上才能完成服务功能,由服务程序完成服务策略,并通过硬件实现所需的服务,如文件服务依靠大容量硬盘,打印服务需要高速打印机。 由于整个网络的用户均依靠不同的服务器提供不同的网络服务,因此,网络服务器是网络资源管理和共享的核心。网络服务器的性能对整个网络的共享性能有着决定性的影响。 作为一个准程序员来说的话,至少要了解一下基本Linux语法和服务器的基本使用,搭建一下属于自己的技术博客分享心得等等,所以当然也是需要使用服务器的啦!! 在此之前博主经常使用国外的服务器进行博客建设和网站搭建,包括 我的博客(https://windcry1.com) 也是搭建在国外的服务器上面的,一个月的价格的话大约在5美元(相当于35人民币)左右,相当于人民币一元多一天。对比国内主流服务器的标准价格来说价格并不算太高。