summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias/libalias.3
Commit message (Collapse)AuthorAgeFilesLines
* sys/net*: minor spelling fixes.pfg2016-05-031-1/+1
| | | | No functional change.
* mdoc: fix rendering issuesbapt2015-04-261-3/+5
|
* Cleanup alias module handler register/unregister.glebius2013-12-251-10/+16
| | | | | | | | | | | | | | - Remove locking, since all module(9) events are running under &Giant. - Use TAILQ for protocol handlers and fix a bug which led to infinite cycle. Bug found in VirtualBox [1] - Simplify code everywhere. - Fix documentation. [1] https://www.virtualbox.org/pipermail/vbox-dev/2013-November/011936.html PR: 183792 [1] Submitted by: Valery Ushakov <uwe NetBSD.org> [1] Sponsored by: Nginx, Inc.
* - Move AUTHORS and ACKNOWLEDGEMENTS to the end of the page.glebius2013-01-311-33/+35
| | | | - Add myself to list of authors.
* mdoc: avoid nested displays. Fixes mandoc warnings.joel2012-06-131-4/+2
|
* Fix style nit: don't use leading zero for dates in .Ddeadler2012-06-051-1/+1
| | | | | | Prompted by: brueffer Approved by: brueffer MFC after: 3 days
* General mdoc(7) and typo fixes.gjb2012-05-111-3/+3
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* - General grammar and mdoc(7) fixes. [1] [2]gjb2011-07-041-65/+66
| | | | | | | | | | - While here, remove a paragraph about userspace operation that has been outdated for some time. [2] PR: 158623 Submitted by: Ben Kudak (kaduk % mit!edu) [1] Reviewed by: glebius [2] MFC after: 1 week
* Export AddLink() function from libalias. It can be used when customae2011-06-221-0/+11
| | | | | | | | | | | alias address needs to be specified. Add inbound handler to the alias_ftp module. It helps handle active FTP transfer mode for the case with external clients and FTP server behind NAT. Fix passive FTP transfer case for server behind NAT using redirect with external IP address different from NAT ip address. PR: kern/157957 Submitted by: Alexander V. Chernikov
* Document PKT_ALIAS_SKIP_GLOBAL option.ae2011-06-221-1/+11
| | | | Submitted by: Alexander V. Chernikov
* mdoc: drop even more redundant .Pp callsuqs2010-10-191-1/+0
| | | | | | No change in rendered output, less mandoc lint warnings. Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
* Merge the rest of my changes.ru2006-10-111-13/+26
|
* Various mdoc and grammar fixes.piso2006-10-081-279/+282
| | | | | Approved by: glebius Reviewed by: glebius, ru
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-261-0/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* o Kill BUGS section as it is not valid since rev. 1.4 alias_pptp.c.maxim2006-07-041-6/+1
| | | | | Spotted by: ru.unix.bsd activists MFC after: 1 week
* Fix prototype.ru2005-11-241-1/+1
|
* Sort sections.ru2005-01-201-5/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-7/+7
|
* Bumped document date.ru2004-07-011-5/+7
| | | | | Fixed markup. Fixed examples to match the new API.
* Mostly mechanical rework of libalias:phk2004-01-171-93/+98
| | | | | | | | | | | | 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.
* Add Cisco Skinny Station protocol support to libalias, natd, and ppp.marcus2003-09-231-0/+10
| | | | | | | | | | | | | | | 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
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-2/+2
|
* Removed a couple of .Xo/.Xc that are leftovers of the "ninth-argumentru2003-06-131-9/+3
| | | | limit" mdoc(7) atavism.
* Clarify that original address and port when doing transparent proxyingru2003-06-131-5/+5
| | | | are _destination_ address and port.
* Added myself to the AUTHORS section.ru2003-06-131-0/+2
|
* The .Fn functioncharnier2003-06-081-4/+6
|
* A new API function PacketAliasRedirectDynamic() can be usedru2003-06-011-1/+20
| | | | | to mark a fully specified static link as dynamic; i.e. make it a one-time link.
* Make the PacketAliasSetAddress() function call optional. If itru2003-06-011-5/+8
| | | | | | 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.
* cmott@scientech.com -> cm@linktel.netbrian2001-11-031-2/+2
| | | | Requested by: Charles Mott <cmott@scientech.com>
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-3/+3
|
* mdoc(7) police:ru2001-08-071-4/+2
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Add BSD-style copyright headersbrian2001-06-041-0/+25
| | | | Approved by: Charles Mott <cmott@scientech.com>
* mdoc(7) police: use the new feature of the An macro.ru2000-11-221-24/+14
|
* Whitespace only:sheldonh2000-07-311-4/+4
| | | | | Fix an overlong line and trailing whitespace that crept in, in the previous commit.
* Add address translation support for RTSP/RTP used by RealPlayer andarchie2000-07-261-1/+22
| | | | | | | | Quicktime streaming media applications. Add a BUGS section to the man page. Submitted by: Erik Salander <erik@whistle.com>
* - Removed PacketAliasPptp() API function.ru2000-06-201-20/+0
| | | | - SHLIB_MAJOR++.
* Added true support for PPTP aliasing. Some nice features include:ru2000-06-201-0/+2
| | | | | | | | | | | | | | | | | | | | - Multiple PPTP clients behind NAT to the same or different servers. - Single PPTP server behind NAT -- you just need to redirect TCP port 1723 to a local machine. Multiple servers behind NAT is possible but would require a simple API change. - No API changes! For more information on how this works see comments at the start of the alias_pptp.c. PacketAliasPptp() is no longer necessary and will be removed soon. Submitted by: Erik Salander <erik@whistle.com> Reviewed by: ru Rewritten by: ru Reviewed by: Erik Salander <erik@whistle.com>
* Revert the default behaviour for incoming connections sobrian2000-05-111-2/+2
| | | | | | | | that they (once again) go to the target machine rather than the alias address. PR: 18354 Submitted by: ru
* Replace PacketAliasRedirectPptp() (which had nothing specificru2000-04-281-29/+10
| | | | | | | to PPTP) with more generic PacketAliasRedirectProto(). Major number is not bumped because it is believed that noone has started using PacketAliasRedirectPptp() yet.
* Spell PacketAliasRedirectAddr() correctly.ru2000-04-271-1/+1
|
* Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).ru2000-04-271-0/+60
| | | | | | LSNAT links are first created by either PacketAliasRedirectPort() or PacketAliasRedirectAddress() and then set up by one or more calls to PacketAliasAddServer().
* Add support for multiple PPTP sessions:ru2000-04-181-10/+75
| | | | | | | - new API function: PacketAliasRedirectPptp() - new mode bit: PKT_ALIAS_DENY_PPTP Please see manual page for details.
* A complete reformatting of manual page.ru2000-04-131-724/+686
|
* Correct Charles Mott's email addressbrian2000-04-021-1/+1
| | | | Requested by: Charles Mott <cmott@scientech.com>
* Allow PacketAliasSetTarget() to be passed the following:brian2000-03-311-1/+8
| | | | | | | | | | INADDR_NONE: Incoming packets go to the alias address (the default) INADDR_ANY: Incoming packets are not NAT'd (direct access to the internal network from outside) anything else: Incoming packets go to the specified address Change a few inaddr::s_addr == 0 to inaddr::s_addr == INADDR_ANY while I'm there.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* -it do, among other things, clear out anyalfred2000-02-281-1/+1
| | | | | | +it does, amongst other things, clear out any The old sentance didn't seem to make sense.
* Mention what PKT_ALIAS_PROXY_ONLY does.brian2000-02-021-1/+6
| | | | Prompted by: archie
* Fix several typos.archie1999-12-091-17/+17
| | | | Submitted by: Erik Salander <erik@whistle.com>
OpenPOWER on IntegriCloud