Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8291025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:59:27+00:00 2026-06-08T12:59:27+00:00

I was wondering how the input data in this expression actually works. char *filter

  • 0

I was wondering how the input data in this expression actually works.

char *filter = "dst host 172.17.14.90 and ip";

From what I understand the dest host bit and the following IPv4 address defines what address the recieved packet should be addressed to.

The man page was a bit confusing on that point saying:

dst host host
True if the IPv4/v6 destination field of the packet is host,
which may be either an address or a name.

http://www.manpagez.com/man/7/pcap-filter/

so is that what it means? and as for the and ip bit I have no clue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:59:28+00:00Added an answer on June 8, 2026 at 12:59 pm

    You are right about the first bit:

    dst host 172.17.14.90
    

    means that the packet should be addressed to 172.17.14.90.

    The second one:

    ip
    

    like the manpage says is an abbreviation for:

    ether proto ip
    

    which means that the packet must be sent using the IP protocol.

    So, to sum up: the packet must be sent using the IP protocol to the host having IP address 172.17.14.90.


    As a note, the above could be expressed simpler using:

    ip dst host 172.17.14.90
    

    (the shorter syntax is explained near host explanation in the manpage)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if converting POST input from an HTML form into html entities,
I was wondering how it is possible to validate input from a UITextField in
I'm wondering if NoSQL is an option for this scenario: The input are hourly
I am wondering where the best place to filter user submitted input is. In
I am wondering what I would use to grab data from a form as
Just wondering, to sanitize user input, I use mysql_real_escape_string() on data before it is
I'm wondering how I can hook up an input type=file to send a picture
I'm using shortcut.js to handle keyboard input and I'm wondering if there is a
I am wondering what can be the maximum value that a <input type=hidden> can
Wondering what the best / good way of doing this would be in jQuery.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.