Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Webscrab proxy creates loads of TCP6 connections despite IPV6 being down Post 303043503 by Neo on Wednesday 29th of January 2020 10:42:49 PM
Old 01-29-2020
Also,

If you do not want your proxy server to listen on the kernel loopback interface (127.0.0.1), you can easily fix this by configuring your proxy server to only listen on an IP address.

Just like mysql and other daemon processes, you can configure it to listen on 127.0.0.1 or not.

For example, many people configure mysql to only listen on 127.0.0.1 because they do not want any external connections to mysql; and 127.0.0.1 does not permit external connections.

If you don't want your proxy server to listen on 127.0.0.1, then you simply configure your proxy server to not listen on 127.0.0.1.

From the linux code base:

Code:
/* The loopback device is special if any other network devices
 * is present in a network namespace the loopback device must
 * be present. Since we now dynamically allocate and free the
 * loopback device ensure this invariant is maintained by
 * keeping the loopback device as the first device on the
 * list of network devices.  Ensuring the loopback devices
 * is the first device that appears and the last network device
 * that disappears.
*/

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SCO CPU Loads

I've been asked to get a breakdown of what is consuming CPU time on our server over an extended period ? Have been asked about the CPU load on our server and I need to be able to go back to my boss and indicate what % is consumed by what process (or group of processes). I.e. 15% is database... (2 Replies)
Discussion started by: Cameron
2 Replies

2. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

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

3. UNIX for Dummies Questions & Answers

Adding loads of columns

Hi All, I've got file1 like this: aaa bbb ccc ddd eee fff ggg hhh kkk ppp mmm nnn and file 2 like this: aaa qqq www ddd fff ggg ggg sss zzz ppp vvv yyy and file 3 like this: aaa ggg ppp I need to match the first column of file3 and file1, then add the rest of the file 1 to... (3 Replies)
Discussion started by: zajtat
3 Replies

4. UNIX for Advanced & Expert Users

How OS loads process in memory to execute ?

Hi, I was Googling to get info "How OS loads process into its memory to execute?" i mean when i execute ./<exename> , How OS exectes it? It will be better if i tell my intention, In my $LOGNAME saveral process are running, among all of these two process are my target process. Basically I... (1 Reply)
Discussion started by: ashokd001
1 Replies

5. Debian

Can't see anything after debian loads

Hey, I recently installed Debian on a desktop PC but when it starts I can't see anything (the monitor say no signal). I don't have any idea or even a way to figure out what going on here since I can't see anything at all not even the console. Is there something that I missed in the install, or is... (22 Replies)
Discussion started by: neur0n
22 Replies

6. UNIX for Dummies Questions & Answers

launchctl loads app with icon (OS X)

We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Discussion started by: nextyoyoma
4 Replies

7. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies

8. AIX

Su loads .profile with argument

Hello, Is there any way to su another user and loading its profile with an argument. For example I am user1 and I want to start user2 user2 .profile is interactive asking user to pass some values I want to automate a process by switching user and if I pass an argument the interactive... (4 Replies)
Discussion started by: geodimo
4 Replies

9. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
SYSCTL(8)						       System Administration							 SYSCTL(8)

NAME
sysctl - configure kernel parameters at runtime SYNOPSIS
sysctl [options] [variable[=value]] [...] sysctl -p [file or regexp] [...] DESCRIPTION
sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl support in Linux. You can use sysctl to both read and write sysctl data. PARAMETERS
variable The name of a key to read from. An example is kernel.ostype. The '/' separator is also accepted in place of a '.'. variable=value To set a key, use the form variable=value where variable is the key and value is the value to set it to. If the value contains quotes or characters which are parsed by the shell, you may need to enclose the value in double quotes. This requires the -w param- eter to use. -n, --values Use this option to disable printing of the key name when printing values. -e, --ignore Use this option to ignore errors about unknown keys. -N, --names Use this option to only print the names. It may be useful with shells that have programmable completion. -q, --quiet Use this option to not display the values set to stdout. -w, --write Use this option when you want to change a sysctl setting. -p[FILE], --load[=FILE] Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying - as filename means reading data from standard input. Using this option will mean arguments to sysctl are files, which are read in the order they are specified. The file argument may be specified as regular expression. -a, --all Display all values currently available. --deprecated Include deprecated parameters to --all values listing. -b, --binary Print value without new line. --system Load settings from all system configuration files. /run/sysctl.d/*.conf /etc/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf /etc/sysctl.conf -r, --pattern pattern Only apply settings that match pattern. The pattern uses extended regular expression syntax. -A Alias of -a -d Alias of -h -f Alias of -p -X Alias of -a -o Does nothing, exists for BSD compatibility. -x Does nothing, exists for BSD compatibility. -h, --help Display help text and exit. -V, --version Display version information and exit. EXAMPLES
/sbin/sysctl -a /sbin/sysctl -n kernel.hostname /sbin/sysctl -w kernel.domainname="example.com" /sbin/sysctl -p/etc/sysctl.conf /sbin/sysctl -a --pattern forward /sbin/sysctl -a --pattern forward$ /sbin/sysctl -a --pattern 'net.ipv4.conf.(eth|wlan)0.arp' /sbin/sysctl --system --pattern '^net.ipv6' DEPRECATED PARAMETERS
The base_reachable_time and retrans_time are deprecated. The sysctl command does not allow changing values of these parameters. Users who insist to use deprecated kernel interfaces should push values to /proc file system by other means. For example: echo 256 > /proc/sys/net/ipv6/neigh/eth0/base_reachable_time FILES
/proc/sys /etc/sysctl.conf SEE ALSO
sysctl.conf(5) regex(7) AUTHOR
George Staikos <staikos@0wned.org> REPORTING BUGS
Please send bug reports to <procps@freelists.org> procps-ng Jan 2012 SYSCTL(8)
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy