Kernelnewbies Digest, Vol 48, Issue 10
Hi ,
How to get access to min kenel git as i need to add some patches for reviews.
Bhagaban
Quoted 268 lines · On Sat, Nov 8, 2014 at 10:30 PM, <[email protected]>…
Send Kernelnewbies mailing list submissions to
kernelnewbies at kernelnewbies.orgTo subscribe or unsubscribe via the World Wide Web, visit
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
kernelnewbies-request at kernelnewbies.orgYou can reach the person managing the list at
kernelnewbies-owner at kernelnewbies.orgWhen replying, please edit your Subject line so it is more specific than "Re: Contents of Kernelnewbies digest..."
Today's Topics:
1. Re: Eudyptula challenge status (Drew Fustini)
2. RE: lots of connections inSYN_RECVstate (Puneet Agarwal)
3. Re: lots of connections inSYN_RECVstate (Valdis.Kletnieks at vt.edu)
4. Re: lots of connections inSYN_RECVstate (Dave Tian)
5. RE: lots of connections inSYN_RECVstate (Puneet Agarwal)----------------------------------------------------------------------
Message: 1
Date: Fri, 7 Nov 2014 11:04:28 -0600
From: Drew Fustini <[email protected]>
Subject: Re: Eudyptula challenge status
To: Dan <[email protected]>
Cc: kernelnewbies <[email protected]> Message-ID:<
CAEf4M_B6W3GJ8P_ShhpoL8QqtGEZ7h18p92BxuH0foQOQYj2Wgat mail.gmail.com>
Content-Type: text/plain; charset=UTF-8Yup, I submitted my current task 4 weeks ago, sent a note last week, and got reply the next day (Nov 1) with same sentiment: relax - everything is ok, it's a slow process, and it's not a race.
Quoted 10 lines · Dan
Quoted 8 lines · Ramon Fried <ramon.fried <at> tandemg.com> writes:
Hey all.
Tasks are pending for a long time. Anyone has Info regarding the queue? Thanks.
RamonQuoted 8 lines
Quoted 5 lines
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies <at> kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesI've been on challenge 5 for about a month and a half. I sent him a
follow
Quoted 1 line
up email a few weeks ago and he replied "Relax, things are slow, there's
no
Quoted 10 lines
rush..."
His response times before that were usually less than 2 days.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies------------------------------
Message: 2
Date: Fri, 7 Nov 2014 23:11:26 +0530
From: Puneet Agarwal <[email protected]>
Subject: RE: lots of connections inSYN_RECVstate
To: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>
Cc: "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"I use linux kernel 2.6. I have enabled SYN cookies already. But that does not seem to solve the problem. Overall request latency is very high with these many half open connections.
Thanks and Regards
Puneet
----------------------------------------Quoted 7 lines
Subject: Re: lots of connections in
SYN_RECVstate
From: dave.jing.tian at gmail.com
Date: Fri, 7 Nov 2014 23:49:35 +0800
CC: puneet.agr at outlook.com; kernelnewbies at kernelnewbies.org
To: me at sillymon.chLatest kernel provides a TCP SYN Cookie feature to defense from SYN
flooding.
Quoted 31 lines
-daveti
Quoted 26 lines · Silvan Jegen
2014-11-06 16:15,Puneet Agarwal:
Quoted 2 lines
Is there a way to check the reason, why they do not answer to the SYN-ACK's?
I don't think so. After all, they just don't answer and they won't tell you why (AFAIK there is no way to ask them why either)...
You could try to check for patterns in the incoming IP addresses to see from how many different places these connections are being made. I think that way it should be possible to figure out from which geographic location these problematic connections are coming from as well. What you would do with these findings I am not sure though.
If these connection negatively impact the performance of your servers you should definitely look into to countermeasures mentioned in the RFC here.
http://tools.ietf.org/html/rfc4987
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies------------------------------
Message: 3
Date: Fri, 07 Nov 2014 13:10:05 -0500
From: Valdis.Kletnieks at vt.edu
Subject: Re: lots of connections inSYN_RECVstate
To: Puneet Agarwal <[email protected]>
Cc: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>, "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"Quoted 1 line · Puneet Agarwal
I use linux kernel 2.6. I have enabled SYN cookies already. But that
does not
Quoted 1 line
seem to solve the problem. Overall request latency is very high with
these many
Quoted 1 line
half open connections.
So, out of curiosity, where are all these half open connections coming from? Are they from addresses in your local network? Outside sites that *should* be connecting? Places you've never heard and and probably *shouldn't*
be connecting?(Also, if you have properly implemented syncookies, you shouldn't *have* any
half-open connections. That's the whole point of syncookies....)-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url :
http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141107/85f1f4aa/attachment-0001.bin------------------------------
Message: 4
Date: Sat, 8 Nov 2014 07:48:14 +0800
From: Dave Tian <[email protected]>
Subject: Re: lots of connections inSYN_RECVstate
To: Valdis.Kletnieks at vt.edu
Cc: Puneet Agarwal <[email protected]>, Silvan Jegen
<[email protected]>, kernelnewbies at kernelnewbies.org
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8Oops, my bad. I remember seeing sth on LWN for the 3.x kernel talking about a new feature related with TCP SYN. Thought this pretty old stuff was the one?
-daveti
Quoted 4 lines · Valdis.Kletnieks at vt.edu
Quoted 1 line · Dave Tian
Latest kernel provides a TCP SYN Cookie feature to defense from SYN
flooding.
Quoted 3 lines
If by "latest" you mean "since Andi Kleen submitted a patch for 2.1.44", back in July 1997....
------------------------------
Message: 5
Date: Sat, 8 Nov 2014 07:35:30 +0530
From: Puneet Agarwal <[email protected]>
Subject: RE: lots of connections inSYN_RECVstate
To: "Valdis.Kletnieks at vt.edu" <[email protected]>
Cc: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>, "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"These connections are from outside the network, and the IP's are legitimate ones which should be connecting.
I don't know whether the IP's which I could see are the real ones or spoofed ones.sysctl -a says
net.ipv4.tcp_syncookies = 1cat
/proc/sys/net/ipv4/tcp_syncookiesalso gives 1Isn't this sufficient to enable syncookies?
Thanks and Regards
Puneet
----------------------------------------Quoted 2 lines
To: puneet.agr at outlook.com
CC: dave.jing.tian at gmail.com; me at sillymon.ch;kernelnewbies at kernelnewbies.org
Quoted 7 lines
Subject: Re: lots of connections in
SYN_RECVstate
From: Valdis.Kletnieks at vt.edu
Date: Fri, 7 Nov 2014 13:10:05 -0500Quoted 1 line · Puneet Agarwal
I use linux kernel 2.6. I have enabled SYN cookies already. But that
does not
Quoted 1 line
Quoted 1 line
seem to solve the problem. Overall request latency is very high with
these many
Quoted 5 lines
Quoted 1 line
half open connections.
So, out of curiosity, where are all these half open connections coming from? Are they from addresses in your local network? Outside sites that *should* be connecting? Places you've never heard and and probably
*shouldn't*
Quoted 3 lines
be connecting?
(Also, if you have properly implemented syncookies, you shouldn't *have*
any
Quoted 2 lines
half-open connections. That's the whole point of syncookies....)
------------------------------
Quoted 9 lines
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesEnd of Kernelnewbies Digest, Vol 48, Issue 10
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141110/00e2a4d1/attachment-0001.html
How to get access to mainn kenel code repository through git as I need to add some patches for reviews.Where can i get the bramch to submit my code for review.
Bhagaban
Quoted 291 lines · mohanty bhagaban
Hi ,
How to get access to min kenel git as i need to add some patches for reviews.
Bhagaban
Quoted 279 lines · On Sat, Nov 8, 2014 at 10:30 PM, <[email protected]>…
Send Kernelnewbies mailing list submissions to
kernelnewbies at kernelnewbies.orgTo subscribe or unsubscribe via the World Wide Web, visit
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
kernelnewbies-request at kernelnewbies.orgYou can reach the person managing the list at
kernelnewbies-owner at kernelnewbies.orgWhen replying, please edit your Subject line so it is more specific than "Re: Contents of Kernelnewbies digest..."
Today's Topics:
1. Re: Eudyptula challenge status (Drew Fustini)
2. RE: lots of connections inSYN_RECVstate (Puneet Agarwal)
3. Re: lots of connections inSYN_RECVstate (Valdis.Kletnieks at vt.edu)
4. Re: lots of connections inSYN_RECVstate (Dave Tian)
5. RE: lots of connections inSYN_RECVstate (Puneet Agarwal)----------------------------------------------------------------------
Message: 1
Date: Fri, 7 Nov 2014 11:04:28 -0600
From: Drew Fustini <[email protected]>
Subject: Re: Eudyptula challenge status
To: Dan <[email protected]>
Cc: kernelnewbies <[email protected]> Message-ID:<
CAEf4M_B6W3GJ8P_ShhpoL8QqtGEZ7h18p92BxuH0foQOQYj2Wgat mail.gmail.com>
Content-Type: text/plain; charset=UTF-8Yup, I submitted my current task 4 weeks ago, sent a note last week, and got reply the next day (Nov 1) with same sentiment: relax - everything is ok, it's a slow process, and it's not a race.
Quoted 10 lines · Dan
Quoted 8 lines · Ramon Fried <ramon.fried <at> tandemg.com> writes:
Hey all.
Tasks are pending for a long time. Anyone has Info regarding the queue? Thanks.
RamonQuoted 8 lines
Quoted 5 lines
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies <at> kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesI've been on challenge 5 for about a month and a half. I sent him a
follow
Quoted 1 line
up email a few weeks ago and he replied "Relax, things are slow,
there's no
Quoted 10 lines
rush..."
His response times before that were usually less than 2 days.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies------------------------------
Message: 2
Date: Fri, 7 Nov 2014 23:11:26 +0530
From: Puneet Agarwal <[email protected]>
Subject: RE: lots of connections inSYN_RECVstate
To: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>
Cc: "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"I use linux kernel 2.6. I have enabled SYN cookies already. But that does not seem to solve the problem. Overall request latency is very high with these many half open connections.
Thanks and Regards
Puneet
----------------------------------------Quoted 7 lines
Subject: Re: lots of connections in
SYN_RECVstate
From: dave.jing.tian at gmail.com
Date: Fri, 7 Nov 2014 23:49:35 +0800
CC: puneet.agr at outlook.com; kernelnewbies at kernelnewbies.org
To: me at sillymon.chLatest kernel provides a TCP SYN Cookie feature to defense from SYN
flooding.
Quoted 15 lines
-daveti
Quoted 11 lines · Silvan Jegen
2014-11-06 16:15,Puneet Agarwal:
Quoted 2 lines
Is there a way to check the reason, why they do not answer to the SYN-ACK's?
I don't think so. After all, they just don't answer and they won't tell you why (AFAIK there is no way to ask them why either)...
You could try to check for patterns in the incoming IP addresses to see from how many different places these connections are being made. I
think
Quoted 2 lines
Quoted 2 lines
that way it should be possible to figure out from which geographic location these problematic connections are coming from as well. What
you
Quoted 6 lines
Quoted 6 lines
would do with these findings I am not sure though.
If these connection negatively impact the performance of your servers you should definitely look into to countermeasures mentioned in the RFC here.
Quoted 8 lines
Quoted 7 lines
http://tools.ietf.org/html/rfc4987
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies------------------------------
Message: 3
Date: Fri, 07 Nov 2014 13:10:05 -0500
From: Valdis.Kletnieks at vt.edu
Subject: Re: lots of connections inSYN_RECVstate
To: Puneet Agarwal <[email protected]>
Cc: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>, "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"Quoted 1 line · Puneet Agarwal
I use linux kernel 2.6. I have enabled SYN cookies already. But that
does not
Quoted 1 line
seem to solve the problem. Overall request latency is very high with
these many
Quoted 1 line
half open connections.
So, out of curiosity, where are all these half open connections coming from? Are they from addresses in your local network? Outside sites that *should* be connecting? Places you've never heard and and probably *shouldn't*
be connecting?(Also, if you have properly implemented syncookies, you shouldn't *have* any
half-open connections. That's the whole point of syncookies....)-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url :
http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141107/85f1f4aa/attachment-0001.bin------------------------------
Message: 4
Date: Sat, 8 Nov 2014 07:48:14 +0800
From: Dave Tian <[email protected]>
Subject: Re: lots of connections inSYN_RECVstate
To: Valdis.Kletnieks at vt.edu
Cc: Puneet Agarwal <[email protected]>, Silvan Jegen
<[email protected]>, kernelnewbies at kernelnewbies.org
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8Oops, my bad. I remember seeing sth on LWN for the 3.x kernel talking about a new feature related with TCP SYN. Thought this pretty old stuff was the one?
-daveti
Quoted 4 lines · Valdis.Kletnieks at vt.edu
Quoted 1 line · Dave Tian
Latest kernel provides a TCP SYN Cookie feature to defense from SYN
flooding.
Quoted 3 lines
If by "latest" you mean "since Andi Kleen submitted a patch for 2.1.44", back in July 1997....
------------------------------
Message: 5
Date: Sat, 8 Nov 2014 07:35:30 +0530
From: Puneet Agarwal <[email protected]>
Subject: RE: lots of connections inSYN_RECVstate
To: "Valdis.Kletnieks at vt.edu" <[email protected]>
Cc: Dave Tian <[email protected]>, Silvan Jegen
<[email protected]>, "kernelnewbies at kernelnewbies.org"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"These connections are from outside the network, and the IP's are legitimate ones which should be connecting.
I don't know whether the IP's which I could see are the real ones or spoofed ones.sysctl -a says
net.ipv4.tcp_syncookies = 1cat
/proc/sys/net/ipv4/tcp_syncookiesalso gives 1Isn't this sufficient to enable syncookies?
Thanks and Regards
Puneet
----------------------------------------Quoted 2 lines
To: puneet.agr at outlook.com
CC: dave.jing.tian at gmail.com; me at sillymon.ch;kernelnewbies at kernelnewbies.org
Quoted 7 lines
Subject: Re: lots of connections in
SYN_RECVstate
From: Valdis.Kletnieks at vt.edu
Date: Fri, 7 Nov 2014 13:10:05 -0500Quoted 1 line · Puneet Agarwal
I use linux kernel 2.6. I have enabled SYN cookies already. But that
does not
Quoted 1 line
Quoted 1 line
seem to solve the problem. Overall request latency is very high with
these many
Quoted 5 lines
Quoted 1 line
half open connections.
So, out of curiosity, where are all these half open connections coming from? Are they from addresses in your local network? Outside sites that *should* be connecting? Places you've never heard and and probably
*shouldn't*
Quoted 3 lines
be connecting?
(Also, if you have properly implemented syncookies, you shouldn't
*have* any
Quoted 2 lines
half-open connections. That's the whole point of syncookies....)
------------------------------
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesEnd of Kernelnewbies Digest, Vol 48, Issue 10
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141110/7e2811bc/attachment.html
Quoted 3 lines · mohanty bhagaban
How to get access to mainn kenel code repository through git as I need to add some patches for reviews.Where can i get the bramch to submit my code for review.
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141110/a3cbcaab/attachment-0001.bin