search for: listen_address

Displaying 20 results from an estimated 24 matches for "listen_address".

2003 Feb 22
1
Patch for a port forwarding problem in serverloop.c
...success, and calling fatal() to indicate that the port forwarding failed. Here is the patch: --- serverloop.c.orig Sat Feb 22 11:35:39 2003 +++ serverloop.c Sat Feb 22 11:19:29 2003 @@ -989,6 +989,9 @@ /* Start listening on the port */ success = channel_setup_remote_fwd_listener( listen_address, listen_port, options.gateway_ports); + if( !success ){ + fatal("Cannot bind to the remote port"); + } } xfree(listen_address); } And, here is the commandline that I used to initiate the connection: while :; do ssh -N -R 5000:localhost:5000 use...
2004 Aug 05
1
LocalForward and RemoteForward bind patch
..._listener(SSH_CHANNEL_PORT_LISTENER, - NULL, listen_port, host_to_connect, port_to_connect, gateway_ports); + listen_host, listen_port, host_to_connect, port_to_connect, gateway_ports); } /* protocol v2 remote port fwd, used by sshd */ int channel_setup_remote_fwd_listener(const char *listen_address, - u_short listen_port, int gateway_ports) + u_short listen_port, const char *bind_address, int gateway_ports) { return channel_setup_fwd_listener(SSH_CHANNEL_RPORT_LISTENER, - listen_address, listen_port, NULL, 0, gateway_ports); + bind_address, listen_port, listen_address, 0, gat...
2009 Nov 15
3
Database postgresql not able to start
...refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? THIS IS MY /VAR/LIB/PGSQL/DATA/POSTGRESQL.CONF # CONNECTIONS AND AUTHENTICATION #--------------------------------------------------------------------------- # - Connection Settings - #listen_addresses = 'localhost' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost', '*' = all port = 5432 max_connections = 100 # note: increasing max_connections costs ~400 bytes of shared memory per # connection slot, plus lock space (see...
2009 Feb 17
2
Idea: reverse socks proxy
Hi, Just a usecase that I'm sure has been covered before but just in case its not an openssh solution would be very helpful. I was trying to install software on a server that was firewalled so no outbound http connections would work. I was also tunnelling via another server. Outbound ssh connections also were a convenient option. What would have been nice would be a remote version of
2018 Sep 13
1
postgresql Service Blind
Hi folks. postgresql fresh install, roles, users, databases, all done. I can log in after I SSH to the box. I entered my user (myself) in pg_hba.conf: host all rich 192.168.1.4 255.255.255.255 md5 When I nmap the CentOS box, I can?t see that port open. I?ve turned off SELinux, so I?m not sure why I can?t see the open port 5432. What am I missing? It has to be something
2014 Oct 02
5
[PATCH v3 0/4] launch: libvirt: Use qemu-bridge-helper to implement a
v3: - Various changes to dhclient/dhcpcd as discussed on the mailing list.
2001 Feb 10
3
Protocol 2 remote forwarding patch
...nt has received + * SSH2_MSG_GLOBAL_REQUEST type "forwarded-tcpip". + * + * returns new channel if OK or NULL for failure. + */ +Channel* +client_forwarded_tcpip_request(const char *request_type, int rchan, + int rwindow, int rmaxpack) +{ + Channel* c = NULL; + int sock; + char *listen_address; /* Remote (server) address that is listening + for the connection */ + int listen_port; + char* originator_address; /* Address of the client connecting to + listen_address */ + int originator_port; /* Client port */ + + unsigned int client_len, connected_len; + +...
2003 Jan 29
0
[PATCH] features for restricted shell environments
...originator, originator_port, target, target_port); + log("TCP forwarding connection to %s port %d", target, target_port); /* XXX check permission */ sock = channel_connect_to(target, target_port); @@ -973,12 +974,10 @@ fatal("server_input_global_request: no user"); listen_address = packet_get_string(NULL); /* XXX currently ignored */ listen_port = (u_short)packet_get_int(); - debug("server_input_global_request: tcpip-forward listen %s port %d", - listen_address, listen_port); /* check permissions */ - if (!options.allow_tcp_forwarding || - no_p...
2014 Oct 02
6
[PATCH v2 0/4] launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012).
v2: - Make virbr0 configurable. - Fix the tests.
2000 Aug 23
1
Protocol 2 remote forwarding patch
...received + * SSH2_MSG_GLOBAL_REQUEST type "forwarded-tcpip". + * + * returns new channel if OK or NULL for failure. + */ +Channel* +client_forwarded_tcpip_request(const char *request_type, int rchan, + int rwindow, int rmaxpack) +{ + Channel* c = NULL; + int sock; + char *listen_address; /* Remote (server) address that is listening + for the connection */ + int listen_port; + char* originator_address; /* Address of the client connecting to + listen_address */ + int originator_port; /* Client port */ + + unsigned int client_len, conn...
2002 Jan 05
2
new feature w/ patch
...s, /*remote_fwd*/ 0); } @@ -2080,7 +2080,7 @@ int success, sock, on = 1, type; struct addrinfo hints, *ai, *aitop; char ntop[NI_MAXHOST], strport[NI_MAXSERV]; - const char *host; + const char *host, *listen_host = NULL; struct linger linger; success = 0; @@ -2089,6 +2089,7 @@ host = listen_address; type = SSH_CHANNEL_RPORT_LISTENER; } else { + listen_host = listen_address; host = host_to_connect; type = SSH_CHANNEL_PORT_LISTENER; } @@ -2108,7 +2109,7 @@ hints.ai_flags = gateway_ports ? AI_PASSIVE : 0; hints.ai_socktype = SOCK_STREAM; snprintf(strport, sizeof strport, &quo...
2011 Apr 04
1
Postgresql uses sockets - but I'd like to use TCP/IP
...5.5 - Postgresql 8.4 Installed - startet try to createuser -d- -a -p username get message could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.0"? postrgesql.conf has line listen_addresses = '192.168.0.2' Why sockets (in /tmp are s.PGSQL.5431 ) What goes wrong? I have an other installation on other server with same conf. Files. There works all as I expect (no socket). Any hints welcome Thx Timothy
2013 Nov 22
0
Puppet Enterprise 3.1 Install Issues
...etails: http://www.ruby-lang.org/bugreport.html /etc/puppet/utilities: line 735: 12081 Aborted /opt/puppet/bin/puppet apply --no-report --modulepath /opt/puppet/share/puppet/modules -v --exec "class { pe_postgresql: version => ''9.2'', config_hash => { listen_addresses => ''localhost'', ip_mask_allow_all_users => ''0.0.0.0/0'' } }" However, the puppet master started automatically and it is running. But I get errors when verifying my license. I executed "puppet license" and got the following error: /opt/p...
2005 Apr 26
0
Problem with VSFTPD on I/F aliased IP
...ts:674 errors:0 dropped:0 overruns:0 frame:0 TX packets:674 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:506130 (494.2 KiB) TX bytes:506130 (494.2 KiB) I can start vsftpd with the default vsftpd.conf. However, if I add just one line: listen_address=aaa.bbb.ccc.184 Then I get this behaviour. /var/log/messages: Apr 26 09:18:19 inet06 vsftpd: vsftpd vsftpd succeeded but # service vsftpd status vsftpd dead but subsys locked There are no further log messages and I cannot see where else to look for clues as to what is going on. Can anyone hel...
2005 May 11
5
[Bug 1037] Man page for -L and -R should mention -g
http://bugzilla.mindrot.org/show_bug.cgi?id=1037 Summary: Man page for -L and -R should mention -g Product: Portable OpenSSH Version: 4.0p1 Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P5 Component: Documentation AssignedTo: bitbucket at mindrot.org ReportedBy:
2004 Jan 19
3
Security suggestion concering SSH and port forwarding.
Hi, sorry if it is the wrong approuch to suggest improvments to OpenSSH, but here comes my suggestion: I recently stumbled upon the scponly shell which in it's chroot:ed form is an ideal solution when you want to share some files with people you trust more or less. The problem is, if you use the scponlyc as shell, port forwarding is still allowed. This can of course be dissallowed in
2013 Dec 19
3
[Bug 2189] New: Client fails to consider hostname when matching rfwd channel opens
...a client on the same server-side port (by setting > GatewayPorts=clientspecified in the server config and binding to > different addresses), the client always matches on the first listener > with that port, as seen in the following code snippet: > > Channel * > channel_connect_by_listen_address(u_short listen_port, char *ctype, char *rname) > { > int i; > > for (i = 0; i < num_permitted_opens; i++) { > if (permitted_opens[i].host_to_connect != NULL && > port_match(permitted_opens[i].listen_port, listen_port))...
2005 Nov 18
3
PostgreSQL 8.1 on CentOS4
I have discovered that the default init script distributed with pgsql v8.1 sets the listening port to 5432 but does not enable tcp/ip connections. One must add the -i switch to the invocation line in the script. I am not sure if this is an oversight or whether there is another way to tell postmaster to start with tcp/ip listening enabled that I am unaware of. However, I thought that this
2015 Mar 15
4
centos 7 database access only possible trough localhost and not IP
Hi there and hello to everybody, I am all new to centos but I have good experience working with ubuntu and suse. We are moving a an elderly SuSe box to a virtual machine running centos 7. Now I experience the following problem. I can only access postgres using localhost as host. If I use the IP address (even 127.0.0.1). I found a similar problem when accessing the
2013 Sep 06
2
puppetlabs/puppetdb module when using passenger for master
...restart httpd instead? Should I just link /etc/init.d/puppetmaster to /etc/init.d/httpd? That seems like an obvious solution, but I''m not sure if it''s "right"..... Thanks! # cat manifests/master-config.pp include epel class { ''puppetdb'': listen_address => ''puppet.example.com'', open_listen_port => true, } class { ''puppetdb::master::config'': } selboolean { "httpd_can_network_connect": persistent => true, value => on, } # puppet apply master-config.pp Warning: Config...