diff options
author | Kozlov Dmitry <dima@server> | 2010-10-06 16:55:05 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-10-06 16:55:05 +0400 |
commit | 45b3c9c5bdd896f51f47e29069e3c030ddb17d51 (patch) | |
tree | cbec5824ffb2eee20b98ad9892a357304384ff01 /pptpd-1.3.3/README.logwtmp | |
parent | ba3db9f17477ea4b49c266c5cb50f63f3b074db2 (diff) | |
parent | 01ccd98495c9da1e79f7867bf52416b23f20200d (diff) | |
download | accel-ppp-45b3c9c5bdd896f51f47e29069e3c030ddb17d51.tar.gz accel-ppp-45b3c9c5bdd896f51f47e29069e3c030ddb17d51.zip |
merged branch accel-pptpd
Diffstat (limited to 'pptpd-1.3.3/README.logwtmp')
-rw-r--r-- | pptpd-1.3.3/README.logwtmp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pptpd-1.3.3/README.logwtmp b/pptpd-1.3.3/README.logwtmp deleted file mode 100644 index efc31833..00000000 --- a/pptpd-1.3.3/README.logwtmp +++ /dev/null @@ -1,36 +0,0 @@ -$Id: README.logwtmp,v 1.1 2004/04/28 11:36:07 quozl Exp $ -pptpd 1.2.0 logwtmp feature, by James Cameron, 28th April 2004. - -The --logwtmp feature uses the standard wtmp feature to track users -who have connections to the server. It works as follows. - -When a connection occurs, pptpd launches pppd with two additional -options. The first option directs pppd to load the pptpd-logwtmp.so -plugin. The second option is the IP address of the client. - - "plugin /usr/lib/pptpd/pptpd-logwtmp.so" - "pptpd-original-ip 10.0.0.1" - -The plugin defines the pptpd-original-ip option so that pppd will -accept it. - -If the plugin fails to load, pppd will fail in the usual manner. Such -a failure will usually be related to a missing file in /usr/lib/pptpd. - -The plugin asks pppd to notify it when IP comes up or goes down. - -When IP comes up, the plugin's ip_up() function executes, calling -logwtmp() to mark the user as logged in. Once this has happened, -commands like "who" will show the user. The tty will be set to the -PPP interface name. - -When IP goes down, the plugin's ip_down() function executes, removing -the entry from wtmp. Note that a "kill -9" on the pppd will result in -a user appearing to remain logged in. Don't use "kill -9", use an -ordinary kill. - -If pppd debug mode is enabled, the plugin announces it's version when -loaded, and reports the parameters it is handing over to the logwtmp -call. See the plugins/pptpd-logwtmp.c source. - --- |