<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet/libalias/alias_pptp.c, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-04-08T11:56:49Z</updated>
<entry>
<title>-don't pass down, to module's fingerprint function, unused data like</title>
<updated>2009-04-08T11:56:49Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2009-04-08T11:56:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=43197d291a98cccd580041d52c55a7e9378fdd19'/>
<id>urn:sha1:43197d291a98cccd580041d52c55a7e9378fdd19</id>
<content type='text'>
 a pointer to the ip header.
-style
-spacing
</content>
</entry>
<entry>
<title>Summer of Code 2005: improve libalias - part 1 of 2</title>
<updated>2006-09-26T23:26:53Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2006-09-26T23:26:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be4f3cd0d9c4f0d7755b1bf24c59ca26c336dccf'/>
<id>urn:sha1:be4f3cd0d9c4f0d7755b1bf24c59ca26c336dccf</id>
<content type='text'>
With the first part of my previous Summer of Code work, we get:

-made libalias modular:

 -support for 'particular' protocols (like ftp/irc/etcetc) is no more
  hardcoded inside libalias, but it's available through external
  modules loadable at runtime

 -modules are available both in kernel (/boot/kernel/alias_*.ko) and
  user land (/lib/libalias_*)

 -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
  skinny and smedia

-added logging support for kernel side

-cleanup

After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.

During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.

User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.

The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).

General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.

NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.

Approved by: glebius
Reviewed by: glebius, ru
</content>
</entry>
<entry>
<title>Always include alias.h before alias_local.h</title>
<updated>2005-05-05T21:55:17Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-05-05T21:55:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=75bc262006b2b639ae568db84681ecf1053b0ad6'/>
<id>urn:sha1:75bc262006b2b639ae568db84681ecf1053b0ad6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Play with includes so that libalias can be compiled both as userland</title>
<updated>2005-05-05T19:27:32Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-05-05T19:27:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c649a2e033f92a25f66149051f8e1db05c8a0b96'/>
<id>urn:sha1:c649a2e033f92a25f66149051f8e1db05c8a0b96</id>
<content type='text'>
library and kernel module.
</content>
</entry>
<entry>
<title>Fix Skinny and PPTP NAT'ing after the introduction of the {ip,tcp,udp}_next</title>
<updated>2004-08-04T15:17:08Z</updated>
<author>
<name>Joe Marcus Clarke</name>
<email>marcus@FreeBSD.org</email>
</author>
<published>2004-08-04T15:17:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c7e7e80ccdf71f9d2cfe8864a449ac63ae16cc9'/>
<id>urn:sha1:5c7e7e80ccdf71f9d2cfe8864a449ac63ae16cc9</id>
<content type='text'>
functions.  Basically, the ip_next() function was used to get the PPTP and
Skinny headers when tcp_next() should have been used instead.  Symptoms of
this included a segfault in natd when trying to process a PPTP or Skinny
packet.

Approved by:	des
</content>
</entry>
<entry>
<title>Introduce inline {ip,udp,tcp}_next() functions which take a pointer to an</title>
<updated>2004-07-06T12:13:28Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-07-06T12:13:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9fa0fd268273d90e765d9ebfe0be87ea4d64e138'/>
<id>urn:sha1:9fa0fd268273d90e765d9ebfe0be87ea4d64e138</id>
<content type='text'>
{ip,udp,tcp} header and return a void * pointing to the payload (i.e. the
first byte past the end of the header and any required padding).  Use them
consistently throughout libalias to a) reduce code duplication, b) improve
code legibility, c) get rid of a bunch of alignment warnings.
</content>
</entry>
<entry>
<title>Make libalias WARNS?=6-clean.  This mostly involves renaming variables</title>
<updated>2004-07-05T11:10:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-07-05T11:10:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed01a5821550bf9859165f24c95b30c5f1b69f22'/>
<id>urn:sha1:ed01a5821550bf9859165f24c95b30c5f1b69f22</id>
<content type='text'>
named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing
signed / unsigned comparisons, and shoving unused function arguments
under the carpet.

I was hoping WARNS?=6 might reveal more serious problems, and perhaps
the source of the -O2 breakage, but found no smoking gun.
</content>
</entry>
<entry>
<title>Deal with aliasing warnings.</title>
<updated>2004-03-31T21:32:58Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-03-31T21:32:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2871c50186332900ef081db99ff114096eec0b3b'/>
<id>urn:sha1:2871c50186332900ef081db99ff114096eec0b3b</id>
<content type='text'>
Reviewed by:	ru
Approved by:	silence on the lists
</content>
</entry>
<entry>
<title>Run through indent(1) so I can read the code without getting a headache.</title>
<updated>2004-03-16T21:30:41Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-03-16T21:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f0f93429cfff16c9a06c162ae62d362ec20e050c'/>
<id>urn:sha1:f0f93429cfff16c9a06c162ae62d362ec20e050c</id>
<content type='text'>
The result isn't quite knf, but it's knfer than the original, and far
more consistent.
</content>
</entry>
<entry>
<title>Mostly mechanical rework of libalias:</title>
<updated>2004-01-17T10:52:21Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-01-17T10:52:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e289f9eb682d86a53ecf2c20be45175a6491803'/>
<id>urn:sha1:5e289f9eb682d86a53ecf2c20be45175a6491803</id>
<content type='text'>
Makes it possible to have multiple packet aliasing instances in a
single process by moving all static and global variables into an
instance structure called "struct libalias".

Redefine a new API based on s/PacketAlias/LibAlias/g

Add new "instance" argument to all functions in the new API.

Implement old API in terms of the new API.
</content>
</entry>
</feed>
