search for: process_input

Displaying 20 results from an estimated 40 matches for "process_input".

2004 Apr 23
1
openssh code
Hi, How do the communication between sshd and program happens when compat20 is enabled? There are two function process_buffered_input_packets and process_input, but in both cases if compat20 is enabled its just buffering the packets, but how do sshd will the command to program for execution? Regards prasad
2003 Sep 06
20
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615 ------- Additional Comments From dtucker at zip.com.au 2003-09-06 12:51 ------- Created an attachment (id=387) --> (http://bugzilla.mindrot.org/attachment.cgi?id=387&action=view) Move libgen test after dirname test Looked at this again, I think the reason it's not working is libgen has already been detected before the dirname test,
2007 Apr 17
1
where is the point the client command is executed?
Hi, I met some difficult in reading ssh/sshd souce code, I want to find out how the command that user input in client is executed on the server. I only found out the process_input function put the command in a buffer,but can not find how it is executed. Could you please help me on that? Thank you very much. B Rgds, Kexin
2013 Jul 10
1
connection_in and connection_out
Hi, I'm a newbie to openssh and was trying to read the source code recently. Could anyone tell me why in sshd the connection_in and connection_out are the same(seems to be integer 3 in my machine). connection_in is used in process_input(readset), and connection_out is used in process_output(writeset); But how does it work if it tries to read and write from the same file descriptor? /Bob
2007 Jan 16
11
[Bug 52] ssh hangs on exit
http://bugzilla.mindrot.org/show_bug.cgi?id=52 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1274 nThis| | ------- You are receiving this mail because: ------- You are the assignee for
2001 Jul 09
1
sshd problem on Solaris 7: Control-C hangs shell
...rompt, the shell hangs. (But, if I for instance run "sleep 10" (during which time the pty is in cooked mode) and press Control-C, the sleep command is interrupted quite normally, and the bash prompt returns.) Adding some debugging printfs tell me that the read(fdout,...) in serverloop.c:process_input() returns zero when I type the Control-C?! Some Solaris quirk in pty behaviour related to interrupts in raw mode? Following this read returning 0, sshd thinks it got an EOF, closes its side of the pty, but the shell still thinks everything is OK, but of course can't get any input. So, my next...
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...lf): + return "Currently: %s" % self.get_libvirt().get_url() def get_elements_for_page(self, screen, page): if page is CONNECTION_LIST_PAGE: return self.get_connection_list_page(screen) @@ -36,7 +39,6 @@ class ChangeHostConfigScreen(HostListConfigScreen): def process_input(self, page): if page is CONNECTION_LIST_PAGE: logging.info("Changing libvirt connection to %s" % self.get_selected_connection()) - libvirtworker.set_default_url(self.get_selected_connection()) self.get_libvirt().open_connection(self.get_sele...
2009 Dec 08
2
Rebased patches, fixed a rebasing problem...
The previous patch set had an error and one development branch's changes showed up twice, and two different change sets. So it was missing the bulk of the configuration work. This patch set fixes that.
2009 Oct 26
0
[PATCH node] Users can now work with remote libvirt hosts.
...ors): + if page is DETAILS_PAGE: + if len(self.__hostname.value()) > 0: + return True + else: + errors.append("You must enter a remote hostname.") + elif page is CONFIRM_PAGE: return True + return False + + def process_input(self, page): + if page is CONFIRM_PAGE: + hv = self.__hypervisor.getSelection() + conn = self.__connection.getSelection() + hostname = self.__hostname.value() + + if hv is HYPERVISOR_XEN: + if conn is CONNECTION_LOCAL:...
2009 Dec 03
1
Rebased against next...
This set of patches have been rebased since the originals have grown stale.
2009 Nov 11
1
Combined patch set for migration...
This patch set includes both the host configuration patch and the node migration patch which depends on it. And the latter has a fix for missing files.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Oct 28
1
[PATCH] Users can now work with remote libvirt hosts.
...ors): + if page is DETAILS_PAGE: + if len(self.__hostname.value()) > 0: + return True + else: + errors.append("You must enter a remote hostname.") + elif page is CONFIRM_PAGE: return True + return False + + def process_input(self, page): + if page is CONFIRM_PAGE: + hv = self.__hypervisor.getSelection() + conn = self.__connection.getSelection() + hostname = self.__hostname.value() + + if hv is HYPERVISOR_XEN: + if conn is CONNECTION_LOCAL:...
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2000 Aug 08
0
v2 connection logging vs v1
...t. Tracing through the code, it appears that instead of breaking in serverloop.c:server_loop2() at: if (had_channel && !channel_still_open()) { debug("!channel_still_open."); break; } and returning to sshd.c:main() and logging the nice message, it continues to process_input(), gets a len==0 from the read(), and does: verbose("Connection closed by remote host."); fatal_cleanup(); Comparing the v1 server_loop and the v2 server_loop2, the v1 loop appears to have significantly more checks for breaking the loop: if (((fdout_eof && fderr_eof) |...
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...path.value()) + result = False + else: + errors.append("you must enter a source path.") + result = False + return result + elif page is CONFIRM_PAGE: return True + return False + + def process_input(self, page): + if page is POOL_NAME_PAGE: + self.__config.set_name(self.__name.value()) + self.__config.set_type(self.__type.getSelection()) + #self._reset_flags(self.__type.current()) + elif page is POOL_DETAILS_PAGE: + if self.__config.nee...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that, it refactors the domain administration pieces to now properly use storage pools and volumes when defining a new VM.
2000 May 15
1
AIX authenticate patches
...CHLD, sigchld_handler2); errno = save_errno; } @@ -640,6 +639,7 @@ while ((pid = waitpid(-1, &status, WNOHANG)) > 0) session_close_by_pid(pid, status); child_terminated = 0; + signal(SIGCHLD, sigchld_handler2); } channel_after_select(&readset, &writeset); process_input(&readset); --- session.c.orig Wed May 10 10:23:59 2000 +++ session.c Wed May 10 16:16:06 2000 @@ -27,6 +27,13 @@ #include "ssh2.h" #include "auth.h" +#ifndef WCOREFLG +#define WCOREFLG 0200 +#endif +#ifndef WCOREDUMP +#define WCOREDUMP(stat) ((stat)&WCOREFLG) +#end...
2003 Sep 17
3
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
http://bugzilla.mindrot.org/show_bug.cgi?id=651 Summary: SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only) Product: Portable OpenSSH Version: 3.7p1 Platform: All OS/Version: other Status: NEW Severity: major Priority: P2 Component: sshd
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...createdomain.py index b73a09e..6f10b44 100755 --- a/nodeadmin/createdomain.py +++ b/nodeadmin/createdomain.py @@ -55,9 +55,6 @@ class CreateDomainConfigScreen(DomainListConfigScreen): else: errors.append("You must first select a domain to create.") - def process_input(self, page): - print "foo" - def get_create_domain_page(self, screen): grid = Grid(1, 1) grid.setField(Label("%s was successfully created." % self.get_selected_domain()), 0, 0) diff --git a/nodeadmin/createnetwork.py b/nodeadmin/createnetwork.py new...