Bug 75221 - CONFIG_PROC_SYSCTL is required for networking
Summary: CONFIG_PROC_SYSCTL is required for networking
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-01 10:17 UTC by Stefan de Konink
Modified: 2016-02-15 20:37 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.14.2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Move local port range init (2.46 KB, patch)
2014-05-01 20:25 UTC, Francois Romieu
Details | Diff

Description Stefan de Konink 2014-05-01 10:17:24 UTC
I am in the proces of building an embedded kernel which I wanted to limit in both functionality and memory. For this reason I disabled CONFIG_PROC_SYSCTL. I have figured out the hard way that this functionality implements the successful randomisation of source ports, it might be responsible for the initialisation of net.ipv4.ip_local_port_range.

Effectively, booting a kernel with ip=dhcp works. Ping-pong (ICMP) to and from an address works. DNS queries (UDP/53) don't because the source port remains 0, a connection to a typical webserver also seems to result in a no reply situation.
Comment 1 Francois Romieu 2014-05-01 20:25:24 UTC
Created attachment 134641 [details]
Move local port range init
Comment 2 Francois Romieu 2014-05-04 21:26:00 UTC
Stephan, does it work for you ?

-- 
Ueimor
Comment 3 Stefan de Konink 2014-05-04 21:40:32 UTC
Tested-by: Stefan de Konink <stefan@konink.de>

I have just tested the patch. Without /proc/sys present, networking works now. Thanks!

Note You need to log in before you can comment on or make changes to this bug.