ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "georg l k." <altlinux@og.brother-ttc.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] iptables, ulog-acctd как писать информацию в разные файлы
Date: Tue, 14 Nov 2006 15:13:18 +0300
Message-ID: <4559B2DE.4020408@og.brother-ttc.ru> (raw)

Простите за тупой вопрос...
А как это сделать?
auth.c этот файл где искать?
в системе или надо в пакете исправлять а потом переставлять ppp
я не очень в linux, может кому вопрос совсем "детским" покажется, но 
факт есть факт...

> Вот так вот прпатчьте pppd:
> 
> --- ppp-2.4.2_/pppd/auth.c      2006-08-23 23:28:38 +0400
> +++ ppp-2.4.2/pppd/auth.c       2006-08-24 00:05:17 +0400
> @@ -2430,7 +2430,8 @@
>    argv[3] = user_name;
>    argv[4] = devnam;
>    argv[5] = strspeed;
> -    argv[6] = NULL;
> +    argv[6] = ipparam;
> +    argv[7] = NULL;
> 
>    auth_script_pid = run_program(script, argv, 0, auth_script_done, NULL);
> }
> 
> (патч мне несколько месяцев назад прислал Александр Новосёлов)
> Повесил https://bugzilla.altlinux.org/show_bug.cgi?id=10270



                 reply	other threads:[~2006-11-14 12:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4559B2DE.4020408@og.brother-ttc.ru \
    --to=altlinux@og.brother-ttc.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git