Robin Jarry
898b09c479
layers/ipsec: add nat traversal support
...
--HG--
branch : ipsec
2014-06-12 16:37:46 +02:00
Robin Jarry
e5bc1a2d04
layers: add ipsec in default layers
...
Due to the way layers are loaded in Scapy, the __all__ special variable must
not be defined.
--HG--
branch : ipsec
2014-06-10 16:45:53 +02:00
Robin Jarry
5a266059bd
ipsec: fix esp payload padding length
...
According to the RFC4303, the length of an ESP payload must be a
multiple of 4 bytes so that the signature starts on the beginning
of a 32 bits word.
--HG--
branch : ipsec
2014-05-23 09:57:46 +02:00
Robin Jarry
f94c674503
layers: full implementation of ipsec (esp & ah)
...
This patch adds a full implementation of the IPSec layer in
scapy/layers/ipsec.py. See the module's doc string for instructions.
In order to support encryption/decryption and authentication, the
pycrypto library is required. If not found, only the NULL/NULL
algorithms will be available.
(almost) complete test suite can be found in test/ipsec.uts and can
be launched with:
./bin/UTscapy -m scapy/layers/ipsec.py -t test/ipsec.uts -f text -F
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
--HG--
branch : ipsec
2014-03-28 12:03:01 +01:00
Pierre Lalet
13b1b1c996
Merged in gvaladon/scapy-issues/Issue #638 (pull request #40 )
...
Mobile IPv6 RRP messages definitions were wrong
2014-02-17 15:24:48 +01:00
Guillaume Valadon
f221c7f77a
Reserved is 16 bits (not bytes)
...
--HG--
branch : Issue #638
2014-02-17 14:26:35 +01:00
Pierre Lalet
419408f03b
Thanks Guillaume!
...
Merged in gvaladon/scapy-issues/Issue #5083 (pull request #41 )
IP can now be encapsulated in IPv6
2014-02-17 13:35:49 +01:00
Guillaume Valadon
17b4ef20fe
IP can now be encapsulated in IPv6
...
--HG--
branch : Issue #5083
2014-02-16 16:04:09 +01:00
Guillaume Valadon
5e33c10cf4
A 16 bytes reserved field was missing
...
--HG--
branch : Issue #638
2014-02-16 15:55:15 +01:00
Pierre Lalet
421c0420ef
Merged in gvaladon/scapy-fork/Issue #5061 (pull request #20 )
...
Issue #5061 fixed
2014-01-31 14:48:42 +01:00
Guillaume Valadon
745361fa61
Fixing indentation
...
--HG--
branch : Issue #5061
2014-01-31 14:41:28 +01:00
Pierre Lalet
414ac191ae
Merging (my) pull request #30 (from p-l/scapy/issue5081), because that's a tiny patch that's hardly going to add new troubles, plus @chrisjameskirkham (who initialy reported #5081 ) validated this fixes the issue.
...
Changed registration order for CookedLinux layer 2 type (fixes #5081 )
2014-01-20 22:30:19 +01:00
Pierre LALET
726b257932
Changed registration order for CookedLinux layer 2 type.
...
Linktype 113 (the "real" CookedLinux) is used by default.
Fixes issue #5081 .
--HG--
branch : issue5081
2014-01-17 11:20:50 +01:00
Guillaume Valadon
3f7d391f1a
Merged in gvaladon/scapy-fork/DNSSEC (pull request #16 )
...
DNSSEC support
2014-01-02 14:07:37 +01:00
Mattias Lundberg
eddab2adc0
Add missing import.
2013-12-04 14:55:00 +01:00
Pierre LALET
71b2b0b097
Merged in p-l/scapy/space fix (pull request #17 )
...
Fix a non-ASCII character.
Since Guillaume Valadon made the exact same pull request, I'm assuming it's OK to merge.
2013-12-02 23:29:54 +01:00
Pierre LALET
44522f399d
Read and tested: OK for me + small fix => merge.
...
Merged in gvaladon/scapy-fork/Issue #5068 - NEW (pull request #21 )
Issue #5068 fixed
2013-10-28 16:29:36 +01:00
Guillaume Valadon
8261ef0121
Fixing Issue #5068
...
--HG--
branch : Issue #5068 - NEW
2013-10-28 15:53:20 +01:00
Guillaume Valadon
d8a75b744a
Catch IOError exception
...
--HG--
branch : Issue #5061
2013-10-28 11:37:16 +01:00
Pierre LALET
d5f51f6843
Fix a non-ASCII character.
...
A wrong char prevents inet6 from being loaded (and thus, a lot of modules):
WARNING: can't import layer inet: Non-ASCII character '\xc2' in file scapy/layers/inet6.py on line 341, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details (inet6.py, line 341)
...
--HG--
branch : space fix
2013-10-18 18:06:33 +02:00
Guillaume Valadon
2fb8177689
Comments removed
...
--HG--
branch : DNSSEC
2013-09-10 16:36:18 +02:00
Guillaume Valadon
5a61e5c078
First import of DNSSEC code
...
--HG--
branch : DNSSEC
2013-09-10 15:37:27 +02:00
pbi
e697a8ab40
Merged in p-l/scapy (pull request #11 )
...
Documentation update (fixes issue #5058 )
2013-09-04 12:48:59 +02:00
Pierre LALET
eb6323fd7a
Documentation update (comment from pbi in issue #5058 )
2013-09-03 19:55:36 +02:00
pbi
d790240e94
Merged in gvaladon/scapy-fork/Issue #600 (pull request #13 )
...
Issue #600 : Fragmenting long IPv6 packet produces deprecation warnings
2013-09-03 15:48:38 +02:00
pbi
8dbfbd2eb4
Merged in gvaladon/scapy-fork/Issue #634 (pull request #12 )
...
Issue #634 : sendpfast fail on command line when called from python
2013-09-03 15:47:28 +02:00
pbi
94a253af14
Merged in gvaladon/scapy-fork/Issue #91 (pull request #9 )
...
Issue #91 : Tabs in source
2013-09-03 13:52:29 +02:00
pbi
40cf0f7049
Merged in gvaladon/scapy-fork/Issue #820 (pull request #8 )
...
Issue #820 : _IPv6GuessPayload.default_payload_class() now checks the lenght of data
2013-09-03 13:51:45 +02:00
Guillaume Valadon
125524ef6e
missing import
...
--HG--
branch : Issue #634
2013-08-27 09:33:00 +02:00
Guillaume Valadon
95776ce795
Warning printed if the IPv6 payload is longer thant 65535 bytes.
...
--HG--
branch : Issue #600
2013-08-26 10:38:00 +02:00
Pierre LALET
1453c85bc9
Documentation update ( fixes #5058 )
2013-08-21 21:56:48 +02:00
Guillaume Valadon
348d11f14f
Issue #600 should not be fixed
...
--HG--
branch : Issue #600
extra : close : 1
2013-08-07 11:01:38 +02:00
Guillaume Valadon
d5e4a89768
Issue #600 : Fragmenting long IPv6 packet produces deprecation warnings
...
--HG--
branch : Issue #600
2013-08-07 10:13:46 +02:00
Guillaume Valadon
d2f8660da0
Merged secdev/scapy into default
2013-08-07 09:54:40 +02:00
Guillaume Valadon
0a3d71fdd8
Issue #91 : Tabs in source
...
--HG--
branch : Issue #91
2013-08-07 09:52:53 +02:00
pbi
d628e3b8fa
Merged in gvaladon/scapy-fork (pull request #6 )
...
Issues #884 & #915 : IPv6 NA is not a NS & Error in class ICMPv6ND_NS(_ICMPv6NDGuessPayload, _ICMPv6, Packet):
2013-08-03 12:28:48 +02:00
nico@chdir.org
c79a2ff897
Implements PEP-0343
2013-08-02 19:29:41 +02:00
Guillaume Valadon
b48efefaba
Issue #820 : _IPv6GuessPayload.default_payload_class() now hecks the lenght of data
...
--HG--
branch : Issue #820
2013-08-02 13:39:47 +02:00
Guillaume Valadon
b77e3cb781
Errors preventing ICMPv6 packets to be built
2013-08-02 13:33:05 +02:00
Guillaume Valadon
ed457e5f9e
RandIP6() bug: http://thread.gmane.org/gmane.comp.security.scapy.general/4872
2013-08-02 10:38:38 +02:00
Guillaume Valadon
6695b89afb
Issues #884 & #915 : IPv6 NA is not a NS & Error in class ICMPv6ND_NS(_ICMPv6NDGuessPayload, _ICMPv6, Packet):
2013-08-01 17:51:25 +02:00
Guillaume Valadon
9d4a1202b7
Issue #892 : in6_isanycast inconsistent
2013-07-24 18:55:37 +02:00
Guillaume Valadon
67db066a99
Issue #588 : RandIP6() returns an invalid IPv6 address when zeros are present in template
2013-07-24 16:53:10 +02:00
Guillaume Valadon
02ebc34fda
Issue #186 : Scapy backtraces when sending a packet with a route6 entry that has no srcaddr
2013-07-23 14:03:07 +02:00
Guillaume Valadon
429082158f
Use the mac address from the ICMPv6 message.
2013-06-28 17:14:00 +02:00
Phil
ea1e855c62
Force using bash in run tests
2012-12-30 11:22:47 +01:00
Phil
7b3e970663
Use conf.raw_layer to reference special layer "Raw" in place where it was not the case yet
2012-12-30 11:22:27 +01:00
Phil
eec79622b3
Use conf.padding_layer to reference special layer "Padding"
2012-12-29 18:14:01 +01:00
Phil
57e4c7d79e
Fix missing import
2012-08-27 11:56:31 +02:00
Phil
592684e76e
Remove forgotten debug line
2012-08-27 11:56:19 +02:00