• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Socket Filtering NKE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Socket Filtering NKE


  • Subject: Socket Filtering NKE
  • From: Madhavi Gundeti <email@hidden>
  • Date: Wed, 03 Dec 2014 11:40:48 +0530

Hi,

I have looked into the tcplognke sample code, In this sample the same IP address is re injected at later time.

Is it possible to re inject IP address with some strings appending to it ?

For example:
i/p : 74.125.236.161(swallow this)
re injected packet should be: 74.125.236.161/#q=madhavi

Is above scenario is possible? Can we re inject the entire string "74.125.236.161/#q=madhavi" ??

Thanks and Regards,
Madhavi G.

On Tue, Nov 25, 2014 at 1:30 AM, <email@hidden> wrote:
Send Macnetworkprog mailing list submissions to
        email@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.apple.com/mailman/listinfo/macnetworkprog
or, via email, send a message with subject or body 'help' to
        email@hidden

You can reach the person managing the list at
        email@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Macnetworkprog digest..."


Today's Topics:

   1. Socket Filtering NKE (Madhavi Gundeti)
   2. Re: Open Directory Query - What am I doing wrong?
      (Quinn "The Eskimo!")
   3. Re: Socket Filtering NKE (Quinn "The Eskimo!")


----------------------------------------------------------------------

Message: 1
Date: Mon, 24 Nov 2014 12:17:12 +0530
From: Madhavi Gundeti <email@hidden>
To: email@hidden
Subject: Socket Filtering NKE
Message-ID:
        <email@hidden>
Content-Type: text/plain; charset="utf-8"

Hi,

I am developing Network kernel extension for Mac Yosemite.
For Socket filtering, I am referring to below link.

https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/NKEConceptual/socket_nke/socket_nke.html#//apple_ref/doc/uid/TP40001858-CH228-SW1

But I am not finding any sample code with name "tcplognke" at ADC sample
code.

Where to find this sample code for Socket filtering ??
How to re inject new IP address using mbuf ??

Thanks and Regards,
Madhavi G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.apple.com/mailman/private/macnetworkprog/attachments/20141124/4beb2e4e/attachment.html>

------------------------------

Message: 2
Date: Mon, 24 Nov 2014 09:53:07 +0000
From: "Quinn \"The Eskimo!\"" <email@hidden>
To: "email@hidden Programming"
        <email@hidden>
Subject: Re: Open Directory Query - What am I doing wrong?
Message-ID: <email@hidden>
Content-Type: text/plain; charset=iso-8859-1


On 22 Nov 2014, at 15:55, Fabian Jäger <email@hidden> wrote:

> I am trying to query an LDAP directory through the Open Directory framework.

When folks have problems with the OD API I generally recommend that they prototype the request in <x-man-page://1/dscl>.  So, if you do the following in dscl, does your user show up?

$ dscl
Entering interactive mode... (type "help" for commands)
 > cd /Search/Users
/Search/Users > ls
_amavisd
...

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware





------------------------------

Message: 3
Date: Mon, 24 Nov 2014 09:55:45 +0000
From: "Quinn \"The Eskimo!\"" <email@hidden>
To: "email@hidden Programming"
        <email@hidden>
Subject: Re: Socket Filtering NKE
Message-ID: <email@hidden>
Content-Type: text/plain; charset=us-ascii


On 24 Nov 2014, at 06:47, Madhavi Gundeti <email@hidden> wrote:

> Where to find this sample code for Socket filtering ??

"tcplognke" is in the 'retired' section of the documents library.

<https://developer.apple.com/legacy/library/samplecode/tcplognke/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003669>

This isn't an indication that the technology as a whole is deprecated, just that no one has got around to updating the sample in a while and thus it doesn't build out of the box.

Earlier this year I updated "enetlognke".  You should look at that sample for general information about how to code, build and install NKEs on modern systems.  You can then look at "tcplognke" itself for information specific to socket-level NKEs.

<https://developer.apple.com/library/mac/samplecode/enetlognke/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003579>

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware





------------------------------

_______________________________________________
Macnetworkprog mailing list
email@hidden
https://lists.apple.com/mailman/listinfo/macnetworkprog

End of Macnetworkprog Digest, Vol 11, Issue 112
***********************************************

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Socket Filtering NKE
      • From: Kevin Brock <email@hidden>
  • Next by Date: Re: Socket Filtering NKE
  • Next by thread: Re: Socket Filtering NKE
  • Index(es):
    • Date
    • Thread