Displaying 2 results from an estimated 2 matches for "from_ip".
Did you mean:
from_ap
2011 Mar 09
6
SIPAddHeader not working
Hello list,
I notice that the dialplan method SIPAddHeader is not working :
in dialplan :
/exten => s,n,SIPAddHeader(Privacy: id)/
in SIP invite no trace of this header :
/INVITE sip:0473 at sip.domain.be SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5063;branch=z9hG4bK-5b2b1b97
From: "VC" <sip:voip2 at sip.domain.be>;tag=729476652f511c67o2
To: <sip:0473 at sip.domain.be>
2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...t;pw_expire)
return 0;
}
+#endif /* !__FreeBSD__ */
/* We found no reason not to let this user try to log on... */
return 1;
}
@@ -1268,6 +1269,12 @@
struct passwd *pw, pwcopy;
int plen, ulen;
char *user;
+#ifdef LOGIN_CAP
+ login_cap_t *lc;
+ char *hosts;
+ const char *from_host, *from_ip;
+ int denied;
+#endif /* LOGIN_CAP */
/* Get the name of the user that we wish to log in as. */
packet_read_expect(&plen, SSH_CMSG_USER);
@@ -1338,6 +1345,38 @@
packet_disconnect("ROOT LOGIN REFUSED FROM %.200s",
get_canonical_hostname());
}
+
+#ifdef LOGIN_CAP
+...