Install Wireshark in Ubuntu 13.10

Source: Internet
Author: User

Install Wireshark in Ubuntu 13.10

Today, I am using java jsoup to operate on the remote server. If I run it locally, I can return the content successfully, compress it into a jar package, and run the shell on the server to ask the error.

Java.net. SocketException: Unexpected end of file from server
Sun.net. www.http. HttpClient. parseHTTPHeader (HttpClient. java: 772)
Sun.net. www. http. HttpClient. parseHTTP (HttpClient. java: 633)
Sun.net. www.http. HttpClient. parseHTTPHeader (HttpClient. java: 769)
Sun.net. www. http. HttpClient. parseHTTP (HttpClient. java: 633)
Sun.net. www. protocol. http. HttpURLConnection. getInputStream (HttpURLConnection. java: 1323)
Java.net. HttpURLConnection. getResponseCode (HttpURLConnection. java: 468)
Org.jsoup.helper.HttpConnection$Response.exe cute (HttpConnection. java: 516)
Org.jsoup.helper.HttpConnection$Response.exe cute (HttpConnection. java: 493)
Org.jsoup.helper.HttpConnection.exe cute (HTTP connection. java: 205)
Org. jsoup. helper. HttpConnection. get (HttpConnection. java: 194)

The same problem was found in stackoverflow because the remote server received the request and immediately disabled the request, but did not return the response. For details, see trace packets and so. wireshark must be installed.
Sudo apt-get install wireshark

But it is not so smooth, otherwise there will be no such article.

After executing the preceding command, the following error is found:
404 Not Found [IP: 137.189.4.14 80]

Sudo apt-get update cannot be solved,

Then baidu finds out that there is a solution to this blog. It is found that the source of Ubuntu13.10 has changed.
Updating to 14.04 can solve the problem, but this is a running server and does not risk it. However, you can also update the source.
Mv/etc/apt/sources. list/etc/apt/sources. list_20150807
Touch/etc/apt/sources. list
Vi/etc/apt/sources. list

Then copy the content.

Deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
Deb-src http://old-releases.ubuntu.com/ubuntu/ (raring main universe restricted multiverse)
Deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
Deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
Deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
Deb-src http://old-releases.ubuntu.com/ubuntu/ (raring-updates main universe restricted multiverse)
Deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
Deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
Deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
Deb-src http://old-releases.ubuntu.com/ubuntu/ (raring-proposed main restricted universe multiverse)

Save and exit.
Sudo apt-get update
Sudo apt-get install wireshark
Done.

Simple use of Wireshark

Install Wireshark in Ubuntu 12.04

Starting Wireshark packet capture from common users in Linux

Install and run Wireshark in Linux

Wireshark details: click here
Wireshark: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.