01-29-2002
A SOCKS server and a default gateway are two different things, and may or may not be the same machine (most likely not the same). If you want to use a SOCKS or other web-proxy to access the net, setup your client (AIX) machine as you normally would -- i.e. set your default gateway as provided by your network admin. Then setup your web-browser preferences to use the proxy server IP address.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to get a Unix server on the internet (mostly for DNS requests) but this server is on a network behind a Proxy server. How can I configure my unix server that he will pass the proxy server for internet requests? (2 Replies)
Discussion started by: RSlegers
2 Replies
2. Linux
i have installed a proxy server on my linux box .
how to get the IP for that proxy .
cheers (3 Replies)
Discussion started by: ppass
3 Replies
3. Red Hat
Hi,
I want to be able to get my server to update via yum through our work proxy.
I have tried the usual method of exporting the http_proxy=http://username:password@domain.com but this does not work for me.
I opce heard about a guy who set up a proxy on his XP laptop (Don't flame me I have... (0 Replies)
Discussion started by: pobman
0 Replies
4. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
5. Cybersecurity
I may be doing this incorrectly, so if you have any suggestions, I'm open to it. So I installed a reverse proxy server on my LAN. It's not on the DMZ because it's coming from a blade running inside a virtual machine. Anyways, so I installed iptables and locked everything down from the outside... (1 Reply)
Discussion started by: sdotsen
1 Replies
6. UNIX for Advanced & Expert Users
Hello,
i have Sun one Messaging Server 6.3 Up and running, i want to route emails that are destined to a certain email address, let's say test@mydomain.com through the tcp_local channel for example, to another email, and not allowing test@mydomain.com to receive them.
So in short, i want... (0 Replies)
Discussion started by: lemonshare
0 Replies
7. IP Networking
We have two subnets, say 'domA' (192.168.0.0/24) and 'domB' (10.10.0.0/16). These subnets are connected through the router 'router01'. One server 'base01' has two network cards, configured to domA and domB subnets respectively.
Now let's consider a host host01.domA (192.168.0.5) trying to... (0 Replies)
Discussion started by: amriksk
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
i would like to enable all operations/connections to use a proxy server in a redhat server ,
witch file should i config to get this for all conections ....
Thanks (0 Replies)
Discussion started by: prpkrk
0 Replies
9. UNIX and Linux Applications
Hi Friends,
I am trying to connect to remote server via proxy server and transfer files from my server .
the proxy server is windows.
I wanted to know is that is it possible?
I am using command to connect is
/usr/local/bin/sftp -o "ProxyCommand nc proxyserver.com 8080"(E-Mail... (6 Replies)
Discussion started by: mallayanala
6 Replies
10. IP Networking
Hey there,
I am a network administrator of a student dorm. Me and my team (we do this in our spare time) have the task to upgrade and rebuild our dorm intern network. But unfortunately we don't have that much experience with server setup and ip-routing and stuff. So here is the topic I want to... (8 Replies)
Discussion started by: mrgruen
8 Replies
LEARN ABOUT CENTOS
ne_set_addrlist
NE_SESSION_PROXY(3) neon API reference NE_SESSION_PROXY(3)
NAME
ne_session_proxy, ne_session_socks_proxy, ne_session_system_proxy, ne_set_addrlist - configure proxy servers
SYNOPSIS
#include <ne_session.h>
void ne_session_proxy(ne_session *session, const char *hostname, unsigned int port);
void ne_session_system_proxy(ne_session *session, unsigned int flags);
void ne_session_socks_proxy(ne_session *session, enum ne_sock_sversion version, const char *hostname, unsigned int port,
const char *username, const char *password);
void ne_set_addrlist(ne_session *session, const ne_inet_addr **addrlist, size_t count);
DESCRIPTION
One (and no more than one) of the functions ne_session_proxy, ne_session_system_proxy, ne_session_socks_proxy, ne_set_addrlist can be used
to configure a proxy server for a given session object. If more than one function is invoked for any given session object, only the last
call has effect. If one of the functions is to be used, it must be used before the creation of any request object for the session.
HTTP proxy specification
The ne_session_proxy function configures use of an HTTP proxy server for the session, the location of which is given by the hostname and
port paramters. If the proxy requires authentication, ne_set_proxy_auth should be used.
System proxy configuration
The ne_session_system_proxy function configures the session to use any proxy servers specified by the system configuration. Support for
this function is platform-specific; if unsupported, the function has no effect.
SOCKS proxy configuration
The ne_session_socks_proxy function configures the session to use a SOCKS proxy. The version indicates which version of the SOCKS protocol
should be used. The hostname and port parameters specify the SOCKS proxy location. Note that a server with only an IPv6 address cannot be
used with SOCKS v4 or v4A. The interpretation of the other arguments depends on the version specified:
NE_SOCK_SOCKSV4 (version 4)
The username parameter must be non-NULL; the password parameter is ignored.
NE_SOCK_SOCKSV4A (version 4A)
The username parameter must be non-NULL; the password parameter is ignored.
NE_SOCK_SOCKSV5 (version 5)
The username parameter may be NULL; if it is non-NULL, the password parameter must also be non-NULL; otherwise, it is ignored..
Origin server address override
The ne_set_addrlist function forces use of an address and port the a specified list when establishing a TCP connection, ignoring the "real"
hostname and port identifying the origin server for the session (as passed to ne_session_create). The origin server's "real" hostname and
port will still be used in the Host header in HTTP requests. When a connection is required, the library will iterate through the addrlist
list, attempting to connect to the address addrlist[0] through to addrlist[count-1] in turn, until a connection can be established.
RETURN VALUES
None of the functions described here has a return value.
EXAMPLES
Create and destroy a session:
ne_session *sess;
sess = ne_session_create("http", "host.example.com", 80);
ne_session_proxy(sess, "proxy.example.com", 3128);
/* ... use sess ... */
ne_session_destroy(sess);
SEE ALSO
ne_ssl_set_verify, ne_ssl_trust_cert, ne_sock_init, ne_set_session_flag
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
Author.
COPYRIGHT
neon 0.30.0 31 July 2013 NE_SESSION_PROXY(3)