search for: from_host

Displaying 3 results from an estimated 3 matches for "from_host".

2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...>= pw->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 LO...
2013 Mar 03
0
Krad Pipe
...ecast / KR streams. Its the simplest minimal program possible at 300 lines~, and there is no dependencies. Its an extraction from Krad Transponder, I pulled this out into a little command line program as I thought it might be immediately useful. https://gist.github.com/oneman/5074107 krad_pipe [from_host] [from_port] [from_mount] [to_host] [to_port] [to_mount] [to_password] *If either side gets disconnected the program exits, so for a continual relay you can wrap in your favorite scripting lauguage:* * * *hammer_time = 10* *while hammer_time* * krad_pipe [args]* * sleep hammer_time* *end* * * *Che...
2013 Mar 03
0
Krad Pipe
...ecast / KR streams. Its the simplest minimal program possible at 300 lines~, and there is no dependencies. Its an extraction from Krad Transponder, I pulled this out into a little command line program as I thought it might be immediately useful. https://gist.github.com/oneman/5074107 krad_pipe [from_host] [from_port] [from_mount] [to_host] [to_port] [to_mount] [to_password] *If either side gets disconnected the program exits, so for a continual relay you can wrap in your favorite scripting lauguage:* * * *hammer_time = 10* *while hammer_time* * krad_pipe [args]* * sleep hammer_time* *end* * * *Che...