LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2014, 12:37 PM   #1
cesarbergara
Member
 
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92

Rep: Reputation: Disabled
Why kde boot slow because /etc/network/interfaces denied user internet conection?


Hi. I have modified /etc/network/interfaces on Debian 5.0.8 for denied internet access to an user.
In the machine i have some users for navigate (user for mail, other for videos, other for facebook, etc, and other for data and antivirus on the HD).
When start users (with access to internet), all of them boot quickly. But when start kde for internal user (with internet access denied by /etc/networking/interfaces), it boot really slow. It take about 5 minutes to boot completely.

--------------------------------------------------------------
This is /etc/networking/interfaces archive:


# The secondary network interface
auto eth0
iface eth0 inet dhcp
pre-up iptables -A OUTPUT -p tcp -m owner --uid-owner user1 -j DROP
pre-up iptables -A OUTPUT -p tcp -m owner --uid-owner user2 -j DROP
--------------------------------------------------------------

Are there any way to configure kde to skip look for internet conections? I think there are any program looking for websites during booting, and can't find it to configure (and/or how to do that).

Thanks a lot.
 
Old 10-05-2014, 06:34 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
How are you 'denying' them access? Maybe in that conf file lies the answer.

Maybe a static address would speed things up (dhcp would not be called then).
 
Old 10-05-2014, 06:53 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You should also drop UDP packets...

It is entirely possible to setup a UDP client that works just like a TCP connection, and if they put in a bit of effort, I think they could even forward loopback connections to a remote host via UDP, with the remote host providing the conversion from UDP back to TCP for standard access (though a bit more anonymous).
 
Old 10-05-2014, 06:54 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You should also drop UDP packets...

It is entirely possible to setup a UDP client that works just like a TCP connection, and if they put in a bit of effort, I think they could even forward loopback connections to a remote host via UDP, with the remote host providing the conversion from UDP back to TCP for standard access (though a bit more anonymous).

BTW, it may not have anything to do with KDE.

Remember, the bash shell also makes network connections...
 
Old 10-11-2014, 12:16 PM   #5
cesarbergara
Member
 
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92

Original Poster
Rep: Reputation: Disabled
Hi. Thanks for your message.
But i dont understand. I have no idea about tcp or udp.
Have you an easy web or manual about? I did like to configure and solve my problem.
Have you a nice day.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't open etc/network/interfaces : permission denied or something? arjukjan84 Linux - Newbie 11 11-13-2014 06:10 PM
Access to /etc/network/interfaces denied jbis2k Linux - Newbie 3 02-24-2013 07:21 PM
Allow 'user' to control network interfaces ? orbit Slackware 4 04-29-2008 08:25 AM
Very Slow internet conection with NIC and Netgear Router Draylath Linux - Networking 1 02-15-2006 09:48 AM
very slow internet conection w/ kppp matt_w_lambert Linux - Software 8 08-31-2003 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration