<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libalias/alias_db.c, branch release/5.2.1_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.1_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.1_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-02-23T15:32:56Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-02-23T15:32:56Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-02-23T15:32:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=84a7b99b4e02a260bf7ff9b540032f4cb7bc612a'/>
<id>urn:sha1:84a7b99b4e02a260bf7ff9b540032f4cb7bc612a</id>
<content type='text'>
'RELENG_5_2_1_RELEASE'.

This commit was manufactured to restore the state of the 5.2.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Add Cisco Skinny Station protocol support to libalias, natd, and ppp.</title>
<updated>2003-09-23T07:41:55Z</updated>
<author>
<name>Joe Marcus Clarke</name>
<email>marcus@FreeBSD.org</email>
</author>
<published>2003-09-23T07:41:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b07fbc17e9994ab739ffd14ae1d9df38c22fdfea'/>
<id>urn:sha1:b07fbc17e9994ab739ffd14ae1d9df38c22fdfea</id>
<content type='text'>
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers.  With this code, one can use a Cisco IP phone behind a FreeBSD
NAT gateway.

Currently, having the Call Manager behind the NAT gateway is not supported.
More information on enabling Skinny support in libalias, natd, and ppp
can be found in those applications' manpages.

PR:		55843
Reviewed by:	ru
Approved by:	ru
MFC after:	30 days
</content>
</entry>
<entry>
<title>Fixed -Wpointer-arith warning.</title>
<updated>2003-09-09T23:50:57Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2003-09-09T23:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8e75a37bb0aa58ccb94d3f3f4299bbdc1d2d06c2'/>
<id>urn:sha1:8e75a37bb0aa58ccb94d3f3f4299bbdc1d2d06c2</id>
<content type='text'>
Submitted by:	Stefan Farfeleder
PR:		bin/56653
</content>
</entry>
<entry>
<title>A new API function PacketAliasRedirectDynamic() can be used</title>
<updated>2003-06-01T23:15:00Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2003-06-01T23:15:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=234dfc904a52cbc332358ef0ec06fb9b823fb103'/>
<id>urn:sha1:234dfc904a52cbc332358ef0ec06fb9b823fb103</id>
<content type='text'>
to mark a fully specified static link as dynamic; i.e. make
it a one-time link.
</content>
</entry>
<entry>
<title>Make the PacketAliasSetAddress() function call optional.  If it</title>
<updated>2003-06-01T22:49:59Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2003-06-01T22:49:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f1a529f3da97dddae7572c8d31d7e912422f1657'/>
<id>urn:sha1:f1a529f3da97dddae7572c8d31d7e912422f1657</id>
<content type='text'>
is not called, and no static rules match an outgoing packet, the
latter retains its source IP address.  This is in support of the
"static NAT only" mode.
</content>
</entry>
<entry>
<title>Move IPFW2 definition before including ip_fw.h</title>
<updated>2002-07-18T05:18:41Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-07-18T05:18:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=90780c4b05797fbae755c68f9027162d9d684e9d'/>
<id>urn:sha1:90780c4b05797fbae755c68f9027162d9d684e9d</id>
<content type='text'>
Make indentation of new parts consistent with the style used for this file.
</content>
</entry>
<entry>
<title>Fix a bug caused by dereferencing an invalid pointer when</title>
<updated>2002-07-08T22:57:35Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-07-08T22:57:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b3063f064c9d76bde782bb8a603d2d73c9323641'/>
<id>urn:sha1:b3063f064c9d76bde782bb8a603d2d73c9323641</id>
<content type='text'>
no punch_fw was used.
Fix another couple of bugs which prevented rules from being
installed properly.

On passing, use IPFW2 instead of NEW_IPFW to compile the new code,
and slightly simplify the instruction generation code.
</content>
</entry>
<entry>
<title>Remove trailing whitespace</title>
<updated>2002-07-01T11:19:40Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-07-01T11:19:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27cc91fbf84cc6c1cef81df859125f42292a2b69'/>
<id>urn:sha1:27cc91fbf84cc6c1cef81df859125f42292a2b69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The new ipfw code.</title>
<updated>2002-06-27T23:02:18Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-06-27T23:02:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9758b77ff1a539a7f4abaf2cd9768fcbfb50bca4'/>
<id>urn:sha1:9758b77ff1a539a7f4abaf2cd9768fcbfb50bca4</id>
<content type='text'>
This code makes use of variable-size kernel representation of rules
(exactly the same concept of BPF instructions, as used in the BSDI's
firewall), which makes firewall operation a lot faster, and the
code more readable and easier to extend and debug.

The interface with the rest of the system is unchanged, as witnessed
by this commit. The only extra kernel files that I am touching
are if_fw.h and ip_dummynet.c, which is quite tied to ipfw. In
userland I only had to touch those programs which manipulate the
internal representation of firewall rules).

The code is almost entirely new (and I believe I have written the
vast majority of those sections which were taken from the former
ip_fw.c), so rather than modifying the old ip_fw.c I decided to
create a new file, sys/netinet/ip_fw2.c .  Same for the user
interface, which is in sbin/ipfw/ipfw2.c (it still compiles to
/sbin/ipfw).  The old files are still there, and will be removed
in due time.

I have not renamed the header file because it would have required
touching a one-line change to a number of kernel files.

In terms of user interface, the new "ipfw" is supposed to accepts
the old syntax for ipfw rules (and produce the same output with
"ipfw show". Only a couple of the old options (out of some 30 of
them) has not been implemented, but they will be soon.

On the other hand, the new code has some very powerful extensions.
First, you can put "or" connectives between match fields (and soon
also between options), and write things like

ipfw add allow ip from { 1.2.3.4/27 or 5.6.7.8/30 } 10-23,25,1024-3000 to any

This should make rulesets slightly more compact (and lines longer!),
by condensing 2 or more of the old rules into single ones.

Also, as an example of how easy the rules can be extended, I have
implemented an 'address set' match pattern, where you can specify
an IP address in a format like this:

        10.20.30.0/26{18,44,33,22,9}

which will match the set of hosts listed in braces belonging to the
subnet 10.20.30.0/26 . The match is done using a bitmap, so it is
essentially a constant time operation requiring a handful of CPU
instructions (and a very small amount of memmory -- for a full /24
subnet, the instruction only consumes 40 bytes).

Again, in this commit I have focused on functionality and tried
to minimize changes to the other parts of the system. Some performance
improvement can be achieved with minor changes to the interface of
ip_fw_chk_t. This will be done later when this code is settled.

The code is meant to compile unmodified on RELENG_4 (once the
PACKET_TAG_* changes have been merged), for this reason
you will see #ifdef __FreeBSD_version in a couple of places.
This should minimize errors when (hopefully soon) it will be time
to do the MFC.
</content>
</entry>
<entry>
<title>cmott@scientech.com -&gt; cm@linktel.net</title>
<updated>2001-11-03T11:34:09Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2001-11-03T11:34:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e83aaae350ee78c20d66b4f983eef6e6c48f30ed'/>
<id>urn:sha1:e83aaae350ee78c20d66b4f983eef6e6c48f30ed</id>
<content type='text'>
Requested by:	Charles Mott &lt;cmott@scientech.com&gt;
</content>
</entry>
</feed>
