Re: dialup solution (as seconary connection / iptables )



On Tue, 25 Nov 2008, in the Usenet newsgroup comp.os.linux.networking, in
article <6p1eivF5orokU1@xxxxxxxxxxxxxxxxxx>, Felix Tiede wrote:

sammy wrote:

1. Where and how do I alter the source IP to my ppp0 internet IP.
Given I already have:

Have a look at /etc/ppp/ip-up.d and /etc/ppp/ip-down.d - you can put
scripts there which are executed on dialing a connection and on hang
up.

[compton ~]$ zgrep "up\.d" /net/thurber/sources/ppp-2.4.4.tar.gz
[compton ~]$

"/etc/ppp/ip-up.d" and "/etc/ppp/ip-down.d" are distribution specific
directories (mainly Debian and clones) and are not found in all
installations. See the pppd(8) man page, and look at the section
called "SCRIPTS" - down around line 1780.

You'd need to figure out if the correct connection has been dialed or
hanged up and execute all you want.

See the description of "/etc/ppp/ip-up" in the section noted above, and
notice the parameters passed to the script - specifically $4 and $5.
"ip-up" and "ip-down" have been used for this function for 14+ years.

Old guy
.



Relevant Pages

  • Re: Problem with IIS 6.0 serving .NET applications
    ... It's working now because you need to have "scripts and executable" ... > to "None" and I'd get the content of the exe shown in the browser, ... >> Did you set Application & Scripts execute permissions? ... >>> execute permission on that Virutal Directory, ...
    (microsoft.public.inetserver.iis.security)
  • Re: HTTP 403.1 Forbidden: Execute Access Forbidden
    ... This sounds like an Visual InterDev behavior/requirement -- I really have no ... execute ASP script, you MUST have the "Scripts" execute permission [so ... scripts and executables is not necessary to run the default.asp page]). ... IIS is merely doing what you configured. ...
    (microsoft.public.inetserver.iis)
  • Re: That stupid cant execute error is driving me insane
    ... This error comes up when the vdir does not have "Scripts" or "Scripts and ... Executables" Execute Permission and you try to access a URL that is either ... Here is a simplistic view of how IIS does request processing: ... If the mapping is dynamic, then IIS decide whether the URL should be ...
    (microsoft.public.inetserver.iis)
  • [UNIX] cPanel mod_php suexec Taint Vulnerability
    ... Get your security news from a reliable source. ... There exists a security issue in cPanel installed systems due to how ... a user is able to execute arbitrary code ... all PHP scripts are executed as the same user ...
    (Securiteam)
  • Re: Nearly undocumented NT security feature - the solution to executable attachments?
    ... Windows NT users cannot defend from e-mail borne malware, ... KH> Instead of boring you with a lesson on Windows NT security, ... execute access, like in Unix, is distinct from read ... KH> please note that, as I said earlier, this won't stop scripts (except batch ...
    (Bugtraq)