Professional Web Applications Themes

Filtering network traffic - Mac Programming

Hello everyone, I was wondering if anybody knew of a way to filter network traffic on a certain port---not just filter it, but actually change it. For example, we'd like to be able to append an automatic "signature" to all e-mail that goes out of a machine (in unencrypted form, obviously). I know we can do this at the mail server level, but for some reason I was asked to try to implement this on the client side. Does anybody have any tips or starting points? I imagine this would have to be some sort of kernel/network extension, but I ...

  1. #1

    Default Filtering network traffic

    Hello everyone,

    I was wondering if anybody knew of a way to filter network traffic on a
    certain port---not just filter it, but actually change it.

    For example, we'd like to be able to append an automatic "signature" to all
    e-mail that goes out of a machine (in unencrypted form, obviously). I know
    we can do this at the mail server level, but for some reason I was asked to
    try to implement this on the client side.

    Does anybody have any tips or starting points? I imagine this would have to
    be some sort of kernel/network extension, but I have no idea how to get
    started. It seems like it should be fairly easy to do (just appending the
    text, although I'd have to deal with multipart MIME messages) but I'm not
    quite sure where to begin looking.

    Thanks,

    John

    John Guest

  2. #2

    Default Re: Filtering network traffic

    In article <BC00EC30.292BC%is.evil.org>,
    John Szelzic <is.evil.org> wrote:
     

    I don't know if this works for you, but the easiest way to program
    something that 'intercepts' outgoing SMTP is to simply write a program
    that listens on some local port, does what it needs to the data, and
    then forwards everything to your real SMTP server. This doesn't require
    any trickery at all, it's just a normal TCP/IP program. The catch, of
    course, is that you have to tell your e-mail client to connect to
    localhost:12345 instead of your real mail server. If that is acceptable,
    then this is probably the best way to go, since it's easy and most
    decidedly non-Evil.
    Michael Guest

  3. Moderated Post

    Default Re: Filtering network traffic

    Removed by Administrator
    Jhnny Guest
    Moderated Post

Similar Threads

  1. Network traffic monitoring app
    By Steve in forum Mac Applications & Software
    Replies: 2
    Last Post: September 10th, 07:55 PM
  2. tion traffic on the network has spiked up !!!
    By Madison Pruet in forum Informix
    Replies: 3
    Last Post: August 6th, 09:44 PM
  3. how to monitor network traffic in VLAN
    By Martin Schoen in forum Sun Solaris
    Replies: 1
    Last Post: July 28th, 05:58 PM
  4. Network Traffic Monitoring
    By DT in forum AIX
    Replies: 2
    Last Post: July 10th, 08:44 AM
  5. Monitoring network traffic
    By Matty in forum Sun Solaris
    Replies: 1
    Last Post: July 2nd, 11:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139