Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2002
    Location
    Hong Kong
    Posts
    417

    allowing outgoing traffic to a port only for a script/user?

    linux based, w/ iptables, can it be possible?

    thanks

  2. #2
    Join Date
    Mar 2004
    Location
    Odessa, Ukraine
    Posts
    610
    owner
    This module attempts to match various characteristics of
    the packet creator, for locally-generated packets. It is
    only valid in the OUTPUT chain, and even this some packets
    (such as ICMP ping responses) may have no owner, and hence
    never match.

    --uid-owner userid
    Matches if the packet was created by a process with
    the given effective user id.

    --gid-owner groupid
    Matches if the packet was created by a process with
    the given effective group id.

    --pid-owner processid
    Matches if the packet was created by a process with
    the given process id.

    --sid-owner sessionid
    Matches if the packet was created by a process in
    the given session group.

    --cmd-owner name
    Matches if the packet was created by a process with
    the given command name. (this option is present
    only if iptables was compiled under a kernel sup-
    porting this feature)

Posting Permissions

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