01-14-2009
When you say it is "not working", does that mean that packets from this mac/ip are not being forwarded? Or do you mean that invalid packets (which do not match the ip and mac) are being forwarded?
3 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Work with FreeBSD with firewall ipfw + dummynet and I need to allow to some IP by MAC address and to deny to the others, since I can do it?
Thanks. (2 Replies)
Discussion started by: darknighter
2 Replies
2. Shell Programming and Scripting
Hello All,
I would like to remove all kernel in the system except 2.6.18-308.24.1.el5.
I was trying something like
rpm -qa|grep kernel|grep -v 2.6.18-308.24.1.el5|yum remove
it did not work. any help?
Thanks (2 Replies)
Discussion started by: adam25ca
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Discussion started by: sarbjit
3 Replies
LEARN ABOUT FREEBSD
mac_is_present
MAC_IS_PRESENT(3) BSD Library Functions Manual MAC_IS_PRESENT(3)
NAME
mac_is_present -- report whether the running system has MAC support
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/mac.h>
int
mac_is_present(const char *policyname);
DESCRIPTION
The mac_is_present() function determines whether the currently-running kernel supports MAC for a given policy or not. If policyname is
non-NULL, the presence of the named policy (e.g. ``biba'', ``mls'', ``te'') is checked, otherwise the presence of any MAC policies at all is
checked.
RETURN VALUES
If the system supports the given MAC policy, the value 1 is returned. If the specified MAC policy is not supported, the value 0 is returned.
If an error occurs, the value -1 is returned.
ERRORS
[EINVAL] The value of policyname is not valid.
[ENOMEM] Insufficient memory was available to allocate internal storage.
SEE ALSO
mac(3), mac_free(3), mac_get(3), mac_prepare(3), mac_set(3), mac_text(3), mac(4), mac(9)
HISTORY
Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project.
BSD
July 7, 2006 BSD